{"id":"CVE-2026-139478","aliases":["CVE-2026-139478"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: core: Add missing barriers for power_ref vs card->shutdown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: core: Add missing barriers for power_ref vs card->shutdown\n\nsnd_power_ref_and_wait() increments card->power_ref and then reads\ncard->shutdown (and the power state) locklessly, while\nsnd_card_disconnect() sets card->shutdown and then waits for\npower_ref to drop to zero via snd_power_sync_ref().  Due to the\nmissing barrier on both sides, the caller proceeds with shutdown still\nseen as false, while the disconnect side sees a zero refcount and\ncontinues tearing down incorrectly.\n\nFor addressing the potential race, add smp_mb__after_atomic() after\nthe refcount increment and smp_mb() before snd_power_sync_ref() in\nsnd_card_disconnect().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: core: Add missing barriers for power_ref vs card->shutdown\n\nsnd_power_ref_and_wait() increments card->power_ref and then reads\ncard->shutdown (and the power state) locklessly, while\nsnd_card_disconnect() sets card->shutdown and then waits for\npower_ref to drop to zero via snd_power_sync_ref().  Due to the\nmissing barrier on both sides, the caller proceeds with shutdown still\nseen as false, while the disconnect side sees a zero refcount and\ncontinues tearing down incorrectly.\n\nFor addressing the potential race, add smp_mb__after_atomic() after\nthe refcount increment and smp_mb() before snd_power_sync_ref() in\nsnd_card_disconnect().","source":"cvelist"}],"published":"2026-11-30T13:35:07.431Z","modified":"2026-11-30T14:19:21.230Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e94fdbd7b25d87e64688bb109e2c550217a4c879","fixed":"e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53","status":"affected"},{"type":"git","introduced":"e94fdbd7b25d87e64688bb109e2c550217a4c879","fixed":"cc27f8fcf2189471008f427df50a2023e874326f","status":"affected"},{"type":"git","introduced":"e94fdbd7b25d87e64688bb109e2c550217a4c879","fixed":"4d94838df883a4719b977ad77ff975b1279ebb91","status":"affected"},{"type":"git","introduced":"e94fdbd7b25d87e64688bb109e2c550217a4c879","fixed":"01e055fb891fc8520763fa87d8d07e04efedabb8","status":"affected"},{"type":"git","introduced":"e94fdbd7b25d87e64688bb109e2c550217a4c879","fixed":"08f87d507bbc59e099ac3620c4c73109b9e2b0dc","status":"affected"},{"type":"git","introduced":"e94fdbd7b25d87e64688bb109e2c550217a4c879","fixed":"a6913835735469751f56473f5212eb291a4805e7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc27f8fcf2189471008f427df50a2023e874326f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d94838df883a4719b977ad77ff975b1279ebb91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01e055fb891fc8520763fa87d8d07e04efedabb8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08f87d507bbc59e099ac3620c4c73109b9e2b0dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6913835735469751f56473f5212eb291a4805e7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139478","url":"https://www.cve.org/CVERecord?id=CVE-2026-139478","licence":"CVE Terms of Use","modified":"2026-11-30T13:35:07.431Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139478","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139478","licence":"Public domain","modified":"2026-11-30T14:19:21.230Z"}],"updatedAt":"2026-11-30T14:33:36.106Z","epss":{"score":0.00216,"percentile":0.12732,"date":"2026-12-01T12:00:22.000Z"}}