"While the exploit is probabilistic, no crash is triggered on failed executions," the researchers said — a quiet, technical caveat that matters because a flawed USB device can try again without alerting the user or crashing the system.
How USB2Shell works at the kernel level
The flaw, disclosed as CVE-2026-98232, resides in the Linux kernel's SCSI core and concerns a feature called Command Duration Limits. When a USB device identifies itself as an ATA disk that supports this feature, the kernel copies length values supplied by the device into a small stack buffer. The kernel trusted the device-provided lengths and did not check them against the buffer size. That automatic scanning happens immediately when a device is connected — before anyone logs in, mounts a drive, or clicks anything.
According to the kernel advisory cited by the researchers, a malicious device can lie about those lengths to read up to 64 bytes of kernel stack memory and change a single byte of it. In their lab tests the Drivesec team turned that single-byte change into a write-anywhere primitive in kernel memory: they defeated KASLR (kernel address space layout randomization), fashioned fake kernel data structures, and caused the device's chosen command to run as root the moment it was unplugged.
Scope: which systems are exposed and how likely exploitation is
The bug was introduced in Linux 6.5 and is present in every release from 6.5 onward until the fix is applied; it affects systems that have USB mass-storage support enabled through the usb-storage or uas drivers and that have a reachable USB port. Drivesec ran the exploit against a Debian machine running kernel 6.12.22 with KASLR switched on, using a programmable USB tool called a Cynthion.
There is no published success rate for the exploit. The researchers reported that the attack did not always work on their test machine, and that failed attempts do not crash the target system — allowing repeated tries. No real-world attacks or victims have been identified, and the flaw had not been added to the U.S. government's Known Exploited Vulnerabilities catalog as of publication. The fix was applied to the kernel in September and the CVE was published in October, so machines that have taken that update are not exposed.

Audit-ready is a season. It shouldn't be.
Evidence in spreadsheets, controls drifting between audits, frameworks multiplying on flat headcount. Nubivance runs continuous compliance on Rapid7 Cyber GRC - SOC 2, HIPAA, ISO 27001, PCI, CMMC.
End the scrambleMitigation steps for administrators and operators
The researchers and the kernel advisory provide concrete steps. The primary recommendation is to update to a kernel that includes the upstream fix or to backport the specific upstream fix commit. If administrators cannot update immediately, the guidance is:
- Prevent the usb-storage and uas drivers from loading on machines that do not need to read USB storage.
- Require devices to be approved before the kernel loads a driver for them, using USB allow-listing such as USBGuard or the authorized_default=0 setting.
The researchers offer a script to check whether a system is vulnerable, but they caution that the script can miss vendor backports; its output should be treated as a hint rather than definitive proof. The advisory also notes that distribution kernels may differ from upstream numbering: Debian's standard version 12 kernel never contained the flawed code according to Debian's security tracker, while Red Hat delivered the fix in a kernel it numbers 5.14. Administrators should check their distribution-specific kernels rather than relying solely on upstream release numbers.
Sashiko, Drivesec and how the bug was found
The initial flag came not from a human reviewer but from Sashiko, an AI code-review system Google built for the Linux kernel and gave to the Linux Foundation; Sashiko reported the issue on the kernel mailing list. Drivesec says it independently found the same flaw, developed the fix, and built the working exploit — and that the AI did not write the exploit. Google, in a project retrospective, said Sashiko has been credited in 528 Linux kernel CVE fixes this year, while cautioning it is "too early to make strong claims" about how much credit the tool deserves.
What this means for kiosk operators, distribution maintainers, and Android device builders
- Kiosk operators and owners of publicly accessible equipment (self-service kiosks, payment terminals, car infotainment units, EV chargers, smart-home hubs): an open USB port is the practical attack vector the researchers emphasize. None of those device classes has been shown compromised, but they represent places where a stranger can physically reach a port.
- Distribution maintainers and enterprise patch teams: upstream version numbers do not map cleanly onto distribution kernels because of backporting. Teams should verify whether their distribution backported the fix (Debian 12 never contained the flawed code; Red Hat delivered a fix in a kernel labeled 5.14) and either install vendor updates or apply the upstream fix commit.
- Android device builders and OEMs: phone kernels on version 6.6 and newer hand the device some kernel memory in the same code path, but the researchers found only a memory leak on the Android builds they checked. Those builds, including Google's generic Android kernel and the Samsung Galaxy A16 kernel they examined, used a compiler check that blocked the memory-changing step.
The technical details make this a low-likelihood but high-impact class of bug: it requires physical access to a USB port but can run before any user is present to notice or intervene. The fix has been available since September, and the researchers found no evidence of real-world exploitation — but they leave operators with a clear choice: patch promptly, or remove the automatic trust the kernel places in newly attached USB storage.




