Researchers say the usb2shell flaw, tracked as CVE-2026-98232, can grant root privileges through a physically connected USB device without login or user interaction; fixes are available in several kernel branches.
Researchers at Drivesec have demonstrated usb2shell, a Linux kernel vulnerability tracked as CVE-2026-98232, allowing commands to run with root privileges on a Debian test computer after a USB device is connected. The attack does not require logging in, mounting the drive or clicking anything, according to Google and VirusTotal developer Álvaro Sánchez.
The flaw affects USB device recognition code that has been present since Linux kernel 6.5. During device communication, the researchers were able to access and alter kernel memory. A locked screen does not prevent the attack, but the device must be connected physically; the researchers’ attempts did not succeed every time, and no exploitation outside the laboratory is currently known.
Fixes have been incorporated into kernel versions 6.6.158, 6.12.112, 6.18.54 and 7.2.8 in their respective branches, as well as Linux 7.3. Distribution maintainers may backport the correction, so users should install security updates from their distribution’s repositories rather than necessarily replacing the operating system.
After installing a corrected kernel, the computer must be restarted before it uses the new version. On systems that cannot be updated immediately, USBGuard can restrict unauthorized devices, while disabling the usb-storage and uas drivers can reduce exposure where external storage is not needed.