# Usb2shell: Root on Linux from a USB Plug\-In

- HackerByte page: <https://hackerbyte.net/en/stories/a-developer-tool-that-provides-physical-access-to-linux-systems-via-a-usb-plug-i-50706614>
- Original source: <https://usb2shell.com/>
- Hacker News discussion: <https://news.ycombinator.com/item?id=50706614>
- Submitted to Hacker News: 2026-11-30T21:26:04.000Z

A developer tool that provides physical access to Linux systems via a USB plug\-in.

## AI-generated summary

A newly discovered vulnerability, dubbed 'usb2shell', allows attackers to gain root access on Linux systems by simply plugging in a malicious USB device. The exploit targets Linux kernels version 6.5 and later, and it leverages a flaw in how the kernel handles Command Duration Limits \(CDL\) support for SCSI devices. No user interaction is required; the bug triggers during the automatic device scan.

## Key points

- The 'usb2shell' vulnerability allows physical USB devices to gain root access on vulnerable Linux systems.
- It affects Linux kernels 6.5 and later, specifically targeting the Command Duration Limits \(CDL\) implementation.
- The exploit triggers automatically during USB device scanning, requiring no user interaction or mount.
- A fix is available via kernel updates or backporting a specific commit, with several stable versions already patched.
- Mitigations include disabling unnecessary mass storage support or implementing USB allow\-listing.
