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
SUSE Linux Micro
SUSE Linux Micro Extras
Ubuntu
linux-nvidia-tegra (Ubuntu package)
linux (Debian package)
linux-6.12 (Debian package)
kernel-default
kernel-64kb
kernel-64kb-debugsource
kernel-64kb-devel
kernel-default-devel
kernel-syms
kernel-obs-build
kernel-obs-build-debugsource
kernel-default-debugsource
kernel-default-devel-debuginfo
How to mitigate CVE-2026-98316
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1039.40
linux (Debian package) - update to 6.12.113-1
linux-6.12 (Debian package) - update to 6.12.113-1~deb12u1
kernel-default - update to 6.4.0-159998.55.1
kernel-64kb - update to 6.4.0-159998.55.1
kernel-64kb-debugsource - update to 6.4.0-159998.55.1
kernel-64kb-devel - update to 6.4.0-159998.55.1
kernel-default-devel - update to 6.4.0-159998.55.1
kernel-syms - update to 6.4.0-159998.55.1
kernel-obs-build - update to 6.4.0-159998.55.1
kernel-obs-build-debugsource - update to 6.4.0-159998.55.1
kernel-default-debugsource - update to 6.4.0-159998.55.1
kernel-default-devel-debuginfo - update to 6.4.0-159998.55.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