PT-2026-86729 · Azure Linux · Kernel
Published
2026-08-28
·
Updated
2026-08-28
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcm: wake linked drain waiters on unlink
snd pcm drain() on a linked stream parks an on-stack wait entry on the
drained peer's runtime->sleep, and after schedule timeout() removes it
only if that peer is still found in the caller's group. If group
membership changes during the wait and the sleep ends by signal or
timeout (so autoremove wake function() does not run), finish wait() is
skipped and snd pcm drain() returns with the entry still queued on that
stream's sleep list; a later wake up() then walks a freed stack frame.
This is reachable by unlinking either the drained or the draining stream.
Unlike the close path (snd pcm drop() -> snd pcm post stop()),
snd pcm unlink() never wakes the sleep queues. Wake every group member
under the group lock before the membership change, so a linked drainer is
released and drops its entry while the streams are still grouped.
The window was opened when snd pcm link rwsem stopped being held across
the wait and the removal became conditional on group membership (see
Fixes). The later switch to finish wait() kept that conditional removal,
so the signal/timeout case remained.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Kernel