CVE-2026-139351
JSON

Not scored

ALSA: core: Serialize snd_refcount put and sync

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ace34a5be975b0f1ae6878a7dd536c4929473765 before 182e3635d217678be47d9b6ca8fe4269a9b12e74, from 3cad562cf4de4d1b9fd46511f0b313986fec8240 before e2c1efb23d124d5479813b57ed20934d281993f9, from 43b4b873ed5c36d4f2fdfa315917770d770964d1 before d27b48f61f9c7e55b4d9dcdddf5c396121b658ff, from f9c0604b1bff23ae3206afdc75ac18549b16b40a before fb9232201be10e96c50cc8162acf10d77ec20d1a, from 1842d0f045ca1d5547adbd0d0579d050139e139d before 6939ffcfdf93d2a46bbfceced1166bd59906632e, from dcca9b6064c33c84fbeb9f09814178a206321249 before e457ae1fcecd197deb25c7840b7e926a91f20f60, from dcca9b6064c33c84fbeb9f09814178a206321249 before 6904743ab77e0684dff319f3806ef982e5eea6cf, 7.2
Not affected: before 7.2, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139351 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139351 changed 2026-11-30Public domain