ALSA: core: Serialize snd_refcount put and sync

Summary

CVECVE-2026-139351
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:00 UTC
Updated2026-11-30 14:19:00 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected ace34a5be975b0f1ae6878a7dd536c4929473765 182e3635d217678be47d9b6ca8fe4269a9b12e74 git Not specified
CNA Linux Linux affected 3cad562cf4de4d1b9fd46511f0b313986fec8240 e2c1efb23d124d5479813b57ed20934d281993f9 git Not specified
CNA Linux Linux affected 43b4b873ed5c36d4f2fdfa315917770d770964d1 d27b48f61f9c7e55b4d9dcdddf5c396121b658ff git Not specified
CNA Linux Linux affected f9c0604b1bff23ae3206afdc75ac18549b16b40a fb9232201be10e96c50cc8162acf10d77ec20d1a git Not specified
CNA Linux Linux affected 1842d0f045ca1d5547adbd0d0579d050139e139d 6939ffcfdf93d2a46bbfceced1166bd59906632e git Not specified
CNA Linux Linux affected dcca9b6064c33c84fbeb9f09814178a206321249 e457ae1fcecd197deb25c7840b7e926a91f20f60 git Not specified
CNA Linux Linux affected dcca9b6064c33c84fbeb9f09814178a206321249 6904743ab77e0684dff319f3806ef982e5eea6cf git Not specified
CNA Linux Linux affected 7.2 Not specified
CNA Linux Linux unaffected 7.2 semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6939ffcfdf93d2a46bbfceced1166bd59906632e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d27b48f61f9c7e55b4d9dcdddf5c396121b658ff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/182e3635d217678be47d9b6ca8fe4269a9b12e74 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e457ae1fcecd197deb25c7840b7e926a91f20f60 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6904743ab77e0684dff319f3806ef982e5eea6cf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fb9232201be10e96c50cc8162acf10d77ec20d1a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e2c1efb23d124d5479813b57ed20934d281993f9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report