{"id":"CVE-2026-80716","state":"PUBLISHED","title":"ALSA: pcm: wake linked drain waiters on unlink","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: wake linked drain waiters on unlink\n\nsnd_pcm_drain() on a linked stream parks an on-stack wait entry on the\ndrained peer's runtime->sleep, and after schedule_timeout() removes it\nonly if that peer is still found in the caller's group.  If group\nmembership changes during the wait and the sleep ends by signal or\ntimeout (so autoremove_wake_function() does not run), finish_wait() is\nskipped and snd_pcm_drain() returns with the entry still queued on that\nstream's sleep list; a later wake_up() then walks a freed stack frame.\nThis is reachable by unlinking either the drained or the draining stream.\n\nUnlike the close path (snd_pcm_drop() -> snd_pcm_post_stop()),\nsnd_pcm_unlink() never wakes the sleep queues.  Wake every group member\nunder the group lock before the membership change, so a linked drainer is\nreleased and drops its entry while the streams are still grouped.\n\nThe window was opened when snd_pcm_link_rwsem stopped being held across\nthe wait and the removal became conditional on group membership (see\nFixes). The later switch to finish_wait() kept that conditional removal,\nso the signal/timeout case remained.","publishedAt":"2026-08-28T06:53:14.286Z","updatedAt":"2026-10-16T19:26:34.951Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"c172e4c53321ee6429955295ea133bc3597a3ca9","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"3035bb784cea3f338934f5042dd3f35225a51b2e","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"1c1b7e8e545ce65e40f65b55c432765e058ea98f","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"e8b784a3f4fba3ea9c4d05138ecfa784a069627f","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"e8315330e4ec09c0cac625515400e13d0ee22b81","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"2940cc3cf43c72126b74ee6376314c195382023a","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"db09bc4ab19ce548a078240d2374792523953500","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"f495b6c4c8594122918552c9be2b51eb71647cd9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_native.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_native.c"]}],"references":["https://git.kernel.org/stable/c/c172e4c53321ee6429955295ea133bc3597a3ca9","https://git.kernel.org/stable/c/3035bb784cea3f338934f5042dd3f35225a51b2e","https://git.kernel.org/stable/c/1c1b7e8e545ce65e40f65b55c432765e058ea98f","https://git.kernel.org/stable/c/e8b784a3f4fba3ea9c4d05138ecfa784a069627f","https://git.kernel.org/stable/c/e8315330e4ec09c0cac625515400e13d0ee22b81","https://git.kernel.org/stable/c/2940cc3cf43c72126b74ee6376314c195382023a","https://git.kernel.org/stable/c/db09bc4ab19ce548a078240d2374792523953500","https://git.kernel.org/stable/c/f495b6c4c8594122918552c9be2b51eb71647cd9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80716.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80716","state":"PUBLISHED","datePublished":"2026-08-28T06:53:14.286Z","dateUpdated":"2026-10-16T19:26:34.951Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.788Z"},"containers":{"cna":{"title":"ALSA: pcm: wake linked drain waiters on unlink","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: wake linked drain waiters on unlink\n\nsnd_pcm_drain() on a linked stream parks an on-stack wait entry on the\ndrained peer's runtime->sleep, and after schedule_timeout() removes it\nonly if that peer is still found in the caller's group.  If group\nmembership changes during the wait and the sleep ends by signal or\ntimeout (so autoremove_wake_function() does not run), finish_wait() is\nskipped and snd_pcm_drain() returns with the entry still queued on that\nstream's sleep list; a later wake_up() then walks a freed stack frame.\nThis is reachable by unlinking either the drained or the draining stream.\n\nUnlike the close path (snd_pcm_drop() -> snd_pcm_post_stop()),\nsnd_pcm_unlink() never wakes the sleep queues.  Wake every group member\nunder the group lock before the membership change, so a linked drainer is\nreleased and drops its entry while the streams are still grouped.\n\nThe window was opened when snd_pcm_link_rwsem stopped being held across\nthe wait and the removal became conditional on group membership (see\nFixes). The later switch to finish_wait() kept that conditional removal,\nso the signal/timeout case remained."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"c172e4c53321ee6429955295ea133bc3597a3ca9","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"3035bb784cea3f338934f5042dd3f35225a51b2e","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"1c1b7e8e545ce65e40f65b55c432765e058ea98f","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"e8b784a3f4fba3ea9c4d05138ecfa784a069627f","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"e8315330e4ec09c0cac625515400e13d0ee22b81","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"2940cc3cf43c72126b74ee6376314c195382023a","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"db09bc4ab19ce548a078240d2374792523953500","versionType":"git"},{"version":"f57f3df03a8e6010e321fa0258d3e054713c3cb7","status":"affected","lessThan":"f495b6c4c8594122918552c9be2b51eb71647cd9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_native.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_native.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c172e4c53321ee6429955295ea133bc3597a3ca9"},{"url":"https://git.kernel.org/stable/c/3035bb784cea3f338934f5042dd3f35225a51b2e"},{"url":"https://git.kernel.org/stable/c/1c1b7e8e545ce65e40f65b55c432765e058ea98f"},{"url":"https://git.kernel.org/stable/c/e8b784a3f4fba3ea9c4d05138ecfa784a069627f"},{"url":"https://git.kernel.org/stable/c/e8315330e4ec09c0cac625515400e13d0ee22b81"},{"url":"https://git.kernel.org/stable/c/2940cc3cf43c72126b74ee6376314c195382023a"},{"url":"https://git.kernel.org/stable/c/db09bc4ab19ce548a078240d2374792523953500"},{"url":"https://git.kernel.org/stable/c/f495b6c4c8594122918552c9be2b51eb71647cd9"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is triggered only via local ALSA PCM character devices (/dev/snd/pcmC*D*) through open/ioctl syscalls (SNDRV_PCM_IOCTL_LINK, UNLINK, DRAIN); snd_pcm_kernel_ioctl does not expose LINK/UNLINK, and there is no network-facing path to this code.\nAC:L - This is a race, but the attacker controls both sides by opening two PCM fds, linking them, blocking one thread in DRAIN, and concurrently UNLINKing or closing the peer; sending a signal or waiting for timeout forces the path where finish_wait() is skipped.\nPR:L - Exploitation requires only a local process able to open and ioctl ALSA PCM nodes (typical desktop/mobile users via the audio group, session ACLs, or equivalent device permissions); no real root, CAP_SYS_ADMIN, or init-namespace privileges are needed.\nUI:N - The attacker drives the entire sequence programmatically with their own PCM file descriptors and threads; no victim interaction such as opening a file, mounting a filesystem, or plugging in hardware is required.\nS:U - Impact is confined to kernel memory corruption and privilege escalation within the same security authority; this is not a VM escape, IOMMU/DMA boundary bypass, or other cross-scope violation.\nC:H - The orphaned wait_queue_entry_t remains on the sleep list after snd_pcm_drain() returns, and a later wake_up() dereferences a freed on-stack wait entry (use-after-free), which can expose kernel stack/memory contents under attacker-controlled timing.\nI:H - Corrupting the wait-queue list with a stale stack-backed entry gives kernel memory corruption primitives; wake_up() invokes the entry's function pointer from freed stack memory, enabling plausible control-flow hijack and arbitrary write via further heap/stack grooming.\nA:H - A subsequent wake_up() on the poisoned sleep queue walks a freed stack frame and can oops or panic the kernel; even without full exploitation, the UAF reliably threatens system availability on multimedia desktops, kiosks, and embedded devices with ALSA access."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-29T06:22:32.041Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.6.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.12.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"7.1.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-80716","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T19:20:45.758887Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:26:34.951Z"}}]}}}