# CVE-2026-139478: ALSA: core: Add missing barriers for power_ref vs card->shutdown

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:07.431Z
- Modified: 2026-11-30T14:19:21.230Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from e94fdbd7b25d87e64688bb109e2c550217a4c879 before e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53; from e94fdbd7b25d87e64688bb109e2c550217a4c879 before cc27f8fcf2189471008f427df50a2023e874326f; from e94fdbd7b25d87e64688bb109e2c550217a4c879 before 4d94838df883a4719b977ad77ff975b1279ebb91; from e94fdbd7b25d87e64688bb109e2c550217a4c879 before 01e055fb891fc8520763fa87d8d07e04efedabb8; from e94fdbd7b25d87e64688bb109e2c550217a4c879 before 08f87d507bbc59e099ac3620c4c73109b9e2b0dc; from e94fdbd7b25d87e64688bb109e2c550217a4c879 before a6913835735469751f56473f5212eb291a4805e7; 5.14 (not affected: before 5.14; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53>
- <https://git.kernel.org/stable/c/cc27f8fcf2189471008f427df50a2023e874326f>
- <https://git.kernel.org/stable/c/4d94838df883a4719b977ad77ff975b1279ebb91>
- <https://git.kernel.org/stable/c/01e055fb891fc8520763fa87d8d07e04efedabb8>
- <https://git.kernel.org/stable/c/08f87d507bbc59e099ac3620c4c73109b9e2b0dc>
- <https://git.kernel.org/stable/c/a6913835735469751f56473f5212eb291a4805e7>

## Sources

- CVE List: [CVE-2026-139478](https://www.cve.org/CVERecord?id=CVE-2026-139478), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139478](https://nvd.nist.gov/vuln/detail/CVE-2026-139478), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139478 · Whole record: https://cve.day/CVE-2026-139478.json · Rebuilt by cve.day 2026-11-30T14:33:36.106Z
