{"id":"CVE-2026-143369","summary":"ALSA: hda/core: Fix double free on stream page allocation failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda/core: Fix double free on stream page allocation failure\n\nSince commit f16eaa38ea64 (\"ALSA: hda/core: add cleanup in\nsnd_hdac_bus_alloc_stream_pages()\"), snd_hdac_bus_alloc_stream_pages()\nfrees the BDL and position buffers it has already allocated when a\nlater allocation fails.  snd_dma_free_pages() doesn't clear dmab-\u003earea,\nso the freed buffers still look allocated to\nsnd_hdac_bus_free_stream_pages(), which the HDA controller drivers call\nfrom their destructors, and they are freed a second time when the\ndevice is removed.\n\nWith fault injection failing the CORB/RIRB buffer allocation of\nsnd-hda-intel on a QEMU ich9-intel-hda, unbinding the device then\ncrashes:\n\n  page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)\n  kernel BUG at include/linux/mm.h:1986!\n  Call Trace:\n   ___free_pages+0x9b/0xa0\n   free_pages_exact+0xa5/0xd0\n   snd_hdac_bus_free_stream_pages+0x43/0xb0 [snd_hda_core]\n   azx_free+0xb3/0x1b0 [snd_hda_intel]\n   azx_dev_free+0xd/0x20 [snd_hda_intel]\n\nClear the buffer pointers after freeing them in the error path.","modified":"2026-12-03T11:02:09.060247434Z","published":"2026-12-03T09:22:20.045Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143369.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1886b8132cd37edbc28b55f30a885011aa0bbe8a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad35828e66b7bc6b3621056691333799d8a38ba4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143369.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143369"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f16eaa38ea640884f66d24865c770c3f6c43bd42"},{"fixed":"ad35828e66b7bc6b3621056691333799d8a38ba4"},{"fixed":"1886b8132cd37edbc28b55f30a885011aa0bbe8a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143369.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143369.json"}}],"schema_version":"1.9.2"}