usb2shell: CVE-2026-98232 Lets a Rigged USB Stick Reach Linux Kernel Stack Memory, Fixed Since Sept. 9
Security / news
usb2shell: CVE-2026-98232 Lets a Rigged USB Stick Reach Linux Kernel Stack Memory, Fixed Since Sept. 9
The flaw needs physical access and a kernel from 6.5 on; Drivesec says it chained it to root on stock Debian, while SUSE scores the bug itself 5.7.

A malicious USB storage device plugged into a Linux machine can read kernel stack memory and, per its discoverers, be chained into root command execution, with no login, mount or click needed (physical access to a port, a kernel 6.5 or later with USB mass storage, and a device that claims ATA command duration limit support are the preconditions). The bug is CVE-2026-98232, and the researchers at Drivesec S.r.l. published a full write-up named usb2shell on Nov. 30, 2026.
The fix has been upstream since Sept. 9. The practical instruction is to move to a patched kernel, or, where USB storage is not needed, to stop the usb-storage and uas drivers from loading.
What the flaw is
The defect sits in scsi_cdl_enable() in the Linux SCSI core. The function trusts length fields in a device's MODE SENSE reply to locate a feature page inside a 64-byte stack buffer. A device can report a total length shorter than its own header and block descriptors, so the arithmetic wraps and the kernel reads and writes outside the buffer.
Drivesec says that lets an attacker leak up to 64 bytes of kernel stack and overwrite one stack byte, and that it chained this into root command execution on a stock Debian kernel with KASLR enabled. That chain is the researchers' own claim; SUSE's entry describes a proof of concept in a QEMU test setup that created a root-owned marker file during enumeration.

The score understates the physical risk and overstates the remote one
SUSE scores it 5.7, Moderate, with the vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L. The physical attack vector is what holds the number down. Nothing here is reachable over a network.
For a kiosk, a conference-room machine, a lab workstation or a shared server in a cage, a person with a crafted device is the realistic threat. Drivesec says the bug is triggered by the kernel's automatic scan of a newly connected device, with no mount or user interaction.
Android is affected less. Drivesec says kernels from 6.6 on are exposed only as an information leak, because the builds it checked use compiler bounds checks that keep the write inside the buffer.
Fixed versions
| Branch | Fixed in | Source |
|---|---|---|
| 6.6.y | 6.6.158 | Drivesec |
| 6.12.y | 6.12.112 | Drivesec |
| 6.12 (Debian trixie) | 6.12.113-1 | Debian tracker |
| 6.18.y | 6.18.54 | Drivesec |
| 7.2.y | 7.2.8 | Drivesec |
| Mainline | 7.3 | Drivesec |
The sources disagree in places. SUSE says the upstream commit (3d676e458fe0) landed in 7.3-rc4, where Drivesec lists mainline 7.3. Debian lists bookworm's linux package as "not affected" in one field and as fixed at 6.1.192-3 in its per-release table, and its fixed 6.12 build is 6.12.113-1 rather than 6.12.112. Vendors can backport without changing a version number, so check the advisory rather than comparing numbers alone.
Timeline
- Patch sent to linux-scsi (Sept. 4)2 days
- Fix committed (Sept. 9)7 days
- CVE reserved (Sept. 25)23 days
- CVE published by Linux CNA (Oct. 6)34 days
- Public write-up (Nov. 30)89 days
Source: usb2shell.com disclosure timeline, accessed 2026-12-01
Drivesec found the bug on Aug. 26. The page says Sashiko AI Review first reported the bug on linux-scsi, while Drivesec found it independently, wrote the fix and built the exploit. SUSE's entry also says Drivesec reported it independently. The fix reached stable branches before the CVE existed, so operators who track advisories rather than changelogs had a gap of 27 days between commit and CVE publication.
None of the three sources listed below reports exploitation in the wild.
What to do
Update to a fixed kernel from your distribution. Where mass storage is not needed, stop building or auto-loading usb-storage and uas. Where it is, use USB allow-listing such as USBGuard or authorized_default=0 so unauthorized devices are never scanned.
Debian's tracker lists DSA-6568-1 for trixie and DLA-4850-1 for bookworm's linux-6.12. SUSE lists a fix for openSUSE Tumbleweed in kernel-source 7.2.10-1.1. For a related kernel failure that surfaced in production, see the memory-pressure flag that throttled nginx sockets at CDN77, and for another bug pipeline fed by automated review, Drupal's eight-month support window.
Sources
More in Security
- 01Canada Confirms AI-Enabled Intrusion on Federal Networks, With a Permit Portal the Only System NamedThe Office of the Chief Information Officer gave no vector, actor or victim count on Nov. 30, and the September probing it resembles was a separate, failed scrape.
- 02Claude-BugHunter Gained 1,221 Stars in a Day; Its "Battle-Tested" Claim Is the Author's OwnThe Claude Code bundle of 85 red-team skills leans on Anthropic's Cyber Verification Program, whose Red Team tier an individual cannot join.
- 03Anthropic's Rumoured Lattice Cryptanalysis Result Has No Paper, While the July HAWK and AES Work DoesA November 29 post says Claude advanced lattice cryptanalysis; two named people dispute parts of the rumour, and Anthropic's documented results are narrower.
- 04Drupal Cuts Core Security Support to 8 Months as AI-Found Bugs Pile UpAnthropic's scanner found the Drupal installer bug. Drupal's PSA-2026-11-02 says the report volume exceeds what its team can sustain on current funding.