Skip to content
NewA calmer, faster ZeroHour

USB2Shell Linux kernel flaw gives malicious USB devices root without login

Original title: USB2Shell Linux Kernel Flaw Lets Malicious USB Devices Gain Root Access Without Login

The Hacker News ()4 min read
Part of a story covered by 2 sourcesLinux USB SCSI bug CVE-2026-98232 can yield root from a deviceMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

CVE-2026-98232, introduced in Linux 6.5 and fixed in September, has no known real-world attacks.

Drivesec showed a crafted USB storage device can make an unpatched Linux kernel run an attacker command as root during the automatic device scan, before login or mounting. The SCSI core copies device-supplied lengths into a stack buffer without a bounds check, allowing a 64-byte stack read and a one-byte overwrite that researchers turned into arbitrary kernel writes on one test machine. Debian 12’s standard kernel never had the bug, while Red Hat shipped a fix in a kernel numbered 5.14. No victims are identified, and the flaw is not in CISA’s KEV catalog.

Unconfirmed: No real-world attacks or victims have been identified, and the exploit is probabilistic with no published success rate.

Key facts
  • They tested Debian kernel 6.12.22 with KASLR enabled, using a Cynthion USB device.
  • A failed attempt does not crash the machine, so the attacker can retry.
  • Checked Android builds leak kernel memory but block the one-byte overwrite.
  • Sashiko, Google’s kernel review AI, reported the bug; Drivesec built the exploit.
  • A machine is exposed only with usb-storage or uas and a reachable USB port.
Security assessment · AI, from the articlePublic proof of concept

Impact: Root command execution from a malicious USB device

ProductAffected
Linux kernel6.5 onward until the fix
Google Androidphone kernels 6.6 and newer
What to do
  1. 1.Update to a kernel that includes the fix, or backport the upstream fix commit.
  2. 2.Stop usb-storage and uas from loading on machines that do not need USB storage.
  3. 3.Require USB approval with USBGuard or the authorized_default=0 setting.
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…
——

From the original article

4 min read at thehackernews.com

A crafted USB device can make an unpatched Linux machine run an attacker's command as root, without anyone logging in, mounting a drive, or clicking anything, researchers at Drivesec showed yesterday. The flaw, dubbed "USB2Shell," is in the Linux kernel, which scans a USB storage device the moment it is plugged in, before anyone signs in. It was fixed in the kernel in September and published as

The Hacker News

thehackernews.com

Read the full article at The Hacker 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.