← All stories
● Covered by 2 sources · 2 reportsMedium impact2 neutral

usb2shell Vulnerability Allows Root Access on Linux via Crafted USB Device

🔄 Updated 17h ago — new reporting from The Hacker News
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Affects Linux kernels 6.5+ with USB mass storage support.
  • No user interaction or mount needed; triggers during device scan.
  • Allows kernel stack data leak and single-byte stack overwrite.
  • Fixed by updating to a patched kernel or backporting commit 3d676e458fe0.
  • Vulnerability named "USB2Shell."
  • Assigned CVE-2026-98232.
  • Fixed in September and published in October.
  • Flaw is in the kernel's SCSI core.
  • Specifically affects Command Duration Limits feature.

Vulnerability Overview

The usb2shell vulnerability is a physical attack vector where a crafted USB device can grant root access to vulnerable Linux systems. Unlike remote '2shell' bugs, this exploit requires direct physical access to a USB port on the target system. It affects systems running Linux kernel 6.5 or later that have USB mass storage support enabled.

Affected Systems and Conditions

Systems are vulnerable if they run Linux 6.5 or newer without the fix, have USB mass storage support (usb-storage or uas) built-in or automatically loaded, and have an accessible USB port. This includes devices like car infotainment units, EV chargers, point-of-sale terminals, kiosks, and industrial HMIs. No user interaction or device mounting is required; the exploit triggers during the automatic device scan when the USB device is plugged in.

On Android, kernels 6.6 and later are affected, but compiler bounds checks typically prevent the write from escaping the buffer, resulting in a data leak rather than a full exploit.

Technical Details of the Bug

The vulnerability resides in the Command Duration Limits (CDL) support, introduced in Linux 6.5. When the kernel scans a new SCSI device that identifies as an ATA device with CDL support, the scsi_cdl_enable() function is called. This function reads a mode page from the device into a 64-byte stack buffer. The bug occurs because lengths provided in the device's reply are used without proper validation, allowing the device to control the amount of kernel stack data sent back and to clear a single stack byte at an attacker-chosen offset.

Mitigation and Fixes

To fix the vulnerability, users should update to a patched kernel version or backport the upstream commit 3d676e458fe0 ("scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()") to their vendor kernel. A checker script is available at usb2shell.com/tools/usb2shell-check.sh to help identify vulnerable kernels. If immediate updates are not possible, reducing physical access to USB ports can decrease exposure.

Updates

🕒 2026-12-01 · new reporting from The Hacker News
  • Vulnerability named "USB2Shell."
  • Assigned CVE-2026-98232.
  • Fixed in September and published in October.
  • Flaw is in the kernel's SCSI core.
  • Specifically affects Command Duration Limits feature.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Dec 01

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

How outlets covered it

Researchers discovered "USB2Shell," a Linux kernel vulnerability (CVE-2026-98232) that allows a crafted USB device to execute commands as root on unpatched machines. The flaw, present in Linux kernel versions 6.5 and later, was fixed in September and affects systems with USB mass storage support. This vulnerability enables root access without login or user interaction, as the kernel scans USB devices upon connection.

A new vulnerability, dubbed usb2shell, allows an attacker to gain root access on Linux systems running kernel 6.5 or later by plugging in a specially crafted USB device. The flaw exploits unchecked lengths in Command Duration Limits (CDL) support during automatic device scanning, enabling kernel stack data leakage and modification without user interaction.