← CVE Intelligence

CVE-2026-46090

ALSA: aloop: Fix peer runtime UAF during format-change stop PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Fix peer runtime UAF during format-change stop loopback_check_format() may stop the capture side when playback starts with parameters that no longer match a running capture stream. Commit 826af7fa62e3 ("ALSA: aloop: Fix racy access at PCM trigger") moved the peer lookup under cable->lock, but the actual snd_pcm_stop() still runs after dropping that lock. A concurrent close can clear the capture entry from cable->streams[] and detach or free its runtime while the playback trigger path still holds a stale peer substream pointer. Keep a per-cable count of in-flight peer stops before dropping cable->lock, and make free_cable() wait for those stops before detaching the runtime. This preserves the existing behavior while making the peer runtime lifetime explicit.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 597603d615d2b19a9e451d8cfac24372856a522d before 83bd62fa9620ac98d5d694bde14c50f98c8e7189; affected 597603d615d2b19a9e451d8cfac24372856a522d before 345c24b2bcf0923dfae1ab41497351c68214ff76; affected 597603d615d2b19a9e451d8cfac24372856a522d before 3727a3541788412c393eec236ad228d72efe19c7; affected 597603d615d2b19a9e451d8cfac24372856a522d before d258cdce50ff3e02392917258e81a0ce9555c327; affected 597603d615d2b19a9e451d8cfac24372856a522d before 03f52a9c170431e8f10e156b9dc0dae80b3e9198; affected 597603d615d2b19a9e451d8cfac24372856a522d before bdd9503c3d222d2735b56c7a8b4422ccf3de6e5c; affected 597603d615d2b19a9e451d8cfac24372856a522d before 5d45e34bf001344e2966dabca1897561bbc9e913; affected 597603d615d2b19a9e451d8cfac24372856a522d before e5c33cdc6f402eab8abd36ecf436b22c9d3a8aff
Linux / Linuxaffected 2.6.37; unaffected 0 before 2.6.37; unaffected 5.10.259 through 5.10.*; unaffected 5.15.210 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.88 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

redhat-SADP

A flaw was found in the Linux kernel's ALSA (Advanced Linux Sound Architecture) aloop driver. This Use-After-Free (UAF) vulnerability occurs when loopback_check_format() stops the capture side during a format change, while a concurrent close operation detaches or frees the runtime. An attacker could potentially exploit this to cause a system crash or achieve arbitrary code execution.

CISA-ADP

No English description supplied.

No references supplied.