Skip to content
Heist/ feed
High

ALSA: pcm: wake linked drain waiters on unlink

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-80716

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-80716

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "c172e4c53321ee6429955295ea133bc3597a3ca9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "3035bb784cea3f338934f5042dd3f35225a51b2e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "1c1b7e8e545ce65e40f65b55c432765e058ea98f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "e8b784a3f4fba3ea9c4d05138ecfa784a069627f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "e8315330e4ec09c0cac625515400e13d0ee22b81",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "2940cc3cf43c72126b74ee6376314c195382023a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "db09bc4ab19ce548a078240d2374792523953500",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f57f3df03a8e6010e321fa0258d3e054713c3cb7",
        "lessThan": "f495b6c4c8594122918552c9be2b51eb71647cd9",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "sound/core/pcm_native.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.265",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.216",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.183",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.151",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.103",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.44",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "sound/core/pcm_native.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-80716

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#34366 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement