ALSA: hwdep: Serialize DSP load requests

State
Published
Severity
7.8 High
Published
Nov 18, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 204f368204a1951da349ba68c82f99c464347dd7 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ef2aebb0543a20d1ee42ac95483eb54fc8457e88 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0e8365c7a4c5202f6b1e802a377d798db2b0e0ab Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8fb646220d48322311e135b2508fb9569fbe1d28 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 200bda52a9fd604e13c57d3a548639c13bdfb19c Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3634a1beb0395f02807d41a2edf4288732d3f90e Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before aee83c204f80d56b4d55f53acdb8594308ddcd4a Affected
Linux Linux2.6.12 Affectedbefore 2.6.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.5 through 7.3.* Not Affected7.4-rc2 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.