CVE-2026-139476
publishedALSA: hda: Don't free card at probe error in vga_switcheroo handler
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux39173303c83859723dab32c2abfb97296d6af3bf to < 78ad572331d84e9cba816e1feda1b177bc3cbfa4 · 39173303c83859723dab32c2abfb97296d6af3bf to < 4acca8f8fb5bd836081c1dcc710daaaf3caab0f5 · 39173303c83859723dab32c2abfb97296d6af3bf to < 9634a8b99b2651b9708f3137820d1c7beb3edba1 · 39173303c83859723dab32c2abfb97296d6af3bf to < 7e1ad3c55baa80399f1727dfd2303fa4d1558d9a · ecd536c57ab71ed1b06ebbc6231101545127cc0b · b6cb248aaa9acc6ac603331b05289bc04ef1530f · b875f9be6275a53c4532a3a649953cebb2722118 · 5.10.80 to < 5.11 · 5.14.19 to < 5.15 · 5.15.3 to < 5.16 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 39173303c83859723dab32c2abfb97296d6af3bf to < 78ad572331d84e9cba816e1feda1b177bc3cbfa4 (affected · git)39173303c83859723dab32c2abfb97296d6af3bf to < 4acca8f8fb5bd836081c1dcc710daaaf3caab0f5 (affected · git)39173303c83859723dab32c2abfb97296d6af3bf to < 9634a8b99b2651b9708f3137820d1c7beb3edba1 (affected · git)39173303c83859723dab32c2abfb97296d6af3bf to < 7e1ad3c55baa80399f1727dfd2303fa4d1558d9a (affected · git)ecd536c57ab71ed1b06ebbc6231101545127cc0b (affected · git)b6cb248aaa9acc6ac603331b05289bc04ef1530f (affected · git)b875f9be6275a53c4532a3a649953cebb2722118 (affected · git)5.10.80 to < 5.11 (affected · semver)5.14.19 to < 5.15 (affected · semver)5.15.3 to < 5.16 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ALSA: hda: Don't free card at probe error in vga_switcheroo handler
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e472c98a45a600cb90102f2d98b06a60db0b71f19d9ded80b80edfde6506c834
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record