Washington · Metropol Post
US Markets
S&P Futures
7,521.25
-0.25%
Dow Futures
52,295.00
-0.29%
Nasdaq Futures
29,107.75
-0.25%
Russell 2000
2,970.10
+0.01%
VIX
17.62
+5.89%
Gold
4,093.20
-1.41%
Bitcoin USD
65,739.54
-0.40%
Crude Oil
90.58
+4.31%
EUR/USD
1.0842
+0.12%
10Y Yield
4.38%
-0.02
S&P Futures
7,521.25
-0.25%
Dow Futures
52,295.00
-0.29%
Nasdaq Futures
29,107.75
-0.25%
Russell 2000
2,970.10
+0.01%
VIX
17.62
+5.89%
Gold
4,093.20
-1.41%
Bitcoin USD
65,739.54
-0.40%
Crude Oil
90.58
+4.31%
EUR/USD
1.0842
+0.12%
10Y Yield
4.38%
-0.02
Technology

Drivesec's usb2shell flaw lets a USB device run root commands on Linux

Anyone who can reach a USB port on an unpatched Linux machine may not need your password. Finding out whether yours is exposed takes more care than reading a kernel version.

Drivesec's usb2shell flaw lets a USB device run root commands on Linux

Anyone who can reach a USB port on an unpatched Linux machine may not need your password. Finding out whether yours is exposed takes more care than reading a kernel version. On November 30, Italian security company Drivesec disclosed usb2shell, a Linux kernel bug that let its test device run commands as root with no login, mounted drive or click.

It's tracked as CVE-2026-98232. Red Hat scores it 8.4 out of 10 with a severity of Important. An attacker needs to plug a crafted device into one of your USB ports, and the machine needs the usb-storage or uas driver built in or able to load.

Red Hat also flags the risk of virtual devices being attached to a guest system. According to The Hacker News, no attacks or victims had been found at publication, and the flaw wasn't on CISA's Known Exploited Vulnerabilities list. The fault sits in a function called scsi_cdl_enable(), part of the Command Duration Limits support added in Linux 6.5.

When a new device presents itself as an ATA drive with that feature, the kernel reads its settings into a 64-byte buffer and trusts the length values the device sends back. A dishonest device can use that to read up to 64 bytes of kernel stack memory and clear a single byte at a position it chooses. This happens during the automatic scan at plug-in.

Switching off automount won't protect you. Drivesec's researchers, credited as Z3r0n37 and Alberto247, used the leaked memory to defeat KASLR, which randomises where the kernel sits, and then turned that one cleared byte into root access. Their demonstration ran from a Cynthion USB board against a stock Debian 6.12.22 backports kernel.

Two attempts missed. The third ran the whoami and uname commands as root, with execution coming when the device was unplugged. The company calls the exploit probabilistic, says failed runs don't crash the target and publishes no success rate.

Its advisory describes the proof of concept in detail and offers a downloadable script that checks whether a system is exposed. The fix is older than the news. Drivesec reported the bug privately on September 2, the patch was committed on September 9 and the CVE appeared on October 6.

The advisory also notes that an AI system, Sashiko AI Review, reported the bug first on the Linux SCSI mailing list. Drivesec says it found the problem independently, wrote the fix and built the attack. Is your Linux machine affected by usb2shell?

For kernels taken straight from upstream, anything from 6.5 onward is exposed until patched. The fix is in 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3. Distribution kernels need more care.

Drivesec's script, as written, reports any version below 6.5 as not affected. Yet Red Hat released a fix for Red Hat Enterprise Linux (RHEL) 9 on November 20 in a kernel numbered 5.14.0-741.24.1.el9_9, followed by 5.14.0-687.69.1.el9_8 for the 9.8 extended support line. RHEL 10 received 6.12.0-264.19.1.el10_3, while RHEL 7 and 8 are listed as unaffected.

If you run RHEL 9, don't accept a clean result from a version check. The script can err the other way too. It has no fixed threshold for the 6.8 series, so it will flag a patched Ubuntu kernel unless you check Canonical's listing yourself.

Ubuntu shows the main 24.04 kernel fixed in 6.8.0-149.149 and the 26.04 kernel in 7.0.0-42.42. Cloud and hardware variants carry their own numbers, and several NVIDIA kernels were still marked as work in progress. Debian 13 is fixed in 6.12.113-1.

Debian 12's standard 6.1 kernel never had the flawed code, but its optional 6.12 package needs 6.12.113-1~deb12u1 or later. SUSE lists its Enterprise Server and Leap releases as unaffected, shows a fix for openSUSE Tumbleweed and gives the bug a much lower score of 5.7. Whatever you run, install your vendor's update, reboot and confirm the running kernel with uname -r.

If you can't patch yet Stop usb-storage and uas from loading on machines that don't need USB drives. You can also use USBGuard, or set authorized_default to 0 so new devices wait for approval, but test that first on any system you manage through a USB keyboard. Start with the hardware strangers can touch.

Drivesec names kiosks, point-of-sale terminals and EV chargers among the exposed device types, and an unattended laptop or a server in a shared rack deserves the same attention. On Android, the researchers found only a memory leak in the builds they checked. If a supplier ships your device with its own kernel, ask whether it includes upstream commit 3d676e458fe0.

Also read: Google's new Antigravity terms say a violation won't touch your Google account • WSTS Puts 2026 Chip Market at $1.8 Trillion, 85% Above Last Year's Call • Western Digital Jumped 10% on an AI Memory Call That Never Named It This article is posted in Technology News , check it out for more related stories.

Source: Startup Fortune

Distributed to Washington · Metropol Post by RedPress.

Related News

Contact Advertise Search RSS