Bug 2586885 (CVE-2026-139351) - CVE-2026-139351 kernel: kernel: Use-after-free in ALSA subsystem via reference counting race condition
Summary: CVE-2026-139351 kernel: kernel: Use-after-free in ALSA subsystem via referenc...
Keywords:
Status: NEW
Alias: CVE-2026-139351
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:46 UTC by OSIDB Bzimport
Modified: 2026-12-01 06:51 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:46:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.