December 1, 2026
CVE-2026-98232 Linux kernel USB flaw - crafted USB storage device plugged into a Linux system

CVE-2026-98232 is a stack out-of-bounds bug in the Linux kernel SCSI core that a crafted USB storage device can trigger the moment it is plugged in. Researchers at Drivesec chained it into root command execution on a stock Debian kernel, yet SUSE scores it only 5.7 while Red Hat scores it 8.4 (both CVSS v3.1). No attacks have been reported. Linux 6.5 and later are affected, and the fix ships in 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3.

CVE ID CVE-2026-98232
Product Linux kernel (SCSI core, scsi_cdl_enable())
Flaw type Stack out-of-bounds read and write (CWE-787, per Red Hat)
CVSS 5.7 (CVSS v3.1, SUSE) / 8.4 (CVSS v3.1, Red Hat) / 5.4 (CVSS v4.0, Ubuntu)
Exploitation / KEV Public PoC demo (code not released), no confirmed exploitation
Fixed version See Affected and fixed versions

What is CVE-2026-98232?

The bug sits in scsi_cdl_enable(), the SCSI core function that handles Command Duration Limits (CDL). CDL support arrived in Linux 6.5, so older kernels are not affected.

The attacker needs brief physical access to a USB port. No login, mount or click is required. According to the usb2shell disclosure from Drivesec, the bug fires during the automatic scan of a newly connected USB storage device. The kernel must have USB mass storage support through the usb-storage or uas driver, built in or auto-loaded. The device must also identify itself as an ATA device that supports CDL.

Drivesec says a malicious device can read up to 64 bytes of kernel stack. It can also change one stack byte at an offset it chooses. The researchers chained both steps into root command execution on Debian kernel 6.12.22+bpo-amd64 with KASLR enabled. The exploit is probabilistic, but Drivesec says failed attempts did not crash the system.

On Android kernels 6.6 and later, Drivesec found only the information leak, because the Android GKI and Samsung Galaxy A16 builds it checked use compiler bounds checks that block the write.

Technical details

The function reads a mode page from the device into a 64-byte stack buffer and later writes it back. It takes the length fields from the device’s MODE SENSE reply without checking them. A device can report a total length shorter than its own mode header and block descriptors.

The CVE record from the Linux CNA explains what follows. An unsigned subtraction wraps around, and a separately computed pointer can land past the end of the buffer. A read-modify-write can then clear low bits in an out-of-bounds stack byte. The kernel’s MODE SELECT call can also send up to 64 bytes from outside the buffer back to the device, which leaks stack contents.

The upstream fix, commit 3d676e458fe0, caps the usable length at the buffer size. It also validates the mode header and block descriptor lengths before use, and requires the five bytes needed to reach the CDL field.

Is CVE-2026-98232 being exploited?

No exploitation in the wild has been confirmed. The Hacker News reported that no attacks or victims have been identified, and that the CVE was not in the CISA KEV catalog at publication.

Drivesec built its proof of concept with a Cynthion USB device and published a demo video. It has not released the PoC source code. The CVE description also mentions a QEMU and Raw Gadget proof that created a root-owned marker file during enumeration, with KASLR and NX enabled.

Affected and fixed versions

The CVE record lists Linux 6.5 as the first affected release. Distribution kernels often carry backports, so check the vendor package version, not only the upstream number.

Product Branch Affected versions Fixed version
Linux kernel (upstream) 6.6.y 6.6 before 6.6.158 6.6.158
Linux kernel (upstream) 6.12.y 6.12 before 6.12.112 6.12.112
Linux kernel (upstream) 6.18.y 6.18 before 6.18.54 6.18.54
Linux kernel (upstream) 7.2.y 7.2 before 7.2.8 7.2.8
Linux kernel (upstream) mainline 6.5 and later 7.3
Debian linux 13 trixie Earlier builds 6.12.113-1 (DSA-6568-1)
Debian linux-6.12 12 bookworm Earlier builds 6.12.113-1~deb12u1 (DLA-4850-1)
Debian linux 12 bookworm (6.1) Not affected Not needed
Debian linux sid Earlier builds 7.2.8-1
Ubuntu linux 26.04 LTS Earlier builds 7.0.0-42.42
Ubuntu linux 24.04 LTS Earlier builds 6.8.0-149.149
Ubuntu linux-hwe (6.8) 22.04 LTS Earlier builds 6.8.0-149.149~22.04.1
openSUSE Tumbleweed kernel-source Rolling Earlier builds 7.2.10-1.1
SUSE Liberty Linux kernel 9 Earlier builds 5.14.0-741.24.1.el9_9 (RHSA-2026:100662)

The upstream rows come from the CVE record and Drivesec. The stable backports are commits 39491a1ae930, 60b0b8ce803e, 6233d0b3ef46 and 99a6e4a9176d.

Debian versions come from the Debian security tracker, which notes that the bookworm 6.1 kernel never contained the vulnerable code. Ubuntu versions come from the Ubuntu CVE page. Ubuntu 26.10, and the default kernels in 22.04 LTS and older releases, are listed as not affected.

Ubuntu still lists several flavors as vulnerable with no fix yet: linux-nvidia, linux-nvidia-lowlatency and linux-nvidia-bos on 26.04, plus linux-azure-nvidia and linux-xilinx-zynqmp on 24.04. Cloud flavors such as linux-aws, linux-azure, linux-gcp and linux-raspi already have fixed builds.

On the SUSE CVE page, SUSE Linux Enterprise 15 SP7, 16.0 and 16.1, SUSE Linux Micro and openSUSE Leap 16 are marked not affected.

How to fix CVE-2026-98232

Install your distribution’s fixed kernel package from the table above, then reboot into it. On custom or embedded kernels, move to a fixed stable release or apply the upstream commit 3d676e458fe0 or its stable backport for your branch.

Drivesec warns that vendors may backport the fix without changing the kernel version. For appliances and devices, check the vendor advisory or look for the fix commit in the vendor’s kernel source.

If you cannot patch yet

Drivesec lists two mitigations:

  • Do not build or auto-load the usb-storage and uas drivers on systems that do not need USB mass storage.
  • Use USB allow-listing, such as USBGuard or authorized_default=0, so the kernel never scans unauthorized devices.

How to check if you are affected

A system is exposed only when three things hold: it runs Linux 6.5 or later without the fix, it has USB mass storage support, and someone can reach one of its USB ports. Compare your running kernel package with your distribution’s tracker entry rather than the upstream version alone.

Drivesec offers a checker script, usb2shell-check.sh, on its site. It advises reading the script before running it and notes that backported fixes can produce false positives.

Why it matters

The scores tell different stories. SUSE rates the flaw Moderate at 5.7, with integrity and availability impact set to Low. Red Hat rates it Important at 8.4 and says exploitation can execute code with the highest privileges. Ubuntu sits in the middle with a Medium priority and a CVSS v4.0 score of 5.4.

Drivesec’s demo shows root command execution on a stock distribution kernel. The CVE description itself also mentions a root-owned marker created during enumeration. A team that triages by SUSE’s 5.7 alone may push this patch down the queue.

The physical access requirement does limit the risk for locked server rooms. The exposure is higher where strangers can reach a USB port. Drivesec names car infotainment and telematics units, EV chargers, point-of-sale terminals, kiosks, in-flight entertainment, industrial HMIs and smart-home hubs as examples. It does not confirm that any specific product is vulnerable.

Drivesec, an Italian security company, is credited with finding the bug independently, writing the fix and building the exploit chain. It also credits Sashiko AI Review, which The Hacker News describes as a Google AI code-review system, with first reporting the bug on the linux-scsi list.

Timeline

Date Event
July 17, 2026 Date of the earlier linux-scsi report credited to Sashiko AI Review
August 26, 2026 Drivesec finds the bug
August 28, 2026 Drivesec achieves root command execution on physical hardware
September 2, 2026 Bug reported privately to the SCSI maintainers
September 4, 2026 Patch sent to linux-scsi
September 9, 2026 Fix committed (3d676e458fe0)
September 25, 2026 CVE-2026-98232 reserved
October 6, 2026 CVE published by the Linux CNA
November 30, 2026 Drivesec publishes the usb2shell disclosure

Leave a Reply

Your email address will not be published. Required fields are marked *