A vulnerability has been disclosed that lets a crafted USB storage device exploit a flaw in the Linux kernel simply by being plugged in. On November 30, 2026, Drivesec, an Italian company specializing in the security of connected products and IoT/OT systems, explained the issue under the name "usb2shell" (Drivesec's write-up). It is tracked as CVE-2026-98232. This article covers what happens, which environments are affected and what can be done now. Drivesec's write-up and the CVE record do not mention any actual exploitation.
What happens: it is triggered by the automatic scan on plug-in
When a USB storage device is plugged in, Linux automatically examines it (scans it). According to the CVE description, during this scan a function called scsi_cdl_enable() uses length values returned by the device without enough checking, and accesses memory outside a 64-byte buffer (CVE record). As a result, the device can receive up to 64 bytes of kernel stack contents and can clear the low two bits of one stack byte.
No mount, click or login is needed. The crafted device reaches the flaw by identifying itself as an ATA device that supports a feature called CDL (Command Duration Limits). The attack requires physically plugging in a device; it is not an attack over the network.

Figure 1: The flow from plugging in the USB device to the problem, where each countermeasure works, and the first fixed versions. Sources: Drivesec's write-up, the CVE record from the Linux kernel CVE Numbering Authority
What is affected, and fixed versions
According to Drivesec, a system is exposed when all of the following are true:
- It runs Linux 6.5 or later without the fix.
usb-storageoruas(the USB storage drivers) is built in or loaded automatically.- Someone can plug a device into one of its USB ports.
The first releases with the fix are:
| Branch | First fixed release |
|---|---|
| 6.6.y | 6.6.158 |
| 6.12.y | 6.12.112 |
| 6.18.y | 6.18.54 |
| 7.2.y | 7.2.8 |
| mainline | 7.3 |
Distributions and device vendors sometimes backport fixes without changing the version number. Drivesec has published a checker script and asks users whose kernel is flagged to check their vendor's advisory. As of December 5, 2026, neither the CVE record nor NVD lists a CVSS score (NVD).
Conditions of the proof of concept, and devices that may be affected
Drivesec reports that, on a stock Debian kernel 6.12.22+bpo-amd64 and over a real USB port, it got the kernel to run a command chosen by the device as root. KASLR (a defense that randomizes the kernel's memory layout) was enabled, and the attack used a device called Cynthion. The exploit is probabilistic, however: in the published video, the first two attempts fail and the third succeeds. Failed attempts did not crash the system and could simply be retried. It will not necessarily succeed the same way on every Linux device.
The CVE record also describes a separate proof on upstream Linux 7.3-rc1 running in QEMU with one virtual CPU. That is a different setting from Drivesec's proof on real hardware over USB with Debian.
As examples of Linux devices with USB ports that strangers can reach, Drivesec lists car infotainment and telematics units, EV chargers, point-of-sale terminals, kiosks, in-flight entertainment, industrial HMIs and smart-home hubs. These are examples of devices that may be exposed, not a list of incidents. On Android, Drivesec says the builds it checked (Android GKI and the Samsung Galaxy A16 shipping kernel) use compiler bounds checks that keep the write inside the buffer, so the bug is only a leak there. Only some builds were checked, however.
An AI code review reported it first
According to Drivesec, the first report of this issue on the linux-scsi mailing list came from Sashiko AI Review, an AI-based code review. Drivesec says its research team found the bug independently, wrote the fix and built the exploit chain. The fix patch also credits Sashiko AI Review as the reporter (the fix patch).
According to Drivesec's timeline, it found the bug on August 26, achieved root command execution on physical hardware on August 28, reported it privately to the maintainers on September 2, and sent the patch on September 4. The fix was committed on September 9, and the CVE was published on October 6.
What Japanese companies should check
Companies with devices or terminals that embed Linux should check the following:
- Whether they have confirmed with vendors that their kernels are fixed versions or include the backported fix.
- Whether they allow only approved devices, using USBGuard or the
authorized_default=0setting. - Whether they have removed unneeded
usb-storageanduasfrom the build or from automatic loading. - Whether they know which devices sit in places such as stores and factories where third parties can plug in USB devices.
Not mounting devices does not prevent this problem. Assume it happens at the moment of plug-in, and combine device updates with restrictions on what can connect.
Elith builds AI products for enterprises and conducts advanced research, with AI safety and security as its foundation. We share trends in AI safety and security, along with insights from research and practice, through Elith AI Signal. We will continue to read developments in vulnerabilities and their countermeasures from primary sources and report on them.

