December 1, 2026
← All advisories

USB2Shell: Linux Kernel Flaw Gives Root From a USB Plug-In on Newer Plant Panels, Gateways and Laptops

Infographic: USB2Shell, CVE-2026-98232, a Linux kernel flaw that lets a specially built USB device get root control with no login on Linux 6.5 and later. A plant-to-cloud cross-section marks Linux devices with reachable USB ports: engineering laptop, edge gateway, data diode, historian, operator station, data collector, kiosk, touchscreen panel, industrial computer and skid computer. Fixed versions 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3; three steps: inventory and patch, block or allow-list USB, scan all media first. No exploitation reported. Source: Drivesec.

Researchers at Drivesec, an Italian security company, published details on 30 November 2026 of a Linux flaw they call USB2Shell, tracked in the Common Vulnerabilities and Exposures (CVE) list as CVE-2026-98232. A specially built Universal Serial Bus (USB) device, plugged into a vulnerable Linux machine, can make the machine run a command of the attacker's choice as root, the all-powerful administrator account. Nobody has to log in, open the drive or click anything. The attacker does need a few moments of physical access to a USB port. That makes this a plant-floor issue, because USB sticks have long been one of the classic ways into a plant, and many plant USB ports can be reached by contractors, vendors and visitors.

What the flaw is

The flaw is in the Linux kernel, the core of the operating system that talks directly to the hardware and runs with full control of the machine. When a USB storage device is plugged in, the kernel automatically checks it to learn what kind of drive it is, before any user signs in and before any drive is opened. A device that lies about itself during that check can trigger a small memory error in the part of the kernel that handles storage drives, the Small Computer System Interface (SCSI) core. Drivesec showed that this error can be turned into running a command as root on a standard Debian Linux kernel. Because it happens during that automatic check, a locked screen, a logged-out session or a rule against opening unknown drives does not stop it.

The flaw was added in Linux kernel version 6.5 and is present in later versions until the fix is applied. The fix from the main Linux kernel project is in kernel versions 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3, and the change is kernel commit 3d676e458fe0, "scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()." Drivesec says a system is exposed only when all three of these are true: it runs an affected kernel without the fix, it has USB storage support (the usb-storage driver, or the uas driver, short for USB Attached SCSI) built in or loaded automatically, and someone can plug a device into one of its USB ports.

The version number alone does not tell the whole story. Linux distributions copy fixes, and sometimes features, back into older version numbers. Red Hat Enterprise Linux 9, for example, uses a kernel numbered 5.14, but Red Hat lists it as affected and has fixed it. Always check the advisory from your distribution or device vendor rather than the version number.

Exploitation status

No exploitation in the wild has been reported. CVE-2026-98232 is not on the Cybersecurity and Infrastructure Security Agency (CISA) Known Exploited Vulnerabilities catalog as of its 30 November 2026 release. Drivesec has published a description and a demonstration video, but we have not seen public attack code. The Linux kernel team published the CVE on 6 October 2026, and the National Vulnerability Database (NVD) has not scored it yet. Red Hat rates it Important, with a Common Vulnerability Scoring System (CVSS) score of 8.4 out of 10, and Ubuntu rates it medium priority.

Who has fixed packages so far

  1. Red Hat has released fixed kernels for Red Hat Enterprise Linux 9 and 10, including the Extended Update Support releases 9.8 and 10.2, between 20 and 24 November 2026. Red Hat Enterprise Linux 6, 7 and 8 are not affected. Red Hat still lists OpenShift Container Platform 4 and 5 as affected.
  2. Debian has fixed Debian 13 (trixie) in kernel 6.12.113-1, through Debian Security Advisory DSA-6568-1. The standard Debian 12 (bookworm) kernel does not contain the flawed code, and the optional newer 6.12 kernel for Debian 12 is fixed through Debian advisory DLA-4850-1.
  3. Ubuntu has released fixed kernels for its Long Term Support releases 24.04 (kernel 6.8.0-149.149) and 26.04, and for the newer optional kernel on 22.04. The standard 22.04 kernel is not affected. Several specialized kernels, including the 24.04 kernel for AMD Xilinx embedded boards, are still listed as pending.
  4. We have not found an advisory from an industrial control system vendor that names this CVE yet. Embedded devices usually run a kernel the vendor builds itself, so the fix will arrive as vendor firmware, not as a normal operating system update.

Where this shows up from the plant floor to the cloud

Linux 6.5 and later is now showing up in newer equipment at every level of a plant. On the plant floor and in the control room, that includes Linux-based human-machine interface (HMI) panels, industrial personal computers (PCs) that run control and visualization software, and kiosks used by operators. Between the control network and the business network, it includes edge gateways that collect data for cloud dashboards, data diodes and other one-way transfer devices, data collectors, and historians, which are the servers that store years of process data. And it includes engineering laptops that technicians carry from site to site. Many of these sit in cabinets, at operator stations or in shared rooms where a contractor, a vendor technician or a visitor can reach a USB port for a few seconds without anyone noticing. A device taken over with root access is a strong starting point for an attacker to watch, change or disrupt what that device controls or reports.

What to do now

  1. Find your Linux-based devices and their kernels. List every Linux-based HMI panel, industrial PC, edge gateway, collector, historian, kiosk and engineering laptop on site, and record the kernel version and the vendor or distribution behind it. Include equipment that a system integrator or machine builder installed inside a skid or a panel.
  2. Apply kernel updates in a maintenance window and ask your vendors. For general-purpose Linux machines, install the fixed kernel from Red Hat, Debian, Ubuntu or your distribution through your normal change control, and plan the restart for a maintenance window. For embedded devices, ask each vendor in writing whether their product is affected by CVE-2026-98232 and when fixed firmware will be available.
  3. Block or allow-list USB storage. On machines that do not need USB drives, keep the usb-storage and uas drivers from loading at all, which removes the problem entirely. Where USB is needed, use USB allow-listing, such as USBGuard or the kernel setting that keeps new USB devices unauthorized until approved, so only known devices are accepted. Add physical USB port locks on HMIs, panel PCs and kiosks, and keep cabinets locked.
  4. Run all removable media through a scanning kiosk under a written media policy. Require every USB drive that comes into the plant to be checked at a removable-media scanning station first, and make clear that personal and vendor drives never go straight into a control system computer.

Red Tiger can help you find where these devices sit and which USB ports are within reach. During our onsite facility assessments, our team walks the system from the perimeter through the demilitarized zone (DMZ) and control room down to the field devices, and we build an inventory of operating systems, kernel versions and removable media controls along the way. We can then help remediate and harden what we find, including USB controls and media policies, and we can install a firewall and sensor at the site, connect them to the Red Tiger 24x7 security operations center (SOC), and monitor the site for ongoing detection and response, with regular metrics and reports. Our team has completed more than 500 assessments and trained more than 4,500 people.

We are here to help, so check out our resources online at www.redtigersecurity.com and book a follow-up call with our team if you have any questions: https://calendly.com/jonathanpollet/30min

Source: Drivesec, usb2shell: Root on Linux from a USB Plug-In (CVE-2026-98232), published 30 November 2026: https://usb2shell.com/ . Fix status: Debian security tracker, https://security-tracker.debian.org/tracker/CVE-2026-98232 , and the Red Hat and Ubuntu CVE pages.

← All advisories

Cite this advisory: Red Tiger Security, "USB2Shell: Linux Kernel Flaw Gives Root From a USB Plug-In on Newer Plant Panels, Gateways and Laptops", December 1, 2026, https://www.redtigersecurity.com/advisory/usb2shell-linux-usb-root

Read the original source →

We are here to help.

Check out our resources and book a follow-up call with our team.

+1.877.387.7733