Sign in

Drivesec Releases PoC Exploit for Linux USB Root Flaw

Add On the record as a preferred source on Google
Server (computing)
File photo: Server (computing). Photo: {{w:en:User:Rikva|Rikva}} / Public domain via Wikimedia Commons

Key facts

  • Affected Versions - Linux Kernel: Versions 6.5 and later before 6.6.158, 6.12.112, 6.18.54, 7.2.8.1
  • Researchers built the Linux USB root exploit on a Cynthion USB board against a stock Debian 6.12 kernel with KASLR turned on, SecurityOnline.info said.1 Integer underflow in scsi_cdl_enable() sits in the Linux SCSI core added in kernel 6.5 for Command Duration Limits (CDL), SecurityOnline.info said.1
  • CISA KEV confirmed no active attacks in the wild at press time, SecurityOnline.info said.1 Admins should upgrade to a patched vendor kernel or backport upstream commit 3d676e458fe0 and reboot, SecurityOnline.info said.1 Also, enable USB allow-listing with USBGuard or authorized_default=0 to block this usb2shell Linux vulnerability, SecurityOnline.info said.1

Drivesec published full technical details and a public Linux USB root exploit proof-of-concept (PoC) on November 30, 2026, for the usb2shell Linux vulnerability, CVE-2026-98232, SecurityOnline.info said.1

The Linux kernel SCSI flaw lets a rogue USB storage device run root commands on Linux 6.5 and newer during automatic scanning, SecurityOnline.info said..1 Unlike remote flaws, usb2shell turns brief physical access to a USB port into full root control, SecurityOnline.info said.1

How the exploit works

Researchers built the Linux USB root exploit on a Cynthion USB board against a stock Debian 6.12 kernel with KASLR turned on, SecurityOnline.info said..1 Integer underflow in scsi_cdl_enable() sits in the Linux SCSI core added in kernel 6.5 for Command Duration Limits (CDL), SecurityOnline.info said.1

When the kernel scans a new USB drive claiming ATA and CDL support, it calls scsi_cdl_enable(), SecurityOnline.info said..1 That function reads a mode page into a 64-byte stack buffer and writes it back, SecurityOnline.info said..1 The code trusted length fields from the USB device with no bounds checks, SecurityOnline.info said.1

A rogue drive can send bad MODE SENSE lengths to cause an integer underflow, SecurityOnline.info said..1 Everything fires before userspace sees a disk, so turning off automount does not stop it, SecurityOnline.info said..1 In Drivesec’s lab test, the 64-byte stack leak broke KASLR, SecurityOnline.info said.1

On Android 6.6 and newer, Drivesec found that compiler bounds checks block the write, leaving only a memory leak, SecurityOnline.info said.1

Patched versions and fixes

CISA KEV confirmed no active attacks in the wild at press time, SecurityOnline.info said..1 Admins should upgrade to a patched vendor kernel or backport upstream commit 3d676e458fe0 and reboot, SecurityOnline.info said..1

Affected systems and devices

Many Linux hosts sit in public spaces with open USB ports, SecurityOnline.info said..1 Think of EV chargers, car head units, retail point-of-sale boxes, kiosks, and plant HMIs, SecurityOnline.info said.1

Drivesec also shared a working PoC write-up and a scanner script on the official usb2shell portal, SecurityOnline.info said..1 Public details raise the risk for unpatched kiosks and edge devices facing this usb2shell Linux vulnerability, SecurityOnline.info said.1

Sources

Every number in the story points here. Each links to the original reporting.

Who reported it 1 outlet
LeftCenterRight

OfficialSecurityOnline.info

    See a sentence its source doesn’t back up?

    Tell us the source number and what’s wrong. We check every report. If we change the story, the fix goes on the corrections page with the old wording.

    More like this