* CVE-2026-139478: ALSA: core: Add missing barriers for power_ref vs card->shutdown
@ 2026-11-30 13:38 Greg Kroah-Hartman
0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-11-30 13:38 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Greg Kroah-Hartman
From: Greg Kroah-Hartman <gregkh@kernel.org>
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().
The Linux kernel CVE team has assigned CVE-2026-139478 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.1.193 with commit e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53
Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.6.163 with commit cc27f8fcf2189471008f427df50a2023e874326f
Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.12.119 with commit 4d94838df883a4719b977ad77ff975b1279ebb91
Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 6.18.65 with commit 01e055fb891fc8520763fa87d8d07e04efedabb8
Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 7.3.6 with commit 08f87d507bbc59e099ac3620c4c73109b9e2b0dc
Issue introduced in 5.14 with commit e94fdbd7b25d87e64688bb109e2c550217a4c879 and fixed in 7.4-rc1 with commit a6913835735469751f56473f5212eb291a4805e7
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-139478
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/core/init.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 14:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:38 CVE-2026-139478: ALSA: core: Add missing barriers for power_ref vs card->shutdown Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.