Usb2shell: Root on Linux from a USB Plug-In
A vulnerability in the Linux SCSI subsystem (CVE-2026-98232) allows malicious USB devices to execute arbitrary code as root during automatic device enumeration.
read it Essential reading for systems and security engineers managing Linux kernels exposed to physical or untrusted USB access.
summary
Researchers disclosed a high-severity Linux kernel vulnerability (CVE-2026-98232) that grants root privileges via a malicious USB device without requiring user interaction or mounting. The bug resides in scsi_cdl_enable(), added in Linux 6.5, where missing bounds checks on Command Duration Limits (CDL) mode page lengths cause a stack buffer leak and a single-byte out-of-bounds write during device enumeration. An attacker can leverage this leak to bypass KASLR and execute commands as root when the device is unplugged. Patches are available in recent stable kernel updates, and mitigations include disabling unused storage drivers or enforcing USB allow-listing.
key points
- Affects Linux kernels 6.5 through recent stable releases prior to backports (e.g., 6.6.158, 6.12.112).
- Triggered automatically during device scan without mounting filesystems, bypassing login screens and user sessions.
- Relies on a stack buffer leak in SCSI CDL support to defeat KASLR and achieve arbitrary code execution.
who should read it
Linux kernel developers, systems administrators, and security engineers managing exposed IoT or enterprise systems.
discussion positive
consensus
Commenters note that unlike typical Rubber Ducky attacks that emulate keyboards, this exploits the core SCSI driver and works even on locked systems without an active user session. Many point out that Linux historically trusts physical bus devices, highlighting architectural concerns with monolithic kernels.
pushback
Some note that practical exploitation requires physical access or an intermediate device like a remote KVM, though remote vectors remain viable in specialized setups.
Hmm... people seem to be dismissing this in the comments.
It's more than a normal rubber duck attack, like pretending to be a mouse and keyboard, it is a proper exploit of the SCSI driver IIUC.
Someone with access to a physical device for one or two minutes can get root pretty much undetected.
It works even if locked or if the device is booted with no one logged in. That's pretty cool IMO.
Not as worrying as a remote exploit of course.
Clarifies that this is a low-level driver exploit rather than a keyboard emulation attack, allowing it to compromise locked systems.
Generated by an LLM from the article and thread. Check the sources before relying on it.