CVE-2026-99317
Linux kernel race condition in ALSA hwdep DSP firmware loading
A local user can race firmware load requests to trigger a kernel warning and double-allocate buffers.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-99317 divulgada · CVSS 7.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The ALSA hwdep interface in the Linux kernel lets concurrent DSP firmware load requests on a shared file descriptor, from threads or after fork, both pass the check that a firmware index is unloaded. This can trigger a kernel warning in the snd-usb-usx2y driver and allocate its sequence URBs twice.
Descripción original del registro (Linux)
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.
Condiciones y alcance
Desglose de métricas
Versiones afectadas
2.6.12Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Linux |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://git.kernel.org/stable/c/200bda52a9fd604e13c57d3a548639c13bdfb19chttps://git.kernel.org/stable/c/3634a1beb0395f02807d41a2edf4288732d3f90ehttps://git.kernel.org/stable/c/1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2https://git.kernel.org/stable/c/aee83c204f80d56b4d55f53acdb8594308ddcd4aLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
