Linux USB scan bug yields root from a crafted plug-in (CVE-2026-98232)
Original title: usb2shell: Root on Linux from a USB Plug-In
A Cynthion proof of concept got root on stock Debian 6.12.22+bpo-amd64; failed tries retry without crashing.
Drivesec published usb2shell, a physical attack on Linux 6.5 and later when USB mass storage is present. During automatic SCSI device scan, unchecked MODE SENSE lengths in scsi_cdl_enable() can leak up to 64 bytes of kernel stack and clear one chosen stack byte. A Cynthion proof of concept breaks KASLR and, after unplug, runs a device-supplied command as root. Fixes are in named stable releases and mainline 7.3; Android builds checked were a leak only.
Unconfirmed: The page says Sashiko AI Review first reported the bug on linux-scsi, while Drivesec found it independently.
- Fixed releases named: 6.6.158, 6.12.112, 6.18.54, 7.2.8, and mainline 7.3.
- No user interaction or mount is required; the bug fires during device scan.
- Upstream fix commit is 3d676e458fe0, committed on September 9.
- On checked Android kernels the write stays inside the buffer, so it is a leak only.
- Drivesec found the bug on August 26 and reported it privately on September 2.
Impact: kernel stack leak and root command execution via USB
| Product | Affected | Fixed in |
|---|---|---|
| Linux kernel | 6.5 or later without the fix | 6.6.158, 6.12.112, 6.18.54, 7.2.8, mainline 7.3 |
- 1.Update to a named fixed kernel or backport commit 3d676e458fe0.
- 2.Do not build or auto-load usb-storage or uas if mass storage is unnecessary.
- 3.Use USB allow-listing such as USBGuard or authorized_default=0.
- CVEs
- CVE-2026-98232
- Products
- Linux kernel
- Organizations
- Drivesec
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-98232 | Linux kernel: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable() scsi_cdl_enable() uses length fields returned by… | — | — |
From the original article
3 min read at usb2shell.comThe Cynthion USB device (left) attacks a stock Debian 6. 12. 22+bpo-amd64 kernel; the target's kernel log is on the right.
By usb2shell.com via kriive · usb2shell.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.