CVE-2026-139351
publishedALSA: core: Serialize snd_refcount put and sync
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxace34a5be975b0f1ae6878a7dd536c4929473765 to < 182e3635d217678be47d9b6ca8fe4269a9b12e74 · 3cad562cf4de4d1b9fd46511f0b313986fec8240 to < e2c1efb23d124d5479813b57ed20934d281993f9 · 43b4b873ed5c36d4f2fdfa315917770d770964d1 to < d27b48f61f9c7e55b4d9dcdddf5c396121b658ff · f9c0604b1bff23ae3206afdc75ac18549b16b40a to < fb9232201be10e96c50cc8162acf10d77ec20d1a · 1842d0f045ca1d5547adbd0d0579d050139e139d to < 6939ffcfdf93d2a46bbfceced1166bd59906632e · dcca9b6064c33c84fbeb9f09814178a206321249 to < e457ae1fcecd197deb25c7840b7e926a91f20f60 · dcca9b6064c33c84fbeb9f09814178a206321249 to < 6904743ab77e0684dff319f3806ef982e5eea6cf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ace34a5be975b0f1ae6878a7dd536c4929473765 to < 182e3635d217678be47d9b6ca8fe4269a9b12e74 (affected · git)3cad562cf4de4d1b9fd46511f0b313986fec8240 to < e2c1efb23d124d5479813b57ed20934d281993f9 (affected · git)43b4b873ed5c36d4f2fdfa315917770d770964d1 to < d27b48f61f9c7e55b4d9dcdddf5c396121b658ff (affected · git)f9c0604b1bff23ae3206afdc75ac18549b16b40a to < fb9232201be10e96c50cc8162acf10d77ec20d1a (affected · git)1842d0f045ca1d5547adbd0d0579d050139e139d to < 6939ffcfdf93d2a46bbfceced1166bd59906632e (affected · git)dcca9b6064c33c84fbeb9f09814178a206321249 to < e457ae1fcecd197deb25c7840b7e926a91f20f60 (affected · git)dcca9b6064c33c84fbeb9f09814178a206321249 to < 6904743ab77e0684dff319f3806ef982e5eea6cf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/182e3635d217678be47d9b6ca8fe4269a9b12e74
- https://git.kernel.org/stable/c/6904743ab77e0684dff319f3806ef982e5eea6cf
- https://git.kernel.org/stable/c/6939ffcfdf93d2a46bbfceced1166bd59906632e
- https://git.kernel.org/stable/c/d27b48f61f9c7e55b4d9dcdddf5c396121b658ff
- https://git.kernel.org/stable/c/e2c1efb23d124d5479813b57ed20934d281993f9
- https://git.kernel.org/stable/c/e457ae1fcecd197deb25c7840b7e926a91f20f60
- https://git.kernel.org/stable/c/fb9232201be10e96c50cc8162acf10d77ec20d1a
Provider assertions
1Linux · cna
ALSA: core: Serialize snd_refcount put and sync
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d483cff7566885821b67e20db80d11c74fbe330c67ae797f1b3c8f69ebf10503
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record