Linux usb2shell flaw gives root via malicious USB (CVE-2026-98232)
Original title: New usb2shell Attack Let Hackers Gain Root Access with a Malicious USB
A public proof of concept works on an unpatched Debian kernel; Drivesec reported no attacks in the wild.
Drivesec researchers disclosed usb2shell, CVE-2026-98232, a Linux kernel bug in SCSI storage code introduced with Command Duration Limits in Linux 6.5. A connected USB storage device can leak up to 64 bytes of kernel memory and write one byte out of bounds during the initial scan, without a login or mount. They achieved root command execution on a stock Debian kernel with memory-layout protection, though not on every attempt. Android builds they checked still leaked memory but blocked the write. No victims or in-the-wild attacks were reported.
Unconfirmed: Root execution was not reliable on every attempt and was not shown on Android.
- First fixed releases listed: 6.6.158, 6.12.112, 6.18.54, 7.2.8, and mainline 7.3.
- The upstream fix was committed on September 9; the CVE was published October 6.
- Disabling automatic mounting does not stop the kernel scan.
- Physical access to a USB port is required.
- Vendors may backport the fix without matching those version numbers.
Impact: Root command execution from a malicious USB device
| Product | Affected | Fixed in |
|---|---|---|
| Linux kernel | unpatched kernels from 6.5 onward with USB mass storage | 6.6.158, 6.12.112, 6.18.54, 7.2.8, mainline 7.3 |
- 1.Patch to the fixed branch release or a vendor backport that includes the fix.
- 2.Block usb-storage and uas on systems that do not need USB storage.
- 3.Use USBGuard or default-deny USB authorization where peripherals are still required.
- CVEs
- CVE-2026-98232
- Vendors
- Linux
- 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… | — | <1% | PoC ×4 |
From the original article
4 min read at cybersecuritynews.com
A malicious USB device can make an unpatched Linux system run commands as root, the operating system’s highest level of access. The flaw, dubbed usb2shell and tracked as CVE-2026-98232, kicks in when the Linux kernel automatically checks a newly connected USB storage device. Nobody needs to sign in, open a file, or mount a drive.
By Tushar Subhra Dutta · cybersecuritynews.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.