Drivesec publicly disclosed USB2Shell (CVE-2026-98232) on November 30, 2026. The vulnerability can let a specially crafted USB storage device trigger a Linux kernel flaw and run an attacker-supplied command as root—but only when the affected kernel code, USB mass-storage support, an accessible port and a device with specific characteristics are all in place. The vulnerable path runs during automatic device scanning, before a drive is mounted or a user logs in. (Drivesec’s disclosure; the Linux kernel CVE announcement)

When checking exposure, start with the exact distribution package and release—not the upstream kernel number alone.

What does USB2Shell require?

USB2Shell affects the Linux SCSI core function scsi_cdl_enable(). The kernel CVE announcement says the trigger is a USB storage device that identifies as ATA and advertises Command Duration Limits (CDL), a feature used to specify how long storage commands may take. Drivesec identifies the other exposure conditions as an unfixed Linux 6.5-or-later kernel, USB mass-storage support through usb-storage or uas, and physical access to an available port. (Kernel announcement; Drivesec)

The flaw is in how the kernel handles lengths returned by a MODE SENSE command. Without adequate validation, those values can cause arithmetic to wrap and lead to an out-of-bounds access around a 64-byte stack buffer. The kernel announcement describes the potential disclosure of up to 64 bytes of stack data and a one-byte overwrite; Drivesec says it chained these capabilities to gain root command execution.

Because scanning happens before mounting and userspace access, a lock screen or a rule that prevents mounting does not stop the vulnerable path from being reached. A USB port by itself, however, does not meet the stated conditions: the kernel code, mass-storage support, physical access and qualifying device behavior must coincide.

What did the two proof setups involve?

Drivesec reports a physical test using a Cynthion USB device against Debian 6.12.22+bpo-amd64, with kernel address-space layout randomization (KASLR) enabled. The company says two attempts missed and a third succeeded in running commands as root. (Drivesec)

Separately, the Linux kernel CVE announcement describes a proof using QEMU and Raw Gadget on upstream Linux 7.3-rc1, with one virtual CPU and both KASLR and NX enabled. These are distinct test environments; the physical Debian result belongs to Drivesec, while the QEMU setup is described in the kernel announcement. (Kernel announcement)

How do distribution package records differ?

Distribution maintainers can backport kernel fixes, so an upstream version number alone does not tell you whether a vendor’s package is affected. Check the official tracker or advisory for the exact release and package installed on your system.

Distribution and packageVendor record for CVE-2026-98232
Debian Bookworm linuxListed as not affected; the vulnerable code is absent. (Debian tracker)
Debian Bookworm linux-6.12Fixed versions listed include 6.12.113-1~deb12u1 and 6.12.118-1~deb12u1. (Debian tracker)
Ubuntu 24.04 LTS linuxFixed in 6.8.0-149.149. (Ubuntu tracker)
Ubuntu 26.04 LTS linuxFixed in 7.0.0-42.42. (Ubuntu tracker)
Ubuntu 22.04 and 20.04 LTS linuxListed as not affected. (Ubuntu tracker)
RHEL 10 kernelRed Hat advisory RHSA-2026:102168 lists build 6.12.0-264.19.1.el10_3; a reboot is required for the update to take effect. (Red Hat advisory)

The upstream kernel announcement lists fixes in 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3-rc4. It recommends using a current stable kernel and says isolated cherry-picks are not recommended or supported. Vendor package records remain the useful check when a distribution may have backported a fix. (Kernel announcement)

What can administrators do?

Use the applicable distribution’s update guidance for the exact package and release. Drivesec describes disabling or preventing automatic loading of usb-storage or uas where mass storage is unnecessary, or restricting USB devices with an allow-list, as ways to reduce exposure when a kernel update cannot yet be applied. Those measures can interfere with needed storage and do not replace installing the kernel fix. (Drivesec)