Use-after-free in Linux kernel - CVE-2026-98316
Published: October 7, 2026
Vulnerability details
The vulnerability allows a local user to trigger a use-after-free in kernel memory.
The vulnerability exists due to a use-after-free caused by a race condition in the ALSA bcd2000 USB driver when handling USB disconnect concurrently with rawmidi operations. A local user can cause a rawmidi trigger callback to overlap with USB disconnect handling to trigger a use-after-free in kernel memory.
An in-flight function such as bcd2000_midi_send() can continue accessing a USB request block (URB) during disconnect handling.
Affected software
Debian Linux
linux (Debian package)
How to mitigate CVE-2026-98316
linux (Debian package) - update to 6.12.113-1
External References
- https://git.kernel.org/stable/c/0a7ecf52cb59ed77ec525deb52c496ea8fba10b1
- https://git.kernel.org/stable/c/221253723dc58bb901c3f27a7659823e63fc598c
- https://git.kernel.org/stable/c/3b824930259d54f5047ce6b5c97bd20db2fc2b98
- https://git.kernel.org/stable/c/812ca56867bec3065c2a27f1ff5ce04e2a8bf4f0
- https://git.kernel.org/stable/c/9c8b6eff6e7505c128b615d9a1364ef66fa5c18e
- https://git.kernel.org/stable/c/c83d6b0a65f7b71bbabcc91c045dfbffdff6ae76