CVE-2026-99317: ALSA: hwdep: Serialize DSP load requests
ALSA: hwdep: Serialize DSP load requests
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.5-1
Event History
Frequently Asked Questions
What access is required to trigger the race condition?
An attacker needs access to a hwdep file descriptor and must issue concurrent SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same DSP index. The descriptor can be shared between threads or inherited across a fork.
Are exclusively opened devices protected from this issue?
No. The race can occur even when the device is opened exclusively, because concurrent use of the same hwdep file descriptor was not serialized.
What is the observable impact on affected devices?
Two requests can both treat the same firmware index as unloaded and enter the driver's DSP-load callback concurrently. In the snd-usb-usx2y example, this can trigger a WARN_ON and attempt to allocate US-428 sequence URBs twice.
What behavior should the fix introduce?
DSP-load checking, callback execution, and loaded-index bookkeeping are serialized with a per-hwdep mutex. A second concurrent request for an already-loading index returns -EBUSY.