StratosAlly – Cybersecurity for digital safety

USB2Shell Linux Vulnerability Allows Hackers to Gain Root Access Through Malicious USB Devices

Picture of StratosAlly

StratosAlly

Illustration of the USB2Shell Linux vulnerability showing a malicious USB device connected to a compromised Linux system.

Security researchers have discovered the USB2Shell Linux vulnerability (CVE-2026-98232), which allows attackers to gain root access to vulnerable Linux systems by connecting a specially crafted USB device. The exploit does not require a user login, execution of malicious files or mounting of the USB drive.

On 30th November 2026, Drivesec explained how an innocent appearing USB port can be used to fully compromise computers running susceptible Linux kernels.

How Does the USB2Shell Linux Vulnerability Work?

The issue is present within Linux’s SCSI module and relates to the scsi_cdl_enable() function.

As a user attaches a USB drive, the Linux kernel will communicate with it to ascertain what functionality it offers. It is here that a ‘malicious’ drive can abuse an error in memory management which, in turn, may enable hackers to run unauthorised, highly privileged commands.

Whilst many USB exploits rely upon social engineering, execution of harmful files and/or a logged in user, the USB2Shell attack does not. Nonetheless, an attacker must still have physical access to a compromised computer.

Which Linux Systems Are Affected by USB2Shell?

Users operating Linux-based computers are most at risk. In addition, computers such as business desktops, industrial automation equipment, embedded and server hardware – where USB ports are available for physical access – may also be susceptible.

The Linux kernel update addressing the issue was released in September 2026. The corresponding CVE was published in October. Computers which have not been updated therefore continue to be at risk.

Computer operators using Linux should review relevant security notices issued by their distribution provider. Different Ubuntu, Debian and Red Hat versions may be impacted, and so too may the availability of fixes.

Security Risks of the USB2Shell Linux Vulnerability

Successful exploitation could allow attackers to:

  • Gain complete administrative control over affected systems.
  • Access or steal sensitive organizational information.
  • Install malware and persistent backdoors.
  • Modify system configurations and security settings.
  • Disable security mechanisms and monitoring tools.

The discovery highlights how physical access can undermine cybersecurity protections, even when organizations implement strong authentication and endpoint security controls.

How to Protect Linux Systems Against USB2Shell

Organizations and Linux users should take the following precautions:

  • Install the latest Linux kernel security updates.
  • Restrict unauthorized physical access to critical systems.
  • Disable unused USB ports wherever possible.
  • Implement USB device control and authorization policies.
  • Avoid connecting unknown or untrusted USB devices.
  • Monitor endpoints for suspicious hardware connections and unauthorized system changes.
  • Conduct regular vulnerability assessments to identify unpatched Linux systems.

Conclusions

The USB2Shell Linux vulnerability highlights the importance of physical security alongside traditional cybersecurity measures. Even ordinary-looking USB devices can compromise vulnerable Linux systems by exploiting weaknesses in the Linux kernel.

Organizations should prioritize Linux kernel security updates, endpoint security, USB device control, vulnerability management and physical access restrictions to minimize the risk of unauthorized root access.

Although researchers have demonstrated successful exploitation in a controlled environment, this does not establish that the vulnerability is being actively exploited in real-world attacks.

Let’s refine your stalking skills; go through our Instagram and LinkedIn.

more Related articles