CVE-2026-139476
ALSA: hda: Don't free card at probe error in vga_switcheroo handler
Check your servers for CVE-2026-139476
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-139476 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:
ALSA: hda: Don't free card at probe error in vga_switcheroo handler
The vga_switcheroo handler azx_vs_set_state() calls azx_probe_contine() for enabling the audio, and if an error happens during the probe, azx_probe_continue() releases its associated sound card object at the error path. The card release procedure includes the call of vga_switcheroo_unregister_client(), and this triggers the vgasr_mutex lock again that had been already held by the caller (vga_switcheroo_process_delayed_switch()) -- leading to a deadlock.
(Moreover, the card release will cause a potential UAF at the error message in azx_vs_set_state() since the card object is already gone; this was the original report by Sashiko.)
For avoiding the unneeded crash, it's better to avoid the card release in this error path, so we make azx_probe_continue() behaving conditionally. In return, set hda->init_failed flag, so that any further (re-)attempts will be filtered after that point.
The check of hda->init_failed is dropped from azx_vs_can_switch(). It's because otherwise vga_switcheroo can't be switched to turn off GPU once when a probe error happens at the audio side.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 39173303c83859723dab32c2abfb97296d6af3bf, before 78ad572331d84e9cba816e1feda1b177bc3cbfa4 affected from 39173303c83859723dab32c2abfb97296d6af3bf, before 4acca8f8fb5bd836081c1dcc710daaaf3caab0f5 affected from 39173303c83859723dab32c2abfb97296d6af3bf, before 9634a8b99b2651b9708f3137820d1c7beb3edba1 affected from 39173303c83859723dab32c2abfb97296d6af3bf, before 7e1ad3c55baa80399f1727dfd2303fa4d1558d9a affected ecd536c57ab71ed1b06ebbc6231101545127cc0b affected b6cb248aaa9acc6ac603331b05289bc04ef1530f affected b875f9be6275a53c4532a3a649953cebb2722118 affected from 5.10.80, before 5.11 affected from 5.14.19, before 5.15 affected from 5.15.3, before 5.16
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 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-139476 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139476
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-139476
trivy image --scanners vuln IMAGE | grep CVE-2026-139476
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/78ad572331d84e9cba816e1feda1b177bc3cbfa4 git.kernel.org
- https://git.kernel.org/stable/c/4acca8f8fb5bd836081c1dcc710daaaf3caab0f5 git.kernel.org
- https://git.kernel.org/stable/c/9634a8b99b2651b9708f3137820d1c7beb3edba1 git.kernel.org
- https://git.kernel.org/stable/c/7e1ad3c55baa80399f1727dfd2303fa4d1558d9a git.kernel.org
Source: the record CVE-2026-139476 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