Drivesec, an Italian security firm, said on 30 November that a crafted USB device can make an unpatched Linux machine run a command as root, the all-powerful account. No login, mount or click is needed. The flaw is tracked as CVE-2026-98232 and called USB2Shell. It affects Linux 6.5 and later with USB storage drivers and a reachable port. Drivesec built the attack on a Debian machine. The command runs when the device is unplugged.
The kernel scans a new storage device on its own. For a device claiming a certain disk feature, it copies the reply into a 64-byte memory area. It trusts the length values the device gives. A lying device can get some kernel memory back and zero one byte it picks. This runs before any login, lock screen or mount rule applies. The Hacker News reported the attack was shown on one machine, did not always work, and no real-world attacks are known. Drivesec found only a leak on the Android builds it checked.
So the kernel trusts the device before any user-level rule applies, and no-mount policies do not cover this kind of flaw. Drivesec lists car units, EV chargers, point-of-sale terminals and kiosks as exposed. Teams that ship or run them should ask: which kernel does each unit run, has the vendor backported the fix for CVE-2026-98232, and can a stranger reach a USB port?