{"id":"AZL-117169","summary":"CVE-2026-139476 affecting package kernel 6.6.161.1-1","details":"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-\u003einit_failed flag, so that any\nfurther (re-)attempts will be filtered after that point.\n\nThe check of hda-\u003einit_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.","modified":"2026-12-01T14:17:41.563827022Z","published":"2026-11-30T14:19:20Z","upstream":["CVE-2026-139476"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139476"}],"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-117169.json"}}],"schema_version":"1.9.2"}