r/linuxadmin • u/ryanmerket • 16h ago
Plugging in a USB drive can give an attacker root on unpatched Linux
https://runtimewire.com/article/usb2shell-usb-plug-root-unpatched-linux-cve-2026-98232
50
Upvotes
28
u/skrugg 13h ago
I mean I’ve had USB drives that could do this for ages.
18
u/granadesnhorseshoes 10h ago
Physical access wah physical access. Having dicked around with usb stuff at the driver level, expect a bunch of this type of thing. Not because the code is particularly bad, but as a consequence of the usb spec and design. it's supposed to provide easily used external access to otherwise internal buses and subsystems.
At the point that i am forging hardware level interface data someones fucked regardless. What if i made it a malicious "network adapter" instead of a block device? Even without a full kernel exploit, what crazy shenanigans can i get up to at the hardware control level? Port mirroring? Traffic redirection? ARP resolution?
Or using it to light up little used (or tested) code and pretend I'm a jukebox (because that's a real thing in scsi spec)? I'm sure the code to handle jukebox scsi commands is thoroughly hardened and mature right? (it may indeed be, but it's an example)
Hot glue is the only real "fix" for drive-by hardware attacks.
5
u/Darkk_Knight 11h ago
RubberDucky
2
u/knobbysideup 1h ago