A detailed technical look at USB2Shell (CVE-2026-98232), a Linux kernel vulnerability in the SCSI core that lacks proper buffer validation for Command Duration Limits.
Learn how a crafted USB device triggers arbitrary kernel writes and root execution on unpatched systems from v6.5 onward.
The issue is located in the Linux kernel, specifically in the scanning process that is automatically executed the moment a USB device is plugged into the port, even if the screen is locked or the user is not logged in. When a device falsely declares certain characteristics about the size of the data it is transferring, the code copies information into memory without checking size limits.
According to the researchers' tests, this flaw allowed the modification of system memory and the execution of commands with full administrator privileges at the exact moment the device was disconnected. The problem affects kernel versions from Linux 6.5 and later, as long as they have active support for USB storage media.
Where is the risk and what do the tests show?
The researchers demonstrated the attack on a computer running Debian and a specific kernel version, using a programmable USB device. On Android devices with a newer kernel, the test did not grant administrator access but only resulted in a memory leak, due to compiler limitations.
↳
READ ALSO
HACKS.GR / RELATED
Vulnerabilities & Security Updates
Serious bug in RabbitMQ allowed passwordless admin access
↗
Experts point out that special attention is needed on physical USB ports that are accessible to the public, such as in automatic teller machines, payment terminals, car displays, electric car chargers and smart home devices.
What is the solution?
No actual attacks or victims have been identified so far. The issue was fixed in the source code in September and made public in October. The issue was initially detected by an automated code review system created by Google.
System administrators are advised to update the operating system kernel to a newer version that includes the fix. Alternatively, they can disable USB storage drivers or implement rules that only allow specific devices.
>Stay connected with Hacks.gr
Set us as a preferred source on Google and find us on social media.
Preferred source
↗
end of article
Top comments (0)