Most Linux privilege-escalation bugs need an attacker who is already logged in. CVE-2026-98232 doesn't. Researchers at Drivesec, who call the bug "USB2Shell," showed that a specially built USB device can trigger a stack buffer flaw in the Linux kernel's SCSI core as soon as it is plugged in. The trigger happens during the automatic scan the kernel runs on new storage devices, so it works at a login prompt or a locked screen, before anyone has authenticated.
The bug has an upper limit, though. The fix went into the kernel in September and the CVE was published in October. According to The Hacker News, nobody has found attacks using it in the wild, and it was not in CISA's Known Exploited Vulnerabilities (KEV) catalog when that report was published. Drivesec's exploit also didn't succeed every time. The practical risk sits with machines a stranger can walk up to and plug into, not with servers locked in a rack.
Below are the main questions defenders are asking, answered from the published sources.
What exactly is broken?
When you attach a USB flash drive or external disk, Linux doesn't just treat it as a USB device. It hands the device to the kernel's SCSI layer, the storage subsystem that most disks talk through. Two kernel drivers make that connection: usb-storage, the classic USB mass-storage driver, and uas (USB Attached SCSI). The SCSI core then scans the new device automatically to learn what it is and how it is laid out.
CVE-2026-98232 is a stack buffer flaw in that scanning code. According to the CVE description reproduced in the Debian tracker, a function that enables a storage feature called Command Duration Limits uses length values reported by the device to locate data in a 64-byte stack buffer, and a device that reports inconsistent lengths can make the kernel point beyond that buffer. The flaw is reachable while the kernel scans a USB storage device that identifies itself as an ATA device and advertises that feature. No filesystem mount and no userspace access to the disk is required.
A stack buffer is a fixed-size piece of memory the kernel sets aside for a function's temporary data. The Hacker News reports that a lying device can read up to 64 bytes of kernel stack memory and change a single byte of it. Because all of this happens inside the kernel, a successful exploit runs with the highest privilege on the system. That's root.
The Hacker News reports that the flawed code was introduced in Linux 6.5 and is present in every release from 6.5 onward until the fix is applied. Kernels older than that were not affected.
Did the researchers actually get root?
Yes, on one machine. According to The Hacker News, Drivesec's write-up describes the attack against a Debian machine running kernel 6.12.22 with KASLR switched on, using a Cynthion, a small programmable USB tool. KASLR (kernel address space layout randomization) shuffles where the kernel sits in memory so attackers can't easily predict where to aim. The researchers say they turned the single-byte change into the ability to write anywhere in kernel memory, defeated KASLR, and made a command of their choosing run as root.
The Hacker News quotes the researchers: "While the exploit is probabilistic, no crash is triggered on failed executions." In other words, a failed attempt does not crash the machine, and an attacker with physical access can try again. No success rate has been published, and a probabilistic exploit still separates a lab demonstration from a reliable, packaged attack.
Drivesec's result came from a single test configuration. It doesn't prove that every distribution or hardware platform can be exploited the same way.
Is my distribution affected?
It depends on which kernel your distribution actually ships, and version numbers alone can mislead you. Distributions routinely backport fixes, and sometimes new features, into older-numbered kernels. The Hacker News notes that upstream version numbers do not map cleanly onto what distributions ship.
Debian shows the problem well. Per The Hacker News, Debian's security tracker indicates that the standard kernel in Debian 12 never contained the flawed code, even though Drivesec's demonstration ran on a Debian machine with a newer 6.12-series kernel. The tracker lists fixed package versions for each Debian release and is where Debian users should check package status.
Android is a separate case. The Hacker News reports that phone kernels from 6.6 onward are affected and expose some kernel memory, but on the builds the researchers checked, including Google's generic Android kernel and the kernel on a Samsung Galaxy A16, a compiler check blocks the memory-changing step. The result there was a memory leak, not root.
Bottom line: don't guess from version strings. Look up CVE-2026-98232 in your own distribution's security tracker and confirm the fixed package version there. The researchers also offer a script to check a system, but The Hacker News warns it can miss fixes a vendor has backported, so treat its result as a hint rather than proof.
Who should actually worry?
Physical access is the precondition. The Hacker News says a system is exposed only if it has USB mass storage support through the usb-storage or uas driver and a USB port that someone can reach. A physical attack is hard to carry out across many machines, which puts most data-center servers and cloud instances well down the list.
The researchers point to equipment where strangers can reach a USB port as the practical concern: self-service kiosks, payment terminals, car infotainment units, EV chargers and smart-home hubs. The Hacker News stresses that none has been shown compromised, and that these are examples of where an open port matters, not a list of affected products. By the same logic, shared workstations and laptops left on a desk deserve a look, and a locked screen doesn't protect against this bug, because the vulnerable scan runs before any login.
For organizations with removable-media and physical-protection requirements, the lesson is that a USB policy that exists only on paper won't stop the kernel from scanning whatever gets plugged in.
Who found it, and why is an AI involved?
According to The Hacker News, the bug was first flagged by Sashiko, an AI code-review system Google built for the Linux kernel and gave to the Linux Foundation. Sashiko reported it on the kernel mailing list. Drivesec says it found the same flaw on its own, wrote the fix and built the working exploit; the AI did not write the exploit.
Google engineers Roman Gushchin and Eric Brewer described the system in a Nov. 18, 2026 Google Cloud blog post, which says Sashiko has been credited in over 500 of this year's official Linux kernel CVEs. The Hacker News puts the figure at 528. The same post cautions that it is too early to make strong claims about how much credit the tool deserves for broader quality gains.
The timeline matters for patch planning. The kernel fix landed in September, and the name and a working exploit came out only in December. Waiting for a vulnerability to get a headline before patching kernels means running months behind.
What It Means for Defenders
Who is affected: Linux systems running a kernel that contains the flawed SCSI code (introduced in Linux 6.5) without the September fix, with the usb-storage or uas driver available and a USB port an attacker can physically reach. Exposure varies by distribution because of backporting, and Debian 12's standard kernel never included the vulnerable code, per The Hacker News. On the Android builds checked, the impact was a memory leak, not code execution.
What to do:
- Patch the kernel. Install your vendor's kernel update that includes the fix, or backport the upstream fix if you build your own kernels. Check CVE-2026-98232 in your distribution's security tracker for the exact fixed package version, and reboot into the new kernel. A kernel update doesn't take effect until you do.
- Turn off USB storage where nobody needs it. On kiosks, terminals, servers and appliances that never legitimately read a flash drive, stop the usb-storage and uas drivers from loading. If those drivers aren't available, the vulnerable path can't be reached through USB.
- Allow only approved devices. The Hacker News suggests USB allow-listing such as USBGuard, or the kernel's
authorized_default=0setting, so that devices must be approved before the kernel loads a driver for them. - Prioritize physically exposed fleets. Put public-facing devices with reachable USB ports first: kiosks, payment terminals, infotainment units and EV chargers. Ask suppliers of embedded products directly whether their firmware is affected and when a fix ships.
- Watch KEV. The bug wasn't in CISA's KEV catalog as of The Hacker News report, and no in-the-wild attacks were known. If that changes, federal agencies will face formal remediation deadlines.
Any physically exposed device that went unpatched and shows signs of tampering should be treated as potentially compromised at the root level.