Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to ALSA PCM devices
-
DeliveryLink two PCM substreams into a group
-
ExploitRace drain against concurrent unlink
-
ExecutionTrigger use-after-free on freed runtime
-
ImpactEscalate privileges or crash kernel
Vulnerability Assessment
| Exploitation Conditions | Requires local access to the system with permission to open ALSA PCM devices (typically /dev/snd/pcm*, normally restricted to the 'audio' group or root), consistent with CVSS PR:L and AV:L. The attacker must use the SNDRV_PCM_IOCTL_LINK facility to create a linked substream group and then concurrently drive a drain operation on one substream while another substream unlinks, so the flaw is reachable only when linked PCM streams are in use and the drain-versus-unlink timing race is won - a non-trivial limiting factor. No remote vector and no user interaction are involved. Limiting factors: local account required, device-node access required, successful exploitation (beyond a kernel crash) depends on winning a narrow race window on a kernel build not yet carrying the fix. |
| Impact | This is a local, memory-corruption (use-after-free) flaw in the Linux kernel's ALSA PCM layer, triggered by a race between snd_pcm_drain() and snd_pcm_unlink() on substreams belonging to the same linked group. The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8) indicates a locally-authenticated attacker with full CIA impact - consistent with a kernel UAF that can escalate to privileges or crash the system. Real-world urgency signals are modest and partly conflicting: EPSS is only 0.18% (8th percentile) and there is no CISA KEV listing and no public exploit, yet the vuln.today Decision label is 'this_week', reflecting a patched, broadly-shipping kernel defect rather than mass exploitation. Exploitation status: no public exploit identified at time of analysis. The practical bar is meaningful - an attacker must already have local access to ALSA PCM devices and must win a timing race between concurrent drain and unlink operations - so despite the HIGH severity this is better characterized as a patch-on-your-normal-kernel-cadence local privilege/DoS issue than an emergency. One data note: the input Tag 'Information Disclosure' understates the flaw, since the CVSS impact is C:H/I:H/A:H (a UAF affecting integrity and availability, not merely disclosure). |
| Exploit ScenarioDerived | A local user with access to /dev/snd PCM devices opens two substreams, links them into a group, then concurrently issues a drain on one while unlinking the other to race snd_pcm_drain() against snd_pcm_unlink(), leaving a stale wait-queue entry that is later woken against freed runtime memory. Winning this race corrupts kernel memory, which a skilled attacker can shape toward local privilege escalation or, more easily, a denial-of-service kernel crash. No public exploit is identified at time of analysis, and success depends on reliably hitting the narrow timing window. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Use-after-free in the Linux kernel's ALSA PCM layer allows a local user who can open PCM device nodes and establish a linked substream group (via SNDRV_PCM_IOCTL_LINK) to corrupt kernel memory by racing snd_pcm_drain() on one substream against snd_pcm_unlink() on another substream in the same group. Successful exploitation requires winning a narrow timing window - the assessed vector is AV:L/AC:H/PR:L (NVD rates it 7.8 with AC:L) - and yields high confidentiality, integrity and availability impact in kernel context, though a kernel crash is the more probable outcome. No public exploit code or PoC reference was identified at the time of analysis, EPSS is low (0.18%, 8th percentile), and CISA KEV does not list this issue, but vendor fixes are already published across all stable branches and the priority label is this_week.
RemediationAI
Vendor-released patch: upgrade to Linux 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 depending on your branch; the individual stable commits are linked from the NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-139361 and from the EUVD entry EUVD-2026-139066 (for 5.15 the fix is commit 220edbb1806a43a45e9f51a6cc68c54d58c583ee, for 6.1 91d0048a97e0fdc0a071caa0ba59e659bc6f84df, for 6.6 bf052a1fb6507ccb6aea53b12db98f0976f8872d, and for 6.12 7d8afac865e73648bae36075b829d5bc4dd32f4e; verify the branch mapping against the advisory before applying). Because the bug is reachable only by a local user who can open /dev/snd/pcm* nodes and create a linked substream group, exposure can be reduced while patching is staged by keeping the audio device nodes restricted to trusted accounts (the 'audio' group or root, which is the default on most distributions) and by removing untrusted users from that group - a control that limits who can reach the race at the cost of denying those users local playback and recording. There is no configuration toggle that disables the drain/unlink path without also removing ALSA PCM functionality, and the input provides no other vendor-documented workaround, so applying the referenced stable fix is the complete remedy; note that the assessed attack complexity is high (AC:H), meaning exploitation beyond a kernel crash depends on winning a narrow race window.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the ALSA PCM core in sound/core/pcm_native.c, which manages snd_pcm_runtime objects shared by substreams joined into a linked group so that they can start, stop and drain in unison. An earlier fix (commit 9b1dbd69ba6f) addressed a use-after-free in snd_pcm_drain() by caching the parameters of the draining substream instead of dereferencing the linked runtime, and the drain loop then only removed a still-present entry from the wait queue. That left a gap: if a substream left the link group before the loop re-checked it, its wait-queue entry was never dequeued, and the stale entry could later be woken, producing a second use-after-free path - a window made easier to hit by a recent change that calls snd_pcm_unlink() earlier. The upstream resolution introduces a refcount on snd_pcm_runtime that marks the substream as in use during these accessor paths, and snd_pcm_release_substream() now calls snd_refcount_sync() to wait for all accessors to finish before resources are freed; parts of the prior workaround were reverted because they no longer fit the new flow, and the wait-queue setup plus prepare_to_wait() call were moved ahead of the group unref to close the enqueue-versus-wakeup race as well. The CWE was not supplied in the input; the underlying class is a race-condition-driven use-after-free on a shared runtime object.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local ALSA device access gives PR:L/AV:L; the described drain-versus-unlink race requires winning precise timing, so AC:H; kernel UAF yields full C/I/A impact.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcm: Add refcount for races between drain and unlink
We added a workaround for the case where a linked substream gets unlinked during the drain operation by another substream of the same linked group in the commit 9b1dbd69ba6f ("ALSA: pcm: fix use-after-free on linked stream runtime in snd_pcm_drain()"). There, we just cached the parameters of the draining substream for avoiding UAF.
Then, we check the draining substream (to_check) again in the loop and remove it from the queue only when it's still present. It means, however, that the wait queue entry won't be removed if the substream went out of the link beforehand, hence a stale wq entry remains. Later on, this can be woken up, and this may hit a UAF, too. The problem surfaced more due to the recent change to call snd_pcm_unlink() earlier.
For properly handling both cases above, in this patch, we introduce a refcount to the snd_pcm_runtime that indicates the substream is being accessed / used, then at snd_pcm_release_substream(), it's synced before the actual resource release via snd_refcount_sync(). This guarantees that the accessors are finished, and safe to release memories. Along with the introduction of a refcount, the comments and the code changes by the former fix were partially reverted as they don't fit with the updated code flow any longer.
Last but not least, the setup of wait queue entry and prepare_to_wait() call are moved before the group unref. With this change, we can avoid the race between the enqueue and the wakeup, too.
Executive ViewAI
A high-severity use-after-free vulnerability in the Linux kernel's ALSA PCM layer (CVE-2026-139361) could allow a local user with access to audio device nodes to corrupt kernel memory and potentially crash or compromise affected systems. While no public exploitation has been observed, the availability of vendor patches and a 'this_week' priority label indicate that security leadership should ensure timely remediation to prevent potential disruption to critical Linux-based infrastructure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-139066
GHSA-g426-vxx7-6v22
NVD
CVE.org
EPSS
Exploit-DB