USB2Shell: a malicious USB gains root on Linux without login
A tampered USB can execute commands as root on Linux without anyone logging in. We analyze USB2Shell and what your SMB should review.
4 min read

In this article
A flash drive that doesn't need anyone to open it
Researchers at Drivesec have presented a Linux kernel flaw they have dubbed USB2Shell. The idea, put plainly, is uncomfortable: a USB device built with malicious intent can get an unpatched Linux machine to execute an attacker's command with root privileges. And it does so without anyone logging in, without mounting the disk and without the user pressing anything.
The key lies in the moment the system reacts. The Linux kernel examines a USB storage device as soon as it is connected, before there is any user session involved. That behavior, which in principle is a convenience, becomes an attack surface when the device is designed to take advantage of that initial scan. According to the researchers, the flaw was fixed in the kernel in September and has since been published.
Why this isn't just a lab matter
The temptation is to think we are talking about a movie scenario: someone leaves a flash drive in a parking lot and waits for a curious employee to plug it in. That scenario exists, but it is not the only one. In an SMB, USB drives circulate for very unglamorous reasons: manual backups, supplier files, industrial machinery equipment, presentation disks or memory sticks passed from one laptop to another without any inventory.
What is relevant about USB2Shell is that it lowers the barrier to entry for the attacker. There is no need to trick anyone into opening a file, no need for anyone to enter a password, no need for the volume to be mounted. It is enough for the device to connect to a vulnerable machine. For an IT team, that changes the conversation: the attack vector is not the user, it is the port.
It is also worth placing this news in a broader context. An SMB's security is not played out only in email or the firewall. Physical devices, accessories and firmware are part of the chain of trust. It is a similar logic to the one we discussed when talking about the AI supply chain and its leaks: risks arrive from where you least expect them.
What it means for an SMB and its IT team
The first practical consequence is that updating the kernel is not an optional formality. The fix has existed since September, but a server or workstation that has gone months without updates remains exposed. In many SMBs, Linux machines coexist with Windows and macOS, and sometimes they are precisely the ones that receive the least attention: the server set up by a supplier, the machine that controls an industrial printer or the mini-PC acting as a firewall.
The second is that the USB device inventory matters. It is not about prohibiting as a matter of course, but about knowing what is connected and for what purpose. A USB port is a physical entry point to the system, and in shared environments (reception, warehouse, meeting room) control is harder than it seems.
Concrete recommendations
- Review the patch level of all Linux systems, including the non-obvious ones: internal servers, appliances, laboratory equipment and network devices. Check whether the September kernel fix is applied.
- Establish an update policy with a schedule. It is not enough to update when something fails; it is advisable to set periodic windows and verify that they are met.
- Control USB use on sensitive equipment. If the business allows it, restrict ports on servers and on workstations with access to critical data. If that is not feasible, at least document which devices are authorized.
- Do not connect devices of unknown origin. Not flash drives given away at trade fairs, not found memory sticks, not equipment that arrives without traceability. This rule should be written down and communicated to the team.
- Review the equipment used for testing or demos. They are the ones that receive the most third-party devices and have the least control.
It is also worth reviewing how incidents are managed. If a machine behaves strangely, the reaction should not be just to reboot. As we explained in outage or cyberattack: how to tell them apart without alarmism, knowing what to look at and whom to notify makes the difference between a scare and a serious problem.
A wake-up call, not an alarm
USB2Shell should not cause panic, but it should prompt an honest review. Most SMBs are not the target of sophisticated attacks, but they are exposed to basic risks that are solved with technical hygiene: patching, inventorying, restricting and training. This flaw reminds us that security is also played out in the physical realm, in a port no one looks at and in a kernel that has been waiting months for its update.
The good news is that the fix already exists. The bad news is that, if no one applies it, the USB device remains an open door.
Source: The Hacker News. Analysis and adaptation: ForgeNEX.
Keep reading
- VPN: why the nearest server isn't always the fastest27 November 2026
- VMware vCenter: patch the 9.8 vmdir flaw now25 November 2026
- Stolen keys and shell flaws: the week that strains SMB security24 November 2026
- VMware launches vSphere Express to win back SMBs20 November 2026
- Operation Endgame dismantles Gootloader, CastleRAT and StealC14 November 2026