CVE-2026-139351

ALSA: core: Serialize snd_refcount put and sync

Published Nov 30, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: core: Serialize snd_refcount put and sync

When a thread tries to sync-and-destroy the resource with
snd_refcount_sync(), it might lead to a UAF in a very slight time
window. Namely, snd_refount_put() calls wake_up() after
atomic_dec_and_test(), but wait_event() in snd_refcount_sync() checks
the condition via atomic_test() without serialization, hence the
thread that called snd_refcount_sync() can continue immediately to
release the resource before another thread calls wake_up().

For avoiding the race above, introduce the spinlock and take it at
snd_refcount_put() and snd_refcount_sync() in order to serialize the
operations.

Analysis

AI-generated

Technical impact

The vulnerability is a race condition between snd_refcount_put and snd_refcount_sync in the ALSA core of the Linux kernel. When a thread calls snd_refcount_sync while another concurrently calls snd_refcount_put, the put function may wake up after decrementing the reference count while the sync function checks the condition without proper serialization. This can allow the sync thread to release the resource before the wake_up, exposing freed memory to an attacker. The resulting use‑after‑free can lead to kernel memory corruption, a crash, or, in the presence of crafted data, arbitrary code execution.

Affected Systems

All Linux kernel releases that ship the ALSA core component before the serialization fix are potentially affected. No specific version numbers are listed in the data, so the risk applies to any kernel that has not been patched with the spinlock change. All distributions using the Linux kernel are included.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, the race condition requires privileged local access to ALSA and can cause serious kernel corruption. The absence of an official fix in the current data indicates that the risk remains moderate‑high until the patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest official kernel update that incorporates the ALSA spinlock fix for snd_refcount_put and snd_refcount_sync.
  • If an immediate kernel upgrade is not possible, temporarily disable or unload ALSA modules to prevent execution of the vulnerable code.
  • Monitor system logs for ALSA‑related crashes or unexpected behavior and report findings promptly.

Generated by OpenCVE AI on December 1, 2026 at 11:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: core: Serialize snd_refcount put and sync When a thread tries to sync-and-destroy the resource with snd_refcount_sync(), it might lead to a UAF in a very slight time window. Namely, snd_refount_put() calls wake_up() after atomic_dec_and_test(), but wait_event() in snd_refcount_sync() checks the condition via atomic_test() without serialization, hence the thread that called snd_refcount_sync() can continue immediately to release the resource before another thread calls wake_up(). For avoiding the race above, introduce the spinlock and take it at snd_refcount_put() and snd_refcount_sync() in order to serialize the operations.
Title ALSA: core: Serialize snd_refcount put and sync
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-366

    Race Condition within a Thread

  • CWE-416

    Use After Free

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Important
Public date
Nov 30, 2026, 1:33 PM