Refreshing now

USB2Shell: a rigged USB stick can root unpatched Linux, no attacks seen

Drivesec says a crafted USB drive can run a root command on Linux kernels from 6.5 as soon as it is plugged in. A fix exists. Here is how to check yours.

Researchers at the Italian firm Drivesec say a specially built USB storage stick can make an unpatched Linux computer run a command as root the moment it is plugged in. The flaw is tracked as CVE-2026-98232 and has a fix, but your machine only has it if your distribution has shipped it. Nobody has reported attacks in the wild.

What is confirmed and what is a researcher's claim

Confirmed by public records: the flaw sits in the Linux kernel's SCSI core, in a function that trusts length values reported by the device it is scanning. The kernel project merged the fix in September 2026, and the CVE record was published on October 6, 2026. The credit goes to Drivesec. TuxCare's tracker lists the flaw as awaiting analysis, with no severity score yet.

Claimed by the researchers: Drivesec demonstrated on November 30 that the bug can be turned into full control on a test machine. According to The Hacker News, they used Debian with kernel 6.12.22 and security protections turned on, and they describe the attack as probabilistic, with no published success rate. A failed try does not crash the machine, so in theory it can be repeated. The firm says it found the bug on its own, wrote the fix and built the exploit. Google's AI review system, Sashiko, had flagged the bug earlier on the kernel mailing list.

Not seen: The Hacker News says no real attacks or victims have been found. TuxCare notes that the flaw is not in the CISA catalog of exploited vulnerabilities, that no public exploit was detected and that its 30 day exploitation probability score is 0.21 percent.

Who is affected

The code was introduced in Linux 6.5, so every kernel from 6.5 until it was patched is exposed, provided the machine can load the usb-storage or uas drivers and has a reachable USB port. Distributions backport fixes, so the version number alone is not enough:

  • Debian 12's standard kernel never contained the flawed code.
  • Red Hat fixed it in a kernel it numbers 5.14.
  • TuxCare's live patch tracker shows released patches for Debian 13, Ubuntu 24.04 and Ubuntu 26.04, and planned ones for RHEL 9, RHEL 10 and AlmaLinux. That table is about TuxCare's live patches, not about every distribution's regular updates.
  • On Android, the researchers found only a memory leak, not root. The builds they checked, including a Galaxy A16, use a compiler check that blocks the write step.

Why physical access still matters

The attacker needs a device in a USB port. That makes a laptop in your bag a small risk. The sources point to places where anyone can walk up and plug something in: kiosks, payment terminals, car systems, EV chargers and smart home hubs. None has been shown to be compromised. Treat that as a risk map, not as a list of victims.

What to do

  1. Update the kernel. Run your distribution's regular updates and reboot. If you use a live patching service, check that it lists this CVE.
  2. Check your distribution's advisory for CVE-2026-98232 instead of comparing version numbers. The researchers' own check script can miss vendor backports, so do not treat its result as proof.
  3. If a machine does not need USB storage, stop the usb-storage and uas drivers from loading.
  4. Limit USB devices with an allow list, such as USBGuard, or by setting authorized_default to 0.
  5. Do not plug unknown sticks into servers, kiosks or shared computers, whatever the patch status.

This applies the same way to readers in the United States and in Mexico. Home users on a current desktop distribution mostly need to update; people who manage public machines, such as a store terminal or a shared charger, should do steps 3 and 4 as well. If you suspect a company system was tampered with, report it to your IT team and your provider.

Sources: The Hacker News: USB2Shell Linux Kernel Flaw Lets Malicious USB Devices Gain Root Access Without Login (December 1, 2026), TuxCare CVE tracker: CVE-2026-98232, The Hacker Wire: CVE-2026-98232

More from Cybersecurity