Linux Flaw Lets USB Device Gain Root Access
A kernel vulnerability tracked as CVE-2026-98232 lets a physically connected, disguised USB device execute commands with root privileges.
Updated on Dec. 2, 2026 in Cybersecurity by Wisevoter Tech Desk

A Linux kernel flaw, tracked as CVE-2026-98232 and known as usb2shell, allows an attacker with physical access to gain root privileges through a malicious USB device. The issue was publicly disclosed on Nov. 30, and fixes are available in several Linux versions.
Why it matters
The flaw affects Linux 6.5 and later when USB mass-storage support is built in or automatically loaded, and the kernel processes device data before any login or user interaction. Organizations and individuals running affected kernels face elevated risk from physical device access until they apply the patched releases.
The vulnerability is a malformed MODE SENSE response that triggers an out-of-bounds memory operation in the SCSI scanning code, enabling root-level command execution. The attacker must connect a device disguised as ATA storage and enable Command Duration Limits.
The details
An attacker connects a device disguised as ATA storage and enables Command Duration Limits. The kernel then processes data returned by the device during identification, and a malformed MODE SENSE response causes an out-of-bounds memory operation that allows commands to run with root privileges.
Timeline
Nov. 30, 2026: Vulnerability publicly disclosed.
The Tech Race
The flaw sits in the Linux kernel's SCSI scanning path, where the kernel trusts data returned by a connected device before any authentication occurs. Patched releases across several stable branches reflect how widely the affected subsystem is deployed.
Users running Linux 6.5 or later with USB mass-storage support should update to a patched kernel release. Physical access to a machine is the precondition, so securing USB ports and restricting untrusted devices reduces exposure until updates are applied.
The takeaway
Patching the Linux kernel to a fixed release closes this USB attack path, and limiting untrusted physical device connections reduces risk in the interim.
Further reading
Explore more Cybersecurity coverage for context on device-level threats.
Source note: This article includes information reported by TokenPost.



