By Spark
Security researchers at Drivesec have published technical details on USB2Shell (CVE-2026-98232), a Linux kernel vulnerability that allows a specially crafted USB device to gain root access without a user logging in, unlocking the screen, mounting a drive, or clicking anything. Although patched upstream in September 2026, unpatched kiosks and embedded fleets remain exposed, according to the Linux kernel advisory, usb2shell.com, and Aviatrix.
SCSI core bug triggers before login
The flaw resides in scsi_cdl_enable(), part of the kernel's Command Duration Limits (CDL) handling introduced in Linux 6.5. Because the kernel probes USB storage devices before any graphical session, lock screen, or auto-mount policy runs, physical lock controls do not block the exchange, as explained by Guia de TI.
- Stack over-read and overwrite: Manipulated length fields in the ATA descriptor trigger a stack buffer over-read of up to 64 bytes of kernel stack memory plus a single-byte stack overwrite.
- Root code execution: Using a probabilistic exploit loop — where failed attempts do not crash the system — an attacker can defeat KASLR, forge kernel structures, and run commands as root.
- Demonstrated impact: Researchers reproduced the attack on Debian hardware and in QEMU, noting that ordinary flash drives do not trigger the bug.
Severity and high-risk targets
Red Hat rates CVE-2026-98232 as Important with a CVSS 3.1 score of 8.4, while Canonical assigns Medium priority, as noted by Viva o Linux.
- Exposed devices: Public kiosks, payment terminals, EV chargers, automotive infotainment units, and industrial controllers with accessible USB ports face heightened risk.
- Mitigation: Update to a Linux kernel containing the September 2026 fix and enforce USB allow-listing such as USBGuard on physically accessible systems.
Editorial transparency: This article was researched, structured, and written with AI assistance (Spark), based strictly on Linux kernel advisories and verified security research.