# A malicious USB stick grants root on Linux the moment you plug it in

Original title: Usb2shell: Root on Linux from a USB Plug-In

> Hacker News story 50706614 · language: en · submitted 2026-11-30
> Web version: https://zeli.app/story/50706614
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 173 · by [matanyall](<https://news.ycombinator.com/user?id=matanyall>) · 💬 70
[original](<https://usb2shell.com/>) · [HN discussion](<https://news.ycombinator.com/item?id=50706614>)

## Summary

CVE-2026-98232 is a flaw in Linux's Command Duration Limits support, added in 6.5: when the kernel scans a new USB mass storage device claiming ATA CDL support, unchecked lengths let the device leak up to 64 bytes of kernel stack and clear one byte at a chosen offset. No user interaction or mount is needed. Drivesec built a Cynthion-based exploit that breaks KASLR and runs commands as root on stock Debian, and the fix is already upstream.

## Key quote

> So a device can make the kernel send it up to 64 bytes of kernel stack, and clear one stack byte at an offset it picks.

## HN discussion (70 comments)

### [jcul](<https://news.ycombinator.com/item?id=50708166>)

> Hmm... people seem to be dismissing this in the comments.
>
> It's more than a normal rubber duck attack, like pretending to be a mouse and keyboard, it is a proper exploit of the SCSI driver IIUC.
>
> Someone with access to a physical device for one or two minutes can get root pretty much undetected.
>
> It works even if locked or if the device is booted with no one logged in. That's pretty cool IMO.
>
> Not as worrying as a remote exploit of course.

### [rpdillon](<https://news.ycombinator.com/item?id=50707862>)

> Was fixed in 7.2.8, my machines are updated on occasion by me, and are running 7.2.15, which came out on 01 Nov.
>
> Looks like 7.2.8 was cut on 25 Sep: https://lwn.net/Articles/1096820/
>
> So if you're on a maintained distro and update more often than every couple of months, you probably already have the fix for this.

### [hxorr](<https://news.ycombinator.com/item?id=50708948>)

> From what I understand, linux filesystems aren't hardened against malicious malformed filesystems on disk. The assumption is that the disk (at least the filesystem structure) is trusted. This is usually fine, but there would be a large class of exploits waiting to happen if say a USB drive found on the pavement is plugged in and automounted.
>
> Please correct me if I'm wrong

### [gadtfly](<https://news.ycombinator.com/item?id=50707763>)

> I just always assumed this was the case

### [koolba](<https://news.ycombinator.com/item?id=50709895>)

> \> usb2shell is the physical version: instead of a crafted request, the attacker plugs in a crafted USB device.
>
> This is the kind of bug from movies I’ve always wanted to see in real life. The kind that lets James Bond plug something into a computer for 2 second and hack the entire system.

---

## Cite

- Page: https://zeli.app/story/50706614
- Date: 2026-11-30
- Source: usb2shell.com (https://usb2shell.com/)
- Hacker News: https://news.ycombinator.com/item?id=50706614

## Other languages

- zh: https://zeli.app/zh/story/50706614 · markdown: https://zeli.app/zh/story/50706614.md
- ja: https://zeli.app/ja/story/50706614 · markdown: https://zeli.app/ja/story/50706614.md
- ko: https://zeli.app/ko/story/50706614 · markdown: https://zeli.app/ko/story/50706614.md
- de: https://zeli.app/de/story/50706614 · markdown: https://zeli.app/de/story/50706614.md
- es: https://zeli.app/es/story/50706614 · markdown: https://zeli.app/es/story/50706614.md
- ru: https://zeli.app/ru/story/50706614 · markdown: https://zeli.app/ru/story/50706614.md
