Skip to content
usb2shell: Malicious USB Device Can Gain Root on Unpatched Linux Kernels (CVE-2026-98232)

usb2shell: Malicious USB Device Can Gain Root on Unpatched Linux Kernels (CVE-2026-98232)

First seen 1 Dec 2026, 00:23 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •December 1, 2026 at 10:18 UTC
  • •A malicious USB device can run commands as root on unpatched Linux 6.5+ systems during the automatic device scan, with no login or mount required.
  • •Exposure requires USB mass storage support (usb-storage or uas) and a physically reachable USB port.
  • •Fixed upstream in 6.6.158, 6.12.112, 6.18.54, 7.2.8 and mainline 7.3; check vendor advisories since backports may not change version numbers.
  • •Researchers demonstrated the exploit only on a test Debian 6.12.22 kernel; no real-world attacks have been reported.
  • •Android builds checked leak kernel memory but compiler bounds checks block the write.

Drivesec researchers published usb2shell, a proof-of-concept showing that a crafted USB device can execute commands as root on unpatched Linux systems during the kernel's automatic device scan, without login, mounting, or user action.

The flaw, tracked as CVE-2026-98232, is in the SCSI core's Command Duration Limits handling, introduced in Linux 6.5, where device-supplied mode page lengths are used without validation, allowing a 64-byte kernel stack disclosure and a one-byte out-of-bounds write.

The researchers defeated KASLR on a stock Debian 6.12.22 kernel using a Cynthion USB device and reported the exploit is probabilistic, with failed attempts not crashing the system.

Systems are exposed if they run Linux 6.5 or later without the fix, include USB mass storage support (usb-storage or uas), and have a reachable USB port; the research names kiosks, EV chargers, point-of-sale terminals, and industrial panels as examples of such systems.

Fixed releases are listed as 6.6.158, 6.12.112, 6.18.54, 7.2.8, and mainline 7.3, with upstream commit 3d676e458fe0; distributions may backport fixes without changing version numbers, so vendor advisories should be checked.

Android kernels on 6.6 and later leak kernel memory, but the builds checked (Android GKI and Samsung Galaxy A16) use bounds checks that prevent the write. Reporting states no real-world attacks have been identified, and the exploit was demonstrated only on a test machine.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-10-06
CVE-2026-98232 published
The flaw affecting Linux 6.5 and later was published as CVE-2026-98232 in October, after a kernel fix was made in September.
The Hacker News
2026-11-30
usb2shell research published
Drivesec published the usb2shell proof-of-concept and technical write-up describing root command execution via a crafted USB device.
News.Lavx.Hu
2026-12-01
Wider coverage of usb2shell
Security outlets reported on the flaw, noting the exploit's probabilistic nature and that distributions such as Debian and Red Hat ship differently numbered fixed kernels.
Cybersecuritynews

More articles in this cluster (11)

Following this threat?

Track Debian and CVE-2026-98232 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
You are exposed if you run Linux 6.5 or later without the fix, have usb-storage or uas support, and have a USB port someone can reach. Check your vendor's advisory, since backports may not change version numbers.
Is this being exploited?
No real-world attacks have been identified; the exploit was demonstrated on a test machine by Drivesec researchers.
What should we do first?
Update to a fixed kernel or backport upstream commit 3d676e458fe0. If you cannot update, restrict loading of usb-storage and uas on systems that do not need USB storage.