CVE-2026-139351
ALSA: core: Serialize snd_refcount put and sync
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.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Serialize snd_refcount put and sync operations.
- Introduce a spinlock for serialization.
- Apply the provided kernel patch.
- Update the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139351.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139351 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139351
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139351 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139351 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139351.json">CVE-2026-139351</a> Added Reference https://git.kernel.org/stable/c/182e3635d217678be47d9b6ca8fe4269a9b12e74 Added Reference https://git.kernel.org/stable/c/6904743ab77e0684dff319f3806ef982e5eea6cf Added Reference https://git.kernel.org/stable/c/6939ffcfdf93d2a46bbfceced1166bd59906632e Added Reference https://git.kernel.org/stable/c/d27b48f61f9c7e55b4d9dcdddf5c396121b658ff Added Reference https://git.kernel.org/stable/c/e2c1efb23d124d5479813b57ed20934d281993f9 Added Reference https://git.kernel.org/stable/c/e457ae1fcecd197deb25c7840b7e926a91f20f60 Added Reference https://git.kernel.org/stable/c/fb9232201be10e96c50cc8162acf10d77ec20d1a