TL;DR
Drivesec published full technical details and a public Linux USB root exploit proof-of-concept (PoC) on November 30, 2026, for the usb2shell Linux vulnerability (CVE-2026-98232, CVSS 8.4). The Linux kernel SCSI flaw lets a rogue USB storage device run root commands on Linux 6.5 and newer during automatic scanning. Therefore, admins must patch their kernels or block untrusted USB storage ports now.
- CVE: CVE-2026-98232
- CVSS: Awaiting analysis
- Product: Linux
- Affected: 1b22cfb14142aba7742d307c4f8d7006f919308c, 6.5
- Impact: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()
- Status: No confirmed exploitation yet
- Patched in: 39491a1ae93054fea10b4030180e5c797b2c0343, 60b0b8ce803e3c2b2a9e5485ab3f88599fb4c7a4, 6233d0b3ef4623df0d6934dc8b93b161e9854f6b, 99a6e4a9176da456904b67dcbae6e77d122782b7 (+6 more)
- EPSS: 0.2% (30-day)
- Action: Update to 39491a1ae93054fea10b4030180e5c797b2c0343, 60b0b8ce803e3c2b2a9e5485ab3f88599fb4c7a4, 6233d0b3ef4623df0d6934dc8b93b161e9854f6b, 99a6e4a9176da456904b67dcbae6e77d122782b7 (+6 more) now
Why It Matters
Unlike remote flaws, usb2shell turns brief physical access to a USB port into full root control. Many Linux hosts sit in public spaces with open USB ports. Think of EV chargers, car head units, retail point-of-sale boxes, kiosks, and plant HMIs. In its Red Hat advisory, Red Hat warns, “Because the condition triggers automatically upon device probing without needing user interaction or volume mounting, systems that allow hot-plugging of untrusted hardware or emulated devices are exposed.”
Drivesec also shared a working PoC write-up and a scanner script on the official usb2shell portal. Researchers built the Linux USB root exploit on a Cynthion USB board against a stock Debian 6.12 kernel with KASLR turned on. At press time, CISA KEV confirm no active attacks in the wild. Still, public details raise the risk for unpatched kiosks and edge devices facing this usb2shell Linux vulnerability.

How the Attack Works
Integer Underflow in scsi_cdl_enable()
The bug (CWE-787) sits in the Linux SCSI core added in kernel 6.5 for Command Duration Limits (CDL). When the kernel scans a new USB drive claiming ATA and CDL support, it calls scsi_cdl_enable(). That function reads a mode page into a 64-byte stack buffer and writes it back.
However, the code trusted length fields from the USB device with no bounds checks. A rogue drive can send bad MODE SENSE lengths to cause an integer underflow. As Drivesec notes, “The device can read up to 64 bytes of kernel stack and overwrite one stack byte.” Everything fires before userspace sees a disk, so turning off automount does not stop it.
Turning One Byte into Root Control
In Drivesec’s lab test, the 64-byte stack leak broke KASLR. Next, the chain built fake kernel structures to turn the single-byte write into controlled execution. Once unplugged, the kernel ran a device-supplied command as root. On Android 6.6 and newer, Drivesec found that compiler bounds checks block the write, leaving only a memory leak.
Affected Versions
- Linux Kernel: Versions 6.5 and later before 6.6.158, 6.12.112, 6.18.54, 7.2.8, and 7.3.
- Red Hat Enterprise Linux: RHEL 9 and 10 kernels patched via RHSA-2026:102090, RHSA-2026:102168, and RHSA-2026:102710.
- Debian and Cloud Linux: Fixed in Debian 12/13 (6.12.113-1), Amazon Linux 2023 (ALAS2023-2026-3335, ALAS2023-2026-3192), and AlmaLinux 9.
- Android: Kernels 6.6 and newer (information leak only).
Patch and Mitigation Steps
Admins should upgrade to a patched vendor kernel or backport upstream commit 3d676e458fe0 and reboot. You can also test hosts with Drivesec’s usb2shell-check.sh script, though vendor backports may keep older version numbers.
If you cannot patch right away, stop usb-storage and uas modules from loading where drives are not needed. Also, enable USB allow-listing with USBGuard or authorized_default=0 to block this usb2shell Linux vulnerability.
Support Our Threat Intelligence
Find our vulnerability reports and weekly recaps helpful? Support our work today and unlock a 100% ad-free reading experience!