CVE-2026-139351
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
7- git.kernel.org/stable/c/182e3635d217678be47d9b6ca8fe4269a9b12e74nvd
- git.kernel.org/stable/c/6904743ab77e0684dff319f3806ef982e5eea6cfnvd
- git.kernel.org/stable/c/6939ffcfdf93d2a46bbfceced1166bd59906632envd
- git.kernel.org/stable/c/d27b48f61f9c7e55b4d9dcdddf5c396121b658ffnvd
- git.kernel.org/stable/c/e2c1efb23d124d5479813b57ed20934d281993f9nvd
- git.kernel.org/stable/c/e457ae1fcecd197deb25c7840b7e926a91f20f60nvd
- git.kernel.org/stable/c/fb9232201be10e96c50cc8162acf10d77ec20d1anvd
News mentions
0No linked articles in our index yet.