Bug 2586942 (CVE-2026-139478) - CVE-2026-139478 kernel: kernel: Denial of service via race condition during ALSA device disconnect
Summary: CVE-2026-139478 kernel: kernel: Denial of service via race condition during A...
Keywords:
Status: NEW
Alias: CVE-2026-139478
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:49 UTC by OSIDB Bzimport
Modified: 2026-12-01 07:21 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:49:40 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.