Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A split terminal screen from Drivesec's USB2Shell demonstration, with the attacking tool on the left reporting a SCSI stack disclosure, KASLR resolved and a completed USB-side chain, and the target Debian 6.12.22 kernel log on the right ending with a USB disconnect followed by the lines whoami=root and uname=6.12.22+bpo-amd64.
Image: Drivesec (fair use), usb2shell.com, USB2Shell demonstration video, November 30, 2026. The attack tool (left) and the target's kernel log (right) on a successful run.

Response

A Rigged USB Stick Can Get Root on Unpatched Linux Machines Without Anyone Logging In, and the Researchers Behind USB2Shell Point to Kiosks, Payment Terminals and Industrial Screens

Drivesec says the flaw, CVE-2026-98232, sits in code the kernel runs the moment a storage device is plugged in, before a lock screen or mount policy can intervene. It was fixed in September, so the work for defenders is finding the Linux 6.5 and later systems with reachable ports that never took the update.

Noah Park, ResponseNew York4 min read

NEW YORK - A specially built USB device can make an unpatched Linux computer run a command of the attacker's choosing as root, with no one logged in and no drive mounted, according to the Italian security firm Drivesec, which published the flaw and a working demonstration on Monday under the name USB2Shell.

The bug, tracked as CVE-2026-98232, is in the kernel's SCSI core, in a function that switches on a storage feature called Command Duration Limits. Support for that feature arrived in Linux 6.5. When a newly connected device claims to be an ATA disk that supports it, the kernel reads a block of settings from the device into a 64-byte buffer on its stack and trusts the length values the device supplies. Drivesec said a device that lies about those lengths can make the kernel hand over up to 64 bytes of kernel stack memory and clear a single byte at an offset the device chooses.

All of that happens during the automatic scan the kernel runs when the device is plugged in, before user space ever sees a disk. That is why a locked screen or a policy against mounting unknown drives does not help.

From one byte to root

The USB2Shell demonstration at the start of a scan, with the target's kernel log showing a new high-speed USB device with vendor ID 04e6 and product ID 000b, product string eUSCSI Bridge, manufacturer Shuttle and serial number CDL-DIRECT-UMH-EXACT-BUILD.
Image: Drivesec (fair use), usb2shell.com, USB2Shell demonstration video, November 30, 2026. The malicious device introducing itself to the target kernel.

Drivesec built its proof of concept on a Cynthion, a small programmable USB tool, and ran it against a stock Debian machine on kernel 6.12.22 with KASLR, the kernel's address randomization, turned on. The company said the memory leak let it defeat KASLR and that its chain builds fake kernel structures to turn the one-byte change into a controlled write. When the device is unplugged, the kernel runs a command supplied by the device as root.

The exploit does not always work on the first try. "While the exploit is probabilistic, no crash is triggered on failed executions," Drivesec wrote, which means an attacker with physical access can simply try again. In the company's video, the first two attempts miss and the third returns root. Drivesec has not published a success rate.

On Android, the company said, the bug only leaks memory. Android kernels on 6.6 and later are affected, but the builds it checked, Google's generic kernel image and the kernel on a Samsung Galaxy A16, use compiler bounds checks that keep the write inside the buffer.

Fixed in September, published now

The USB2Shell demonstration during a later scan, with the target kernel log showing usb-storage detecting a USB mass storage device from vendor 04e6, applying a quirks match and attaching it as SCSI host 2.
Image: Drivesec (fair use), usb2shell.com, USB2Shell demonstration video, November 30, 2026. The usb-storage driver claiming the device during the automatic scan.

According to Drivesec's timeline, its researchers found the bug on August 26, had root on physical hardware two days later, reported it privately to the SCSI maintainers on September 2 and sent a patch on September 4. The fix, commit 3d676e458fe0, was committed on September 9, and the Linux kernel's CVE team published CVE-2026-98232 on October 6. Drivesec credits Sashiko, an AI code-review system, with first reporting the bug on the linux-scsi mailing list, and says its own team found it independently, wrote the fix and built the exploit.

The first fixed stable releases are 6.6.158, 6.12.112, 6.18.54 and 7.2.8, and mainline 7.3. Drivesec cautions that distributions and device makers often backport fixes without changing the version number, so the vendor's advisory for CVE-2026-98232 is the authority, not the version string. The company has published a checker script with the same caveat.

No exploitation in the wild has been reported, and the flaw needs someone at a port. Drivesec's point is that many Linux systems have ports strangers can reach: car infotainment and telematics units, EV chargers, point-of-sale terminals, kiosks, in-flight entertainment, industrial HMIs and smart-home hubs. It offers those as examples of where an open port matters, not as a list of compromised products.

What a SOC should do

  • Inventory Linux systems on kernel 6.5 or later that have USB mass storage support and a port the public, contractors or visitors can reach, starting with kiosks, payment terminals, lobby screens and HMIs. Confirm the CVE-2026-98232 fix against the vendor advisory, not the kernel version.
  • Where a fixed kernel is not available yet, stop the usb-storage and uas drivers from loading on machines that never need to read USB drives, or turn on USB allow-listing with USBGuard or authorized_default=0 so the kernel does not scan unapproved devices.
  • Forward kernel logs from exposed devices and alert on new USB mass storage attachments where none are expected. The demonstration device identified itself as vendor 04e6, product 000b, an eUSCSI Bridge from Shuttle, but an attacker can change those strings, so treat the event, not the name, as the signal.
  • Ask suppliers of embedded and OT equipment which kernel they ship and when they will deliver the fix. Those boxes are the ones least likely to be patched by routine IT updates.
  • Remember that a lock screen is not a control here. Physical port protection and allow-listing are.

About the Author

Noah Park

Noah Park covers incident response and blue-team operations for SOCtember from New York.

Related stories

Response desk