ALSA: core: Add missing barriers for power_ref vs card->shutdown
Summary
| CVE | CVE-2026-139478 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:21 UTC |
| Updated | 2026-11-30 14:19:21 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ALSA: core: Add missing barriers for power_ref vs card->shutdown
snd_power_ref_and_wait() increments card->power_ref and then reads
card->shutdown (and the power state) locklessly, while
snd_card_disconnect() sets card->shutdown and then waits for
power_ref to drop to zero via snd_power_sync_ref(). Due to the
missing barrier on both sides, the caller proceeds with shutdown still
seen as false, while the disconnect side sees a zero refcount and
continues tearing down incorrectly.
For addressing the potential race, add smp_mb__after_atomic() after
the refcount increment and smp_mb() before snd_power_sync_ref() in
snd_card_disconnect(). |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected e94fdbd7b25d87e64688bb109e2c550217a4c879 e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53 git |
Not specified |
| CNA |
Linux |
Linux |
affected e94fdbd7b25d87e64688bb109e2c550217a4c879 cc27f8fcf2189471008f427df50a2023e874326f git |
Not specified |
| CNA |
Linux |
Linux |
affected e94fdbd7b25d87e64688bb109e2c550217a4c879 4d94838df883a4719b977ad77ff975b1279ebb91 git |
Not specified |
| CNA |
Linux |
Linux |
affected e94fdbd7b25d87e64688bb109e2c550217a4c879 01e055fb891fc8520763fa87d8d07e04efedabb8 git |
Not specified |
| CNA |
Linux |
Linux |
affected e94fdbd7b25d87e64688bb109e2c550217a4c879 08f87d507bbc59e099ac3620c4c73109b9e2b0dc git |
Not specified |
| CNA |
Linux |
Linux |
affected e94fdbd7b25d87e64688bb109e2c550217a4c879 a6913835735469751f56473f5212eb291a4805e7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* 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
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/08f87d507bbc59e099ac3620c4c73109b9e2b0dc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/cc27f8fcf2189471008f427df50a2023e874326f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/01e055fb891fc8520763fa87d8d07e04efedabb8 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a6913835735469751f56473f5212eb291a4805e7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4d94838df883a4719b977ad77ff975b1279ebb91 |
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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.