Key facts
- Drivesec researchers demonstrated a Linux kernel flaw called USB2Shell on Nov. 30, 2026.
- The flaw lets a malicious USB device run root commands without a login, a mounted drive, or user interaction.
- The flaw was fixed in September and received CVE-2026-98232 in October.
- Systems without the update remain exposed.
Drivesec researchers demonstrated a Linux kernel flaw called USB2Shell on Nov. 30, 2026. The Hacker News reported.
The flaw lets a malicious USB device run root commands without a login, a mounted drive, or user interaction. Systems without the update remain exposed. A fix has existed since September.
The flaw sits in the SCSI (Small Computer System Interface) core. It is in a function that switches on Command Duration Limits. A small stack buffer receives device-supplied data when the kernel scans a device claiming to be an ATA disk supporting that feature. The kernel uses length values supplied by the device without checking them against the buffer size.
The automatic scan runs when a USB device connects. The scan proceeds despite a locked screen, a signed-out session, or rules that block unknown drives. Those protections apply only after the device has already reached privileged kernel code.
According to the kernel advisory, a deceptive device can read 64 bytes of kernel stack memory. It can also change a single byte of that memory. Drivesec researchers converted the one-byte modification into arbitrary kernel-memory writes on their test machine.
They beat KASLR, which scatters kernel code placement to prevent attackers from guessing addresses. They constructed false kernel data structures. The researchers forced the device’s chosen command to execute with root privileges upon unplugging.
Exposure requires USB mass storage support through the usb-storage or uas driver and a USB port an attacker can reach. Linux 6.5 introduced the flaw, and it exists in every release from 6.5 onward unless fixed.
Upstream kernel version numbers do not map cleanly onto distribution kernels because distributions backport features and fixes. Debian’s security tracker says its standard version 12 kernel did not contain the flawed code. Red Hat provided the fix in a kernel numbered 5.14. Administrators should verify their distribution instead of depending on the upstream version number.
The fix shipped in September, and the flaw received CVE-2026-98232 in October. Systems still running older kernels remain exposed. The remedy is to update to a kernel that includes the fix or to backport the upstream fix commit.
If patching is delayed, keep the usb-storage and uas drivers unloaded on systems that do not need USB storage. Another interim step is USB allow-listing such as USBGuard or the authorized_default=0 setting, which requires device approval before driver loading.
Drivesec provides a system-checking script. Vendor backports may escape its notice, so the output works as a hint and not as proof.
“While the exploit is probabilistic, no crash is triggered on failed executions,” the researchers said. Drivesec made the statement during the USB2Shell demonstration on Nov. 30, 2026, against a Debian test machine running kernel 6.12.22 with KASLR enabled and using a Cynthion USB tool. The researchers said no published success rate exists for the attack.
Drivesec built a working USB2Shell exploit and characterized its reliability. The researchers noted that the exploit is probabilistic. Failed attempts do not crash the machine, allowing repeated tries. Drivesec tested the attack on one machine, and it did not always succeed.
Drivesec’s technical write-up describes the attack on Debian running kernel 6.12.22 with KASLR enabled, using a Cynthion USB device.
The researchers’ Android testing turned up a memory leak but no root access. Affected phone kernels on version 6.6 and newer provide the device with some kernel memory. In the builds examined, including Google‘s generic Android kernel and the Samsung Galaxy A16 kernel, a compiler check prevents the memory-altering step.
Google’s AI code-review system Sashiko, built for the Linux kernel, first flagged the bug on the kernel mailing list. Google gave Sashiko to the Linux Foundation. Drivesec says it found the same flaw independently and wrote the fix. Drivesec says its team created the exploit, not the AI.
A project retrospective cited by Google credits Sashiko with 528 Linux kernel CVE fixes this year. Google warns it is too early to assign strong credit to the tool.
Researchers have found no attacks using the flaw and identified no victims. As of publication, the U.S. government’s Known Exploited Vulnerabilities catalog does not include the flaw. Carrying out a physical attack across many machines is difficult.
Drivesec says strangers can reach USB ports on EV chargers, smart-home hubs, kiosks, payment terminals and car infotainment units. None of those examples has been shown compromised. They illustrate open-port risk rather than listing affected products.

Join the discussion