llamaCVEVulnerability Intelligence
/
Linux kernel

CVE-2026-99318

Linux kernel use-after-free in ALSA bcd2000 MIDI URB handling

A local attacker can corrupt memory by closing a MIDI file that was open when the device was unplugged.

Sin parche publicado
Descargar PNG JSON
CVSS
—
N/D
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición20 hDesde la divulgación, 18 nov 2026, 3:42 a. m.
Detección13 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD +2
03:42 a. m.
04:27 a. m.
11:37 p. m.
03:42 a. m.
08:41 a. m.
01:39 p. m.
06:38 p. m.
11:37 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-99318 divulgada
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
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 18 nov 2026

The Linux kernel's ALSA driver for the bcd2000 device has a use-after-free bug. Closing a MIDI file that was already open when the device was disconnected can make the kernel access URB memory that has already been freed.

Descripción original del registro (Linux)

In the Linux kernel, the following vulnerability has been resolved: ALSA: bcd2000: Fix use-after-free of MIDI URBs on file close bcd2000_disconnect() calls snd_card_disconnect(), which only prevents new opens, and then frees the MIDI URBs. A rawmidi file that was already open can still be closed afterwards, and its close callback, bcd2000_midi_output_close(), calls usb_kill_urb() on midi_out_urb. The URB pointers are cleared on disconnect and their accesses are serialized with midi_lock, but bcd2000_midi_output_close() reads midi_out_urb without that lock. The check can therefore pass just before the pointer is cleared, and usb_kill_urb() then runs on the URB that has already been freed: BUG: KASAN: slab-use-after-free in usb_kill_urb+0x74/0x80 Read of size 8 at addr ffff8880078e7d40 usb_kill_urb bcd2000_midi_output_close close_substream rawmidi_release_priv snd_rawmidi_release Allocated by: usb_alloc_urb <- bcd2000_init_midi <- bcd2000_probe Freed by: usb_free_urb <- bcd2000_midi_free <- bcd2000_disconnect Take the lock in bcd2000_midi_output_close() and reference the URB with usb_get_urb() before releasing it. The URB then stays valid until usb_put_urb() after usb_kill_urb() has returned, even if a disconnect frees it in the meantime. usb_kill_urb() itself cannot run under midi_lock, as the completion handler takes the same lock.

Versiones

Versiones afectadas

3.16
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Linux
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://git.kernel.org/stable/c/791c259be56d05f90f7642df337f209c108003fa
Otrahttps://git.kernel.org/stable/c/752eea15d0e67a468e484c1f166cdba694ba6de0
Otrahttps://git.kernel.org/stable/c/a4c306eb3ba35a1e7201e25aef7e0537da609e72
Otrahttps://git.kernel.org/stable/c/f6c7bb1f0799591a62be75b9bcf84245b4f208b7

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.