Servers and applications
CVE-2026-99317
ALSA: hwdep: Serialize DSP load requests
- Severity
- Unrated
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 18 Nov 2026
- Fixed in
- 6.12.118, 6.18.64, 7.3.5
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
The check of the loaded DSP indices and the call of the driver's dsp_load callback in snd_hwdep_dsp_load() are not serialized. A hwdep file descriptor can be shared among threads, or inherited across fork, so two SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same index can both observe the index as unloaded and enter the driver's callback concurrently, even though the device itself is opened exclusively.
This breaks the assumption behind hw->dsp_loaded that a firmware index is loaded only once. For example, snd-usb-usx2y hits WARN_ON(usx2y->as04.buffer) in usx2y_async_seq04_init() and may allocate the US-428 sequence URBs twice.
Serialize the check, the callback invocation and the bookkeeping with a per-hwdep mutex, so that the second request returns -EBUSY.
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 255,726GitHub, 15 Nov 2026
- Forks
- 67,394GitHub, 15 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 2,505
- Published in the last 12 months
- 2,505
- Critical, last 12 months
- 80
- High, last 12 months
- 470
- Known exploited
- 0
- CVE-2026-99320ipv6: raw: fix use-after-free in rawv6_send_hdrinc()Unrated 19 Nov 2026
- CVE-2026-99319ALSA: usx2y: Refuse a retried DSP load after a failureUnrated 18 Nov 2026
- CVE-2026-99318ALSA: bcd2000: Fix use-after-free of MIDI URBs on file closeUnrated 18 Nov 2026
- CVE-2026-99316ALSA: usx2y: Initialize idle URBs before submitting streamsUnrated 18 Nov 2026
- CVE-2026-99315ALSA: us122l: Fix NULL dereference at hwdep open and releaseUnrated 18 Nov 2026
- CVE-2026-99314ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()Unrated 18 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99317