{"id":"AZL-114689","summary":"CVE-2026-99347 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: x86: hdmi: fix chmap array missing terminator entry\n\nhad_build_channel_allocation_map() allocates a single struct\nsnd_pcm_chmap_elem via kzalloc() and stores it as\nintelhaddata-\u003echmap-\u003echmap. struct snd_pcm_chmap.chmap is expected to\nbe a zero-terminated array (see snd_pcm_std_chmaps[]), but\nhad_register_chmap_ctls() never overrides the TLV callback installed\nby snd_pcm_add_chmap_ctls(), so the generic pcm_chmap_ctl_tlv() from\nALSA core is left in place.\n\npcm_chmap_ctl_tlv() is reachable by any local user via\nSNDRV_CTL_IOCTL_TLV_READ on the \"Playback Channel Map\" control and\nwalks the array with \"for (map = info-\u003echmap; map-\u003echannels; map++)\".\nSince the driver's single element is never terminated, this walks\npast the allocation. The same pointer is also freed on hot-unplug and\nrebuilt on hot-plug under intelhaddata-\u003emutex, while the TLV callback\nruns under card-\u003econtrols_rwsem without that mutex, so the walk can\nalso race a concurrent free of the array.\n\nFix this by allocating a second, zeroed element so the array is\nproperly terminated, and by dropping the inherited TLV callback\nentirely at registration time, since the driver never implements one\nof its own.","modified":"2026-11-20T14:17:18.912673113Z","published":"2026-11-19T15:17:45Z","upstream":["CVE-2026-99347"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99347"}],"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-114689.json"}}],"schema_version":"1.9.2"}