← Back to BLACKWIRE GHOST BUREAU PHYSICAL ZERO‑DAY Cynthion USB device attached to a laptop showing kernel log of exploit

The Cynthion device used by Drivesec to demonstrate root command execution on a Debian 6.12 kernel.

USB2SHELL BUG GIVES ROOT ACCESS ON LINUX VIA SIMPLE USB PLUG‑IN

*A stack out‑of‑bounds flaw in the Linux SCSI core lets a crafted USB device execute arbitrary commands as root. The bug, tracked as CVE‑2026‑98232, affects kernels from 6.5 onward and can be weaponised without any user interaction.*

By GHOST Bureau - BLACKWIRE  |  December 1, 2026, 12:00 CET  |  CVE-2026-98232, Linux kernel vulnerability, USB attack, root exploit, Drivesec

Drivesec’s research team uncovered a critical kernel flaw on 26 August 2026. The vulnerability, CVE‑2026‑98232, resides in the scsi_cdl_enable() function of the Linux SCSI core. A malicious USB mass‑storage device can read up to 64 bytes of kernel stack and overwrite a single byte, turning the kernel’s automatic device scan into a root‑level command execution vector. No login, mount, or click is required; the exploit fires the moment the device is plugged into a port that loads usb‑storage or uas.

The team demonstrated the attack on a stock Debian 6.12.22+bpo‑amd64 kernel using a Cynthion USB device. After two non‑crashing attempts, the third payload ran whoami and uname as root. The proof‑of‑concept broke KASLR, built fake kernel structures, and executed the attacker’s command when the device was unplugged. The exploit is probabilistic but does not crash the system on failure, making detection difficult.

What is CVE‑2026‑98232?

CVE‑2026‑98232 is a stack out‑of‑bounds bug in the Linux SCSI core, specifically in scsi_cdl_enable(). The function reads a mode page from a newly attached USB storage device into a 64‑byte stack buffer, then writes it back without validating the length fields. An attacker can force the kernel to copy up to 64 bytes of its own stack and overwrite a single stack byte at an attacker‑chosen offset. The flaw is triggered during the automatic scan of any USB mass‑storage device on kernels 6.5 and later. Linux 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3 contain the fix. Android kernels on 6.6+ leak stack data but retain compiler‑added bounds checks that prevent arbitrary writes.

Can a USB stick silently hijack a Linux server?

Yes. The bug requires only brief physical access to a USB port. When a crafted device announces CDL support, the kernel invokes scsi_cdl_enable() and executes the out‑of‑bounds write. No user interaction, mounting, or login is needed; the exploit runs before userspace sees any disk. Drivesec’s PoC showed a Cynthion device leaking kernel stack, breaking KASLR, and then issuing a root command after the device is unplugged. The attack works on any system that runs an unpatched kernel version 6.5+ and loads usb‑storage or uas automatically. Environments with publicly reachable USB ports—car infotainment units, EV chargers, POS terminals, kiosks, in‑flight entertainment, industrial HMIs and smart‑home hubs—are especially exposed.

A malicious USB device can make the Linux kernel run a command of its choice as root.

How can operators mitigate the risk today?

The immediate remedy is to update to a fixed kernel version or backport commit 3d676e458fe0, which adds proper MODE SENSE length validation. Where updates are not feasible, operators should disable automatic loading of usb‑storage and uas on untrusted ports. USB allow‑listing tools such as USBGuard or setting authorized_default=0 can block unauthorized devices. Stopping the scan of unauthorised devices further reduces exposure. Drivesec provides a checker script (usb2shell-check.sh) that reads the kernel version and reports vulnerability status. Vendors often backport fixes without changing the version number, so checking the vendor advisory for CVE‑2026‑98232 is essential.

Who discovered and patched the flaw?

Drivesec’s Italian research team, led by Z3r0n37 and Alberto247, identified the bug on 26 August 2026. They demonstrated root command execution on physical hardware two days later. After privately reporting the issue to the scsi maintainers on 2 September 2026, Drivesec submitted a patch on 4 September 2026. The fix was committed on 9 September 2026 (commit 3d676e458fe0) and back‑ported to stable branches. CVE‑2026‑98232 was reserved on 25 September 2026 and published by the Linux CNA on 6 October 2026. While Sashiko AI Review first reported the bug on the linux‑scsi mailing list, Drivesec independently found, patched, and built the exploit chain.

Frequently asked questions

Which Linux kernel versions are vulnerable to CVE‑2026‑98232?

All Linux kernels version 6.5 and later are vulnerable until they are updated to 6.6.158, 6.12.112, 6.18.54, 7.2.8 or later mainline 7.3.

Do Android devices get compromised by this bug?

Android kernels 6.6 and later are affected but only leak kernel stack data; compiler bounds checks in the builds examined keep the write inside the buffer, preventing arbitrary command execution.

How can I test if my system is vulnerable?

Download and run the usb2shell-check.sh script from https://usb2shell.com/tools/usb2shell-check.sh; the script reports whether the running kernel is vulnerable and advises checking vendor advisories.

The usb2shell bug proves that physical access remains a potent attack vector even in hardened cloud‑native environments. Operators must treat every USB port as a potential entry point and prioritize kernel updates or strict USB policy enforcement. Delaying mitigation invites silent compromise of critical infrastructure, from industrial controllers to consumer devices. The clock is ticking; the fix is already available.

Sources: https://usb2shell.com/, CVE record https://www.cve.org/CVERecord?id=CVE-2026-98232, Linux CNA publication 2026-10-06, Drivesec timeline.