Skip to content
NewA calmer, faster ZeroHour

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

Cyber Security Newsby Tushar Subhra Dutta ()4 min read2 · 1 read
Part of a story covered by 10 sourcesLinux NFS server flaw NFS2ROOT can give remote rootMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the articlePublic proof of concept

Impact: Root command execution from a malicious USB device

ProductAffectedFixed in
Linux kernelunpatched kernels from 6.5 onward with USB mass storage6.6.158, 6.12.112, 6.18.54, 7.2.8, mainline 7.3
What to do
  1. 1.Patch to the fixed branch release or a vendor backport that includes the fix.
  2. 2.Block usb-storage and uas on systems that do not need USB storage.
  3. 3.Use USBGuard or default-deny USB authorization where peripherals are still required.
Analyze CVE-2026-98232 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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.

Cyber Security News

By Tushar Subhra Dutta · cybersecuritynews.com

Read the full article at Cyber Security News

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.