SecurityOnlineDo Son
Linux USB flaw lets rogue devices gain root access
Part of the CVE-2026-98232 story · since 1 Dec
- Tue 1 Dec, 08:30 UTC. The Hacker News, first report. USB2Shell Linux flaw lets malicious devices run commands as root.
- Tue 1 Dec, 09:00 UTC. SecurityOnline, its first report on the story. Linux USB flaw lets rogue devices gain root access. This article, 2nd of 2.
Drivesec has published full technical details and a public Linux USB root exploit proof-of-concept for CVE-2026-98232, describing how the usb2shell vulnerability can give a rogue USB device root access on Linux 6.5 and newer during automatic scanning. The Red Hat advisory notes that the condition triggers on device probing without user interaction or volume mounting, leaving systems that allow hot-plugging of untrusted hardware exposed.
At the time of reporting, CISA KEV confirmed no active attacks in the wild, though public details heighten risk for unpatched kiosks and edge devices. The article lists affected kernels and distributions, including Linux 6.5+ with specific regressions prior to certain patch levels, and mentions several patched builds across multiple vendors and distros.
The attack hinges on an integer underflow in the Linux SCSI core function scsi_cdl_enable(), introduced in kernel 6.5 for Command Duration Limits. A rogue USB drive can send a crafted MODE SENSE response that underflows a 64-byte stack buffer, enabling the kernel to leak a byte from the stack and, with subsequent steps, overwrite kernel structures enough to bypass KASLR and execute a root command.
In Drivesec’s lab, the sequence allowed a device-supplied command to run as root once the USB device was disconnected; compiler bounds checks on some platforms can mitigate this, leaving only a memory leak on Android 6.6+ and newer. Affected versions cited include Linux kernels 6.5 and later before 6.6.158, 6.12.112, 6.18.54, 7.2.8, and 7.3, with patches provided in several commit IDs and backports.
Mitigation steps include upgrading to patched kernels (or backporting upstream commit 3d676e458fe0) and testing with Drivesec’s usb2shell-check[.]sh; if patching is not feasible, administrators are advised to disable usb-storage and uas modules where appropriate and enable USB allow-listing. The article notes these mitigations are subject to vendor backports and version numbering.
How the story developed
2 articles from 2 outlets since 1 Dec. Still developing; the latest report was 52 minutes ago. This was the 2nd report, within the hour.
- Tue 1 Dec, 08:30 UTC. The Hacker News, first report. USB2Shell Linux flaw lets malicious devices run commands as root.
- Tue 1 Dec, 09:00 UTC. SecurityOnline, its first report on the story. Linux USB flaw lets rogue devices gain root access. This article, 2nd of 2.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 2 articles as a listHide the list
- Tue 1 DecDay 02
- USB2Shell Linux flaw lets malicious devices run commands as root08:30 · The Hacker News · First report
- Linux USB flaw lets rogue devices gain root access09:00 · SecurityOnline · This article, 2nd of 2