USB2Shell Linux Kernel Flaw Lets Malicious USB Devices Gain Root Access

Executive Briefing
“Researchers uncovered a Linux kernel flaw named USB2Shell that lets a crafted USB device...”
Key Takeaways
- 1.A crafted USB device can make an unpatched Linux machine run an attacker's command as root without anyone logging in or clicking anything.
- 2.The flaw is in the kernel's SCSI core, in a function that turns on a storage feature called Command Duration Limits.
- 3.The flaw was introduced in Linux 6.5 and is present in every release from 6.5 onward until the fix is applied.
Researchers uncovered a Linux kernel flaw named USB2Shell that lets a crafted USB device automatically execute root commands before any login. The vulnerability stems from improper buffer handling within the kernel storage core.
Attack Mechanism and Scope
A crafted USB device can make an unpatched Linux machine run an attacker's command as root without anyone logging in or clicking anything.
The flaw is in the kernel's SCSI core, in a function that turns on a storage feature called Command Duration Limits.
The flaw was introduced in Linux 6.5 and is present in every release from 6.5 onward until the fix is applied.
Technical Analysis and Mitigation
Because the automatic scan runs the moment a device connects, locked screens or logged-out sessions do not stop the initial kernel interaction.
Although the exploit is probabilistic and no real-world attacks have been found, administrators should update their kernels or disable unnecessary storage drivers.
Open Questions
The exact success rate of the exploit across varied hardware configurations has not been published.
It remains unknown whether any real-world kiosks or terminals were targeted silently prior to the vulnerability disclosure.







