Use-after-free race in ALSA core snd_refcount in Linux kernel
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
In the Linux kernel from version 7.2, a race in the ALSA core reference counting code can cause a use-after-free. The snd_refcount_put() function calls wake_up() after the count drops to zero, but the waiting side in snd_refcount_sync() checks the condition without serialization, so the waiting thread can release the resource before the wake-up happens.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade the Linux kernel to 7.3.6 or 7.4-rc1 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139351
- 2026-11-30 Alias added: GHSA-w5vc-72j7-3frq
References
Other 7
- https://git.kernel.org/stable/c/182e3635d217678be47d9b6ca8fe4269a9b12e74
- https://git.kernel.org/stable/c/e2c1efb23d124d5479813b57ed20934d281993f9
- https://git.kernel.org/stable/c/d27b48f61f9c7e55b4d9dcdddf5c396121b658ff
- https://git.kernel.org/stable/c/fb9232201be10e96c50cc8162acf10d77ec20d1a
- https://git.kernel.org/stable/c/6939ffcfdf93d2a46bbfceced1166bd59906632e
- https://git.kernel.org/stable/c/e457ae1fcecd197deb25c7840b7e926a91f20f60
- https://git.kernel.org/stable/c/6904743ab77e0684dff319f3806ef982e5eea6cf
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139351 · CVE Program
- CVE-2026-139351 · NVD
- GHSA-w5vc-72j7-3frq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences