{"id":"AZL-116821","summary":"CVE-2026-138981 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: rt712-sdca-dmic: fix drvdata type in the gain controls\n\nrt712_sdca_dmic_set_gain_get() and rt712_sdca_dmic_set_gain_put() take\nthe component drvdata as struct rt712_sdca_priv, but this driver stores\na struct rt712_sdca_dmic_priv.\n\nregmap and mbq_regmap are at the same offsets in both structs, so the\nregister accesses work. slave is not: rt712_sdca_priv has dmic_component\nin front of it, so its slave overlays rt712_sdca_dmic_priv's params,\nwhich this driver never writes. When regmap_write() fails in the put\nhandler, dev_err() is called with &NULL-\u003edev (RSI below):\n\n  rt712-sdca-dmic sdw:0:3:025d:1713:01: Defer on undeferrable control: 40800f13\n  BUG: kernel NULL pointer dereference, address: 0000000000000058\n  RIP: 0010:__dev_printk+0x10/0x70\n  RDX: ffffcdac45f83cd0 RSI: 0000000000000008 RDI: ffffffffa09cb5cb\n  Call Trace:\n   _dev_err+0x7f/0x99\n   rt712_sdca_dmic_set_gain_put.cold+0x20/0x25 [snd_soc_rt712_sdca_dmic]\n   snd_ctl_elem_write+0x19a/0x1f0 [snd]\n   snd_ctl_ioctl+0x658/0x8a0 [snd]\n\nSeen on a Dell Precision 5690 running 7.2.5-200.fc44, with alsactl\nwriting the control during boot. Compile-tested only.","modified":"2026-12-01T14:17:40.871444533Z","published":"2026-11-30T14:18:00Z","upstream":["CVE-2026-138981"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138981"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-116821.json"}}],"schema_version":"1.9.2"}