ALSA: pcm: wake linked drain waiters on unlink (Linux Linux)

CVE-2026-80716
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f57f3df03a8e6010e321fa0258d3e054713c3cb7 < c172e4c53321ee6429955295ea133bc3597a3ca9 ; affected f57f3df03a8e6010e321fa0258d3e054713c3cb7 < 3035bb784cea3f338934f5042dd3f35225a51b2e ; affected f57f3df03a8e6010e321fa0258d3e054713c3cb7 < 1c1b7e8e545ce65e40f65b55c432765e058ea98f ; affected f57f3df03a8e6010e321fa0258d3e054713c3cb7 < e8b784a3f4fba3ea9c4d05138ecfa784a069627f ; affected f57f3df03a8e6010e321fa0258d3e054713c3cb7 < e8315330e4ec09c0cac625515400e13d0ee22b81 ; affected f57f3df03a8e6010e321fa0258d3e054713c3cb7 < 2940cc3cf43c72126b74ee6376314c195382023a
Linux · Linuxaffected 5.1 ; unaffected 0 < 5.1 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD