Skip to content
NewA calmer, faster ZeroHour

Linux SCSI bug CVE-2026-98232 gives root through a malicious USB device

Original title: USB2Shell Linux Kernel Vulnerability Allows Root Access Through Malicious USB Devices Without Login

GBHackersby Mayura Kathir ()3 min 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

Drivesec’s usb2shell exploit needs only a reachable USB port on unfixed Linux 6.5 or later; no login or click is required.

CVE-2026-98232 is a stack out-of-bounds bug in scsi_cdl_enable() that the kernel hits while scanning a USB storage device claiming ATA Command Duration Limits support. A malicious device can leak up to 64 bytes of kernel stack and clear one chosen stack byte before userspace sees a disk. Drivesec demonstrated root command execution on a stock Debian 6.12 kernel with KASLR; Android 6.6 and later builds they checked leak data but block the write. Fixed stable and mainline releases are listed, and the Linux CNA published the CVE on October 6.

Unconfirmed: The write-up does not say the bug has been used in real attacks.

Key facts
  • Fixed releases named: 6.6.158, 6.12.112, 6.18.54, 7.2.8 and mainline 7.3.
  • The upstream fix is commit 3d676e458fe0.
  • The demo’s first two attempts missed; the third ran whoami and uname as root.
  • Failed attempts did not crash the tested system.
  • Drivesec reported the bug privately on September 2 and published the write-up on November 30.
Security assessment · AI, from the articlePublic proof of concept

Impact: Local root command execution from a plugged-in USB device

ProductAffectedFixed in
Linux kernel6.5 or later without the fix6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
What to do
  1. 1.Update to a fixed kernel or backport commit 3d676e458fe0.
  2. 2.Where patching is delayed, stop auto-loading usb-storage and uas if mass storage is unnecessary.
  3. 3.Use USB allow-listing such as USBGuard or authorized_default=0.
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

3 min read at gbhackers.com

A Linux kernel vulnerability, tracked as CVE-2026-98232. It lets a crafted USB device run commands as root on a vulnerable machine. The vulnerability is a stack out-of-bounds bug in the Linux SCSI core, in the function scsi_cdl_enable().

GBHackers

By Mayura Kathir · gbhackers.com

Read the full article at GBHackers

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.