CVE-2026-138981
ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls
Check your servers for CVE-2026-138981
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138981 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls
rt712_sdca_dmic_set_gain_get() and rt712_sdca_dmic_set_gain_put() take the component drvdata as struct rt712_sdca_priv, but this driver stores a struct rt712_sdca_dmic_priv.
regmap and mbq_regmap are at the same offsets in both structs, so the register accesses work. slave is not: rt712_sdca_priv has dmic_component in front of it, so its slave overlays rt712_sdca_dmic_priv's params, which this driver never writes. When regmap_write() fails in the put handler, dev_err() is called with &NULL->dev (RSI below):
rt712-sdca-dmic sdw:0:3:025d:1713:01: Defer on undeferrable control: 40800f13 BUG: kernel NULL pointer dereference, address: 0000000000000058 RIP: 0010:__dev_printk+0x10/0x70 RDX: ffffcdac45f83cd0 RSI: 0000000000000008 RDI: ffffffffa09cb5cb Call Trace: _dev_err+0x7f/0x99 rt712_sdca_dmic_set_gain_put.cold+0x20/0x25 [snd_soc_rt712_sdca_dmic] snd_ctl_elem_write+0x19a/0x1f0 [snd] snd_ctl_ioctl+0x658/0x8a0 [snd]
Seen on a Dell Precision 5690 running 7.2.5-200.fc44, with alsactl writing the control during boot. Compile-tested only.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 63a511284c9ea72696a5dd0a2d2721bdef19f774, before ccc4554bcc3fbd5c9ee67dcd2adced6271907140 affected from 63a511284c9ea72696a5dd0a2d2721bdef19f774, before f97556197b7280e19d336dbff6b9d47b7e9eb99b affected from 63a511284c9ea72696a5dd0a2d2721bdef19f774, before e043acd7535f59ff58fe02caeba30930796478d3 affected from 63a511284c9ea72696a5dd0a2d2721bdef19f774, before 7aa3c1063c917b70214ea8d0e5aafb115fe2d4a1 affected from 63a511284c9ea72696a5dd0a2d2721bdef19f774, before 0bc42544a4a06e8d76eb412d2b1414db910a311d
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138981 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138981
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138981
trivy image --scanners vuln IMAGE | grep CVE-2026-138981
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ccc4554bcc3fbd5c9ee67dcd2adced6271907140 git.kernel.org
- https://git.kernel.org/stable/c/f97556197b7280e19d336dbff6b9d47b7e9eb99b git.kernel.org
- https://git.kernel.org/stable/c/e043acd7535f59ff58fe02caeba30930796478d3 git.kernel.org
- https://git.kernel.org/stable/c/7aa3c1063c917b70214ea8d0e5aafb115fe2d4a1 git.kernel.org
- https://git.kernel.org/stable/c/0bc42544a4a06e8d76eb412d2b1414db910a311d git.kernel.org
Source: the record CVE-2026-138981 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse