AZL-114368: CVE-2026-99317 affecting package kernel 6.6.161.1-1
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 dspload callback in sndhwdepdspload() are not serialized. A hwdep file descriptor can be shared among threads, or inherited across fork, so two SNDRVHWDEPIOCTLDSPLOAD 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->dsploaded that a firmware index is loaded only once. For example, snd-usb-usx2y hits WARNON(usx2y->as04.buffer) in usx2yasyncseq04init() 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.