USB2Shell
Disclosed Nov 30, 2026
Updated Dec 1, 2026
A physical-access Linux kernel vulnerability allowing a specially crafted USB storage device to execute arbitrary root commands upon plug-in—even at the lock screen with no user login or interaction.
Component
Linux Kernel SCSI Command Duration Limits (usb-storage / uas)
Attack Vector & Class
Local / Physical
Memory Safety
Exploitation Status
No confirmed wild attacks
Public PoC available
CVSS & Ecosystems
8.4 (v3.1)
Linux, Kernel
Affected Versions
- Linux Kernel 6.5+ with usb-storage or uas drivers enabled (prior to distro security patches)
Fixed / Recommended Versions
- Patched Linux 6.5+ stable and distribution kernel releases addressing CVE-2026-98232
Technical Root Cause
Unlike remote network *2Shell bugs, USB2Shell requires physical USB attachment. When a USB storage device is enumerated by the kernel via usb-storage or uas, scsi_cdl_enable() trusted device-supplied length fields, resulting in a 64-byte stack information leak combined with a one-byte stack overwrite. Researchers at Drivesec published a working root exploit PoC targeting unpatched Linux 6.5+ systems.
Remediation & Hardening
- 1Apply the latest Linux kernel security update from your distribution and reboot affected hosts.
- 2Use USBGuard or kernel USB authorization policies on laptops, kiosks, and physically accessible servers to block unauthorized USB mass-storage devices while locked.
- 3Disable usb-storage and uas kernel modules on headless servers that do not require USB storage.