{"api_version":"1","generated_at":"2026-11-30T18:22:10+00:00","cve":"CVE-2026-139476","urls":{"html":"https://cve.report/CVE-2026-139476","api":"https://cve.report/api/cve/CVE-2026-139476.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139476","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139476"},"summary":{"title":"ALSA: hda: Don't free card at probe error in vga_switcheroo handler","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Don't free card at probe error in vga_switcheroo handler\n\nThe vga_switcheroo handler azx_vs_set_state() calls\nazx_probe_contine() for enabling the audio, and if an error happens\nduring the probe, azx_probe_continue() releases its associated sound\ncard object at the error path.  The card release procedure includes\nthe call of vga_switcheroo_unregister_client(), and this triggers the\nvgasr_mutex lock again that had been already held by the caller\n(vga_switcheroo_process_delayed_switch()) -- leading to a deadlock.\n\n(Moreover, the card release will cause a potential UAF at the error\nmessage in azx_vs_set_state() since the card object is already gone;\nthis was the original report by Sashiko.)\n\nFor avoiding the unneeded crash, it's better to avoid the card release\nin this error path, so we make azx_probe_continue() behaving\nconditionally.  In return, set hda->init_failed flag, so that any\nfurther (re-)attempts will be filtered after that point.\n\nThe check of hda->init_failed is dropped from azx_vs_can_switch().\nIt's because otherwise vga_switcheroo can't be switched to turn off\nGPU once when a probe error happens at the audio side.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:20","updated_at":"2026-11-30 14:19:20"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9634a8b99b2651b9708f3137820d1c7beb3edba1","name":"https://git.kernel.org/stable/c/9634a8b99b2651b9708f3137820d1c7beb3edba1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7e1ad3c55baa80399f1727dfd2303fa4d1558d9a","name":"https://git.kernel.org/stable/c/7e1ad3c55baa80399f1727dfd2303fa4d1558d9a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/78ad572331d84e9cba816e1feda1b177bc3cbfa4","name":"https://git.kernel.org/stable/c/78ad572331d84e9cba816e1feda1b177bc3cbfa4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4acca8f8fb5bd836081c1dcc710daaaf3caab0f5","name":"https://git.kernel.org/stable/c/4acca8f8fb5bd836081c1dcc710daaaf3caab0f5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139476","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139476","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 39173303c83859723dab32c2abfb97296d6af3bf 78ad572331d84e9cba816e1feda1b177bc3cbfa4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 39173303c83859723dab32c2abfb97296d6af3bf 4acca8f8fb5bd836081c1dcc710daaaf3caab0f5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 39173303c83859723dab32c2abfb97296d6af3bf 9634a8b99b2651b9708f3137820d1c7beb3edba1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 39173303c83859723dab32c2abfb97296d6af3bf 7e1ad3c55baa80399f1727dfd2303fa4d1558d9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ecd536c57ab71ed1b06ebbc6231101545127cc0b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b6cb248aaa9acc6ac603331b05289bc04ef1530f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b875f9be6275a53c4532a3a649953cebb2722118 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.80 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14.19 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.3 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/hda/controllers/intel.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"78ad572331d84e9cba816e1feda1b177bc3cbfa4","status":"affected","version":"39173303c83859723dab32c2abfb97296d6af3bf","versionType":"git"},{"lessThan":"4acca8f8fb5bd836081c1dcc710daaaf3caab0f5","status":"affected","version":"39173303c83859723dab32c2abfb97296d6af3bf","versionType":"git"},{"lessThan":"9634a8b99b2651b9708f3137820d1c7beb3edba1","status":"affected","version":"39173303c83859723dab32c2abfb97296d6af3bf","versionType":"git"},{"lessThan":"7e1ad3c55baa80399f1727dfd2303fa4d1558d9a","status":"affected","version":"39173303c83859723dab32c2abfb97296d6af3bf","versionType":"git"},{"status":"affected","version":"ecd536c57ab71ed1b06ebbc6231101545127cc0b","versionType":"git"},{"status":"affected","version":"b6cb248aaa9acc6ac603331b05289bc04ef1530f","versionType":"git"},{"status":"affected","version":"b875f9be6275a53c4532a3a649953cebb2722118","versionType":"git"},{"lessThan":"5.11","status":"affected","version":"5.10.80","versionType":"semver"},{"lessThan":"5.15","status":"affected","version":"5.14.19","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.3","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/hda/controllers/intel.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.16"},{"lessThan":"5.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.80","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Don't free card at probe error in vga_switcheroo handler\n\nThe vga_switcheroo handler azx_vs_set_state() calls\nazx_probe_contine() for enabling the audio, and if an error happens\nduring the probe, azx_probe_continue() releases its associated sound\ncard object at the error path.  The card release procedure includes\nthe call of vga_switcheroo_unregister_client(), and this triggers the\nvgasr_mutex lock again that had been already held by the caller\n(vga_switcheroo_process_delayed_switch()) -- leading to a deadlock.\n\n(Moreover, the card release will cause a potential UAF at the error\nmessage in azx_vs_set_state() since the card object is already gone;\nthis was the original report by Sashiko.)\n\nFor avoiding the unneeded crash, it's better to avoid the card release\nin this error path, so we make azx_probe_continue() behaving\nconditionally.  In return, set hda->init_failed flag, so that any\nfurther (re-)attempts will be filtered after that point.\n\nThe check of hda->init_failed is dropped from azx_vs_can_switch().\nIt's because otherwise vga_switcheroo can't be switched to turn off\nGPU once when a probe error happens at the audio side."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:35:06.311Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/78ad572331d84e9cba816e1feda1b177bc3cbfa4"},{"url":"https://git.kernel.org/stable/c/4acca8f8fb5bd836081c1dcc710daaaf3caab0f5"},{"url":"https://git.kernel.org/stable/c/9634a8b99b2651b9708f3137820d1c7beb3edba1"},{"url":"https://git.kernel.org/stable/c/7e1ad3c55baa80399f1727dfd2303fa4d1558d9a"}],"title":"ALSA: hda: Don't free card at probe error in vga_switcheroo handler","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139476","datePublished":"2026-11-30T13:35:06.311Z","dateReserved":"2026-11-30T13:22:15.936Z","dateUpdated":"2026-11-30T13:35:06.311Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:20","lastModifiedDate":"2026-11-30 14:19:20","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139476","Ordinal":"1","Title":"ALSA: hda: Don't free card at probe error in vga_switcheroo hand","CVE":"CVE-2026-139476","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139476","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Don't free card at probe error in vga_switcheroo handler\n\nThe vga_switcheroo handler azx_vs_set_state() calls\nazx_probe_contine() for enabling the audio, and if an error happens\nduring the probe, azx_probe_continue() releases its associated sound\ncard object at the error path.  The card release procedure includes\nthe call of vga_switcheroo_unregister_client(), and this triggers the\nvgasr_mutex lock again that had been already held by the caller\n(vga_switcheroo_process_delayed_switch()) -- leading to a deadlock.\n\n(Moreover, the card release will cause a potential UAF at the error\nmessage in azx_vs_set_state() since the card object is already gone;\nthis was the original report by Sashiko.)\n\nFor avoiding the unneeded crash, it's better to avoid the card release\nin this error path, so we make azx_probe_continue() behaving\nconditionally.  In return, set hda->init_failed flag, so that any\nfurther (re-)attempts will be filtered after that point.\n\nThe check of hda->init_failed is dropped from azx_vs_can_switch().\nIt's because otherwise vga_switcheroo can't be switched to turn off\nGPU once when a probe error happens at the audio side.","Type":"Description","Title":"ALSA: hda: Don't free card at probe error in vga_switcheroo hand"}]}}}