News.Lavx.Hu usb2shell: Malicious USB Device Can Gain Root on Unpatched Linux Kernels (CVE-2026-98232)
Article Content
- •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.
Ask AI about this cluster
Answers cite the sources they use
Timeline
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?
Is this being exploited?
What should we do first?
Continue Reading
Oracle Addresses Critical Java4Shell Vulnerability Affecting Third-Party Apps Oracle has disclosed a critical vulnerability in Java, dubbed Java4Shell, that allows attackers to crash the Java Virtual Machine (JVM) or gain unauthenticated remote code execution (RCE) on affected systems. This flaw impacts numerous third-party applications that utilize Java, raising significant security concerns.…
Critical Java Vulnerability Exposes Systems to Remote Attacks A severe vulnerability in Java, named Java4Shell, has been discovered by the cybersecurity firm Calif, which could allow hackers to remotely execute malicious code on affected systems. This flaw resides in Java's Base64 decoder and affects critical infrastructure used by banks, airlines, hospitals, and government…