USB2Shell Linux Vulnerability CVE-2026-98232: A USB Storage Device Can Reach a Kernel Bug in Linux 6.5 and Later, What Is Confirmed and What to Do This Week
USB2Shell (CVE-2026-98232) is a Linux kernel flaw that can be reached while a USB storage device is being scanned. It affects Linux 6.5 or later without the fix. Here is what is confirmed, what is not, and what to check this week.
Where Worldwide
On this page 8 sections
A Linux kernel vulnerability tracked as CVE-2026-98232, which its finders named "usb2shell", can be reached while a Linux machine scans a USB storage device that describes itself in a particular way. If your business runs Linux 6.5 or later on anything people can physically plug a device into, check this week whether your kernel includes the fix.
What is the USB2Shell Linux vulnerability?
USB2Shell is a flaw in the SCSI core of the Linux kernel. That is the part of the kernel that talks to storage devices. Rapid7's vulnerability entry describes the faulty code: a function called scsi_cdl_enable() uses length fields returned by a storage command called MODE SENSE to find a particular settings page inside a 64-byte buffer on the stack.
In plain terms, the kernel asks the device for some information, and the device answers with numbers that say how long that information is. The kernel used those numbers to find its way around a small, fixed-size piece of memory. The fix, in Rapid7's words, is to "Cap the available length to the buffer size." That tells you where the problem was: the kernel trusted a length that the device supplied.
Rapid7 also says when the bug can be triggered: "This is reachable while scanning a USB storage device that identifies as an ATA device and advertises CDL support." The drive does not have to be mounted, and no access to the running system's user programs is needed. For a business, that is the key detail: the bug is reached while the kernel is still identifying the device, before anyone opens a file on it.
The issue was found during security research at Drivesec S.r.l., which named it usb2shell.
What is confirmed and what is still unknown
| Question | What the sources say |
|---|---|
| CVE id | CVE-2026-98232 |
| Where the bug is | Linux kernel SCSI core, the scsi_cdl_enable() function |
| Who is affected | Systems running Linux 6.5 or later without the fix |
| How it is triggered | Scanning a USB storage device that identifies as an ATA device and advertises CDL support |
| The fix | Update to a fixed Linux kernel, or backport upstream commit 3d676e458fe0 |
| Working exploit | Drivesec built one on a Cynthion USB device (reported by GBHackers) |
| Attacks on real organizations | Not stated in the sources we checked |
| Fixed version numbers per distribution | Not stated |
| What an attacker gains after the exploit runs | Not spelled out in the sources we checked |
The working exploit is reported by GBHackers in its write-up of Drivesec's research. We have not reviewed a write-up from Drivesec itself, so treat the exploit details as reported, not independently confirmed. The name usb2shell suggests the goal is a shell on the machine, but the sources we checked do not state what level of control the exploit gives. We are not going to guess.
Which Linux versions are affected by CVE-2026-98232?
GBHackers puts it simply: "A system is vulnerable if it runs Linux 6.5 or later without the fix."
What the sources do not give is a list of fixed version numbers for each Linux distribution. That matters, because distributions and appliance vendors ship their own kernel builds. A version string on its own will not tell you whether the fix is in. The question to ask is whether your kernel build includes upstream commit 3d676e458fe0. We wrote about this gap in Updated Is Not the Same as Patched: a device can report that it is up to date and still be missing the specific fix you care about.
Is USB2Shell being exploited?
According to GBHackers, Drivesec built a working exploit on a Cynthion USB device. The sources we checked do not report any attacks against real organizations. That does not mean there have been none. It means it is not known.
Because the bug is reached through a USB storage device, whoever triggers it has to get a device connected to the machine. That rules out a random attacker on the internet, but it does not rule out a visitor, a contractor, a cleaner with a key, or a USB drive left in a parking lot.
Why a Linux USB flaw matters for a company network
Most security spending goes on the network: firewalls, VPNs, passwords, multi-factor logins. None of those help if the attack comes in through a port on the front of a machine. A flaw that is reachable while the kernel scans a USB device skips all of them.
Think about where Linux runs in your business and who can stand next to it:
- Servers in a closet or a shared office space
- Kiosks, digital signs and check-in screens in public areas
- Developer and engineering workstations
- Appliances from vendors that run Linux underneath
If you host your own servers, physical access is part of your security plan whether you wrote it down or not. Our self-hosting and infrastructure work treats the server room door and the USB ports as part of the same plan as the firewall. And if you are not sure who updates the kernels on those machines, start with Who Is Patching the Software That Runs Your Business?
What to do this week: USB2Shell checklist
The sources name one fix: update to a fixed Linux kernel or backport upstream commit 3d676e458fe0. They do not describe a separate official workaround.
| Step | How to do it |
|---|---|
| 1. List your Linux machines | Servers, workstations, kiosks, signs and vendor appliances. Include anything people can reach physically. |
| 2. Check the kernel version | On each machine, run uname -r. Version 6.5 or later is in scope unless the fix is included. |
| 3. Install the fixed kernel | Apply the kernel update from your distribution or vendor once it includes the fix. If you build your own kernels, backport upstream commit 3d676e458fe0. |
| 4. Boot into the new kernel | A new kernel package does not protect a machine until it is running that kernel. Schedule the restart. |
| 5. Ask your appliance vendors | For devices you cannot update yourself, ask the vendor in writing whether their build includes commit 3d676e458fe0, and when. |
| 6. Limit physical access meanwhile | Lock server rooms and racks, keep public machines' ports out of reach, and tell staff not to plug in USB drives they did not buy. |
USB2Shell questions people are asking
What is CVE-2026-98232?
It is a Linux kernel vulnerability in the SCSI core, in the scsi_cdl_enable() function. Drivesec, which found it, named it usb2shell.
Is my Linux server affected by USB2Shell?
It is if it runs Linux 6.5 or later without the fix. Check your kernel version, then confirm with your distribution or vendor that your build includes upstream commit 3d676e458fe0.
Does someone need a password to use the USB2Shell bug?
The sources say the bug is reachable while a USB storage device is being scanned, with no filesystem mount and no userspace access required. The attacker does need to get a device connected to the machine.
Has USB2Shell been used in real attacks?
The sources we checked report a working exploit built by Drivesec, but no attacks against real organizations. Whether any have happened is not known.
Is there a patch for the Linux USB vulnerability?
Yes. Update to a fixed Linux kernel, or backport upstream commit 3d676e458fe0. The fix caps the length the kernel uses to the size of its buffer.
Does this affect Windows or macOS?
The sources describe a flaw in the Linux kernel only. They say nothing about other operating systems.
The bigger lesson
USB2Shell came down to the kernel trusting a number that a plugged-in device handed it. Every system has points like that, where outside input is treated as if it came from inside, and a physical port is one of them. Patching closes this particular bug, but the lasting fix is knowing every machine you run, who updates it, and who can reach it with their hands.
To review your servers, devices and physical access as one plan, see security hardening or request a quote.
Get security alerts like this one by email, with the free checklist, at /security-alerts.
Sources: Rapid7 Vulnerability Database, CVE-2026-98232; GBHackers, USB2Shell Linux kernel vulnerability.
Have a question about this article?
Ask it here and we will answer you directly by email. Questions are private, never posted.
Security alerts by email
Hear about the next one first.
When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.
Want a result like this?
Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.
Get a Tech QuoteKeep reading
Webworm SoftEther VPN: Researchers Say a China-Aligned Group Hid a Rebranded VPN Bridge Called NtMonitor in Government Networks, and How to Check Your Own Machines
Rapid7 says Webworm, a China-aligned group, hid a modified SoftEther VPN Bridge renamed NtMonitor VPN in gover...
CISA Exploited Vulnerabilities: SAP NetWeaver, VMware vCenter and Apache Roller Join Cisco Expressway on the KEV List, What Is Confirmed and What to Patch This Week
CISA added four actively exploited flaws to its KEV catalog on November 20, 2026: SAP NetWeaver, Cisco Express...
Windows Lock Screen Bypass: Researcher Says FastUnlock Uses Narrator to Get Past Encrypted Windows 11 26H2 Laptops, What Is Confirmed and What to Do This Week
A researcher says FastUnlock uses Windows Narrator during account recovery to get past the lock screen on encr...