What happened
Researchers at Drivesec identified a Linux kernel vulnerability, dubbed "USB2Shell" (CVE-2026-98232), which allows malicious USB devices to gain root access without user interaction. The flaw exists in the SCSI core's handling of Command Duration Limits, enabling memory corruption when a device provides crafted length values. Although the vulnerability was fixed in the kernel in September 2026, it affects systems running unpatched Linux versions 6.5 and later. No real-world attacks have been identified as of December 1, 2026.
Why it matters
This vulnerability poses a significant risk to organizational integrity, as it bypasses standard authentication and drive-mounting security rules. For defense contractors, a compromised system could lead to unauthorized data access or the extraction of sensitive intellectual property from air-gapped or restricted machines. Compliance frameworks often require strict hardware control; failing to patch this vulnerability may result in audit non-compliance if physical port security is mandated.
Who may be affected
Organizations operating Linux-based kiosks, payment terminals, industrial controllers, or workstations with exposed physical USB ports are most at risk.
Expert analysis
USB2Shell exploits the trust relationship between the kernel and peripheral hardware before user-level security policies, such as locked screens or session managers, are engaged. Unlike many network-based exploits, this attack operates at the firmware/kernel interface, effectively bypassing software-defined access controls. Organizations frequently rely on "authorized drive" policies which are ineffective here because the vulnerability is triggered during the initial hardware scan, long before the operating system decides whether to mount the device. An adversary with physical access would use this to bypass KASLR and execute commands as root, essentially turning any open port into a persistent backdoor. Security programs often fail by focusing on logical access while ignoring the physical attack surface of peripheral buses like USB.
Real-world example
While no real-world exploitation of USB2Shell (CVE-2026-98232) has been reported, it follows the pattern of historical USB-based hardware attacks, such as the BadUSB class of vulnerabilities, which similarly demonstrated that malicious firmware could bypass OS-level security by masquerading as trusted HID or storage devices.
Recommended actions
- 1Audit Linux infrastructure to identify systems running kernel versions 6.5 or later and apply the latest security patches immediately.
- 2Implement USB allow-listing using tools like USBGuard to restrict which hardware IDs can communicate with the kernel.
- 3Disable usb-storage and uas kernel modules on systems that do not require physical storage media.
- 4Physically secure or restrict access to USB ports on critical assets, such as self-service kiosks and industrial control units.

