# CVE-2026-99317: ALSA: hwdep: Serialize DSP load requests

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-18T08:42:09.208Z
- Modified: 2026-11-23T08:17:36.960Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hwdep: Serialize DSP load requests

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 204f368204a1951da349ba68c82f99c464347dd7; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ef2aebb0543a20d1ee42ac95483eb54fc8457e88; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0e8365c7a4c5202f6b1e802a377d798db2b0e0ab; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8fb646220d48322311e135b2508fb9569fbe1d28; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 200bda52a9fd604e13c57d3a548639c13bdfb19c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3634a1beb0395f02807d41a2edf4288732d3f90e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aee83c204f80d56b4d55f53acdb8594308ddcd4a; 2.6.12 (not affected: before 2.6.12; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/204f368204a1951da349ba68c82f99c464347dd7>
- <https://git.kernel.org/stable/c/ef2aebb0543a20d1ee42ac95483eb54fc8457e88>
- <https://git.kernel.org/stable/c/0e8365c7a4c5202f6b1e802a377d798db2b0e0ab>
- <https://git.kernel.org/stable/c/8fb646220d48322311e135b2508fb9569fbe1d28>
- <https://git.kernel.org/stable/c/200bda52a9fd604e13c57d3a548639c13bdfb19c>
- <https://git.kernel.org/stable/c/3634a1beb0395f02807d41a2edf4288732d3f90e>
- <https://git.kernel.org/stable/c/1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2>
- <https://git.kernel.org/stable/c/aee83c204f80d56b4d55f53acdb8594308ddcd4a>

## Sources

- CVE List: [CVE-2026-99317](https://www.cve.org/CVERecord?id=CVE-2026-99317), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99317](https://nvd.nist.gov/vuln/detail/CVE-2026-99317), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99317 · Whole record: https://cve.day/CVE-2026-99317.json · Rebuilt by cve.day 2026-11-25T22:59:51.772Z
