BlogSecurity
CVE-2026-98232: USB2Shell SCSI CDL - Physical USB Root, Ubuntu 24.04 Floor 6.8.0-149

CVE-2026-98232 is the Linux CNA’s name for a bounds bug in scsi_cdl_enable(). Title: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable(). Published 6 October 2026. NVD last modified 19 October 2026.[1][2] Fixes commit 1b22cfb14142 (scsi: core: Allow enabling and disabling command duration limits), which is how Command Duration Limits landed in Linux 6.5. Mainline fix 3d676e458fe0 (7.3-rc4). One stable backport NVD lists is 39491a1ae930.[3][16]
Drivesec branded it USB2Shell on 30 November 2026. The Hacker News covered that write-up on 1 December. That name is theirs, not the CNA’s.[8][9]
This is not on CISA KEV. Catalog we pulled this morning: 2026.11.30, 1,810 entries, dateReleased 2026-11-30T19:44:39.2733Z. No CVE-2026-98232 row.[10]
This is not a WAN RCE. SUSE’s CVSS 3.1 is 6.8 (AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). Ubuntu’s own CVSS 4.0 is 5.4 Medium (AV:P/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H). Ubuntu priority: medium. Red Hat scores 8.4 (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and calls it Important, with a statement that typical exploitation needs physical insertion or attaching a virtualized device to a guest. Those scores disagree on the vector letter. They agree it is not AV:N.[5][6][7]
Yesterday’s Ghostscript Upload2Shell post does not close this. upcp does not move the kernel. uname -r is the floor, not gs --version.
What it is
Vendor-published facts, and nothing past them.
The CVE / kernel commit, paraphrased only as far as CVE.org reprints it: scsi_cdl_enable() takes MODE SENSE length fields from the target to find the ATA feature mode page in a 64-byte stack buffer. A target can report a total length shorter than its mode header plus block descriptors. The unsigned subtraction used for the MODE SELECT length can wrap. The separately computed buf_data can point beyond buf. During automatic scan, enable is false, so a read-modify-write of buf_data[4] can clear the low two bits of a target-selected out-of-bounds stack byte. scsi_mode_select() can then copy up to 64 bytes from outside the buffer into the outgoing MODE SELECT payload (stack disclosure to the target). Reachable while scanning a USB storage device that identifies as ATA and advertises CDL. No filesystem mount and no userspace access to the block device.[1][3]
The same record already documents a CNA-owned proof, not a blog rumor: on upstream cee9395acd80 (“Linux 7.3-rc1”), a build-specific, one-vCPU QEMU/Raw Gadget proof using QEMU-only multi-UDC allocator sampling executed a fixed proof command inside the guest and created a UID-0-owned marker during automatic enumeration, with KASLR and NX enabled. Independently found at Drivesec S.r.l. The patch caps available length to the buffer, validates header and block-descriptor lengths, and requires the five bytes needed for the CDL field.[1][3]
This is not:
- A network service bug. Nothing on :22 / :80 / :443 triggers
scsi_cdl_enable(). - Every USB gadget. The published path is USB mass storage (
usb-storage/uas) that claims ATA + CDL. - Debian 12’s default
linux6.1 tree. Debian’s tracker: bookwormlinux<not-affected>(Vulnerable code not present).[4] - CISA KEV.[10]
We are not publishing a gadget firmware image, a MODE SENSE length recipe, or a “how to turn one stack byte into root” chain.
How serious is it?
On paper, vendors split:
| Who | Score | Vector they published |
|---|---|---|
| SUSE | 6.8 Moderate | AV:P physical, C/I/A High. Overall state Pending this morning; no SUZA cross-ref yet.[7] |
| Ubuntu | CVSS 4.0 5.4 Medium, priority medium | AV:P, AT:P (attack requirements present).[5] |
| Red Hat | 8.4 Important | AV:L. Statement: kernel memory disclosure and code execution during initial hardware discovery; typical RH deployments need physical access or attaching virtualized devices to a guest; hot-plug of untrusted / emulated hardware is the exposure.[6] |
| NVD | no Primary score | Description only.[2] |
Drivesec / THN (researcher claims, labelled as such): they ran a Cynthion against stock Debian 6.12.22+bpo-amd64, KASLR on. First attempts missed without a crash; a later attempt ran whoami / uname as root on unplug. They call it probabilistic. They list kiosks, POS, infotainment, EV chargers as examples of reachable ports, not a product list. THN: no in-the-wild attacks found; Android builds they checked leaked stack but compiler bounds checks blocked the write.[8][9]
CISA KEV: not listed on catalog 2026.11.30.[10]
What nobody in the CVE / Ubuntu / SUSE texts published:
- Actively exploited / not exploited (CISA).
- A remote, unauthenticated 9.8.
- A packet signature.
Treat “plug in a stick, get root” as researcher + CNA QEMU proof, not as “every colo USB port is owned today.” Also do not flatten Red Hat’s 8.4 into “ignore it, it’s physical.” IPMI / iLO / BMC virtual media and USB passthrough into a guest are the hosting-shaped copies of AV:P.
Who is affected
You are in the published blast radius if all of these are true:
- The running kernel is 6.5 or later or a vendor tree that backported CDL (Red Hat put this on RHEL 9 5.14 even though 5.14 < 6.5).
usb-storageoruasis built-in or auto-loaded.- Someone can present a USB storage device: a physical port, a KVM dongle, IPMI/iLO/iDRAC virtual CD, or USB passthrough into a VM.
NVD / Drivesec upstream floors (semver, not your distro NVR): 6.6.158, 6.12.112, 6.18.54, 7.2.8, mainline 7.3. Kernels before 6.5 are unaffected unless the vendor backported the CDL helper.[2][8]
Floors we actually pulled this morning:
| Distro / product | Status this morning | Floor / errata |
|---|---|---|
Ubuntu 24.04 (linux) |
Fixed | 6.8.0-149.149 - USN-9022-1 (10 Nov)[11] |
| Ubuntu 24.04 HWE 7.0 | Fixed | 7.0.0-42.42~24.04.1 - USN-8959-1 (3 Nov)[12] |
| Ubuntu 22.04 HWE 6.8 | Fixed | 6.8.0-149.149~22.04.1 - USN-9066-1 (12 Nov)[13] |
| Ubuntu 22.04 / 20.04 GA | Not affected | jammy linux 5.15 / focal 5.4 - code not present |
Ubuntu 26.04 (linux) |
Fixed | 7.0.0-42.42 - USN-8959-1 |
Debian bookworm linux |
Not affected | 6.1 - code not present |
Debian bookworm linux-6.12 (bpo) |
Fixed | 6.12.113-1~deb12u1 (DLA-4850-1) |
| Debian trixie | Fixed | 6.12.113-1 (DSA-6568-1); security now 6.12.118-1 |
| RHEL 6 / 7 / 8 | Not affected | Red Hat package_state |
| RHEL 9 | Fixed 20 Nov | kernel-5.14.0-741.24.1.el9_9 - RHSA-2026:100662 |
| RHEL 9.8 EUS | Fixed 24 Nov | kernel-5.14.0-687.69.1.el9_8 - RHSA-2026:102710 |
| RHEL 10 | Fixed 23 Nov | kernel-6.12.0-264.19.1.el10_3 - RHSA-2026:102168[15] |
| RHEL 10.2 EUS | Fixed 23 Nov | kernel-6.12.0-211.76.1.el10_2 - RHSA-2026:102090 |
| OCP 4 RHCOS 8 | Not affected | Red Hat package_state |
| OCP 4 / 5 RHCOS 9 | Affected this morning | no errata on the JSON we pulled |
| SUSE | Pending, Moderate | Bugzilla 1284570; no announcement yet |
| CloudLinux | Not pulled | do not invent a kcare ID |
| Proxmox VE | No PSA named for this CVE in what we opened | match uname -r to 6.12.112+ / Ubuntu 6.8.0-149 if you are on those trains |
AlmaLinux / Rocky follow the RHEL NVR once it is on their mirror. Do not assume RHSA day-one.
cPanel / CloudLinux 8 boxes on EL8 4.18 are outside the published code. EL9 shared-hosting nodes are not. Proxmox 8/9 hosts that still auto-load usb-storage and accept virtual media are the boxes we actually worry about.
What to do now
- Read the running kernel, not the last downloaded package.
uname -r
lsmod | awk '/usb_storage|uas/{print}'
# Debian/Ubuntu:
dpkg -l 'linux-image-*' | awk '/^ii/{print $2,$3}'
# EL:
rpm -q kernel
-
Patch and reboot into the floor in the table. Ubuntu 24.04 GA: 6.8.0-149.149 or newer (USN-9022-1). Ubuntu 22.04 only if you installed HWE 6.8. RHEL 9: RHSA-2026:100662. Debian 12 default 6.1: you are already off the CDL code; Debian 12 backports 6.12 is not.[4][5][11][14]
-
If you cannot reboot today (hosting-shaped stopgaps, not a patch):
- Do not auto-load
usb-storage/uason hypervisors and GPU nodes that do not need mass storage (/etc/modprobe.d/blacklist usb-storage/blacklist uas, then verifylsmod). - USBGuard or
usbcore.authorized_default=0so a new device does not scan until you allow it. - Lock down IPMI/iLO virtual media and VM USB passthrough the same way you lock a physical port: named operators only.
Red Hat’s statement is the reason those last two bullets exist: emulated / virtualized devices count.[6]
-
Do not trust a version-string checker. Drivesec ships
usb2shell-check.shand says it can miss vendor backports. Match CVE / USN / RHSA, notunamemajor.minor alone.[8][9] -
A kernel update does not undo a root shell someone already planted. If a host had untrusted USB or virtual media since the CDL code landed, treat that as an access question, not a blog comment.
Versions with no 6.12.112
EOL appliances, frozen AMI/GPU images, and custom 6.5-6.11 trees will not grow a 6.12.112 string. Distro backports can still be fine - Ubuntu 24.04’s fixed package is still 6.8.0-149. If there is no backport:
- Blacklist
usb-storage/uas. - Cut virtual media.
- Plan a kernel rebase.
A WAF is not a SCSI scan patch.
How to spot a compromise
The published proof runs during enumeration, as kernel / UID 0, without a mount. There is no PHP file in wp-content/uploads/ for this bug.
Look for:
- Unexpected
usb-storage/uasbind around the time a KVM stick or virtual ISO appeared - New UID-0 processes, crontab, or SSH keys after a USB or virtual-media event
dmesg/ journal SCSI / usb-storage lines you cannot account for
If you suspect a compromise, isolate and keep kernel logs before you clean. We are not publishing exploit steps.
FAQ
Is there a patch? Yes. Mainline 3d676e458fe0. Ubuntu 24.04 6.8.0-149.149. RHEL 9 RHSA-2026:100662. Debian 12 default kernel never had the function.
Is this remote? Not in any CNA/Ubuntu/SUSE vector we pulled. Red Hat’s 8.4 is local, with an explicit virtualized device note. That is still not port 443.
Has it been exploited? THN, 1 December: no attacks found. CISA KEV 2026.11.30 does not list it. The CVE text itself describes a QEMU proof that dropped a UID-0 marker. Those are different facts.[1][9][10]
Does Debian 12 need this? Default 6.1: no. linux-6.12 backports: yes, 6.12.113-1~deb12u1 or newer.[4]
Is RHEL 8 / CloudLinux 8 in? Red Hat: RHEL 8 Not affected. We did not get a CloudLinux article for this CVE this morning.
Honesty
- We did not plug a Cynthion into anything. We did not run Drivesec’s checker.
- Ubuntu 5.4 Medium and SUSE 6.8 AV:P are the scores we will not “correct” to 9.8 because a researcher demoed root.
- Red Hat 8.4 Important is why hypervisor USB passthrough and BMC virtual media stay in the “who is affected” list.
- No Proxmox PSA and no CloudLinux kcare ID in what we opened. Absence is not “safe.”
- We are not linking a gadget image or a PoC repo.
Sources
[1] https://www.cve.org/CVERecord?id=CVE-2026-98232 - Linux CNA, published 6 Oct 2026
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-98232 - NVD, last modified 19 Oct 2026
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3d676e458fe0c566f5a62753dc696b6a862fc412 - mainline fix
[4] https://security-tracker.debian.org/tracker/CVE-2026-98232 - bookworm linux not-affected; linux-6.12 / trixie floors
[5] https://ubuntu.com/security/CVE-2026-98232 - priority medium, CVSS 4.0 5.4, package statuses
[6] https://access.redhat.com/security/cve/CVE-2026-98232 - 8.4 Important, RHSA list, statement
[7] https://www.suse.com/security/cve/CVE-2026-98232 - 6.8 AV:P, Pending
[8] https://usb2shell.com/ - Drivesec write-up, 30 Nov 2026 (research claims labelled as such)
[9] https://thehackernews.com/2026/12/usb2shell-linux-kernel-flaw-lets.html - 1 Dec 2026
[10] https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json - catalogVersion 2026.11.30, count 1810, dateReleased 2026-11-30T19:44:39.2733Z
[11] https://ubuntu.com/security/notices/USN-9022-1 - Ubuntu 24.04 linux 6.8.0-149.149, 10 Nov 2026
[12] https://ubuntu.com/security/notices/USN-8959-1 - linux-hwe-7.0 7.0.0-42.4224.04.1, 3 Nov 202622.04.1, 12 Nov 2026
[13] https://ubuntu.com/security/notices/USN-9066-1 - jammy HWE 6.8.0-149.149
[14] https://access.redhat.com/errata/RHSA-2026:100662 - RHEL 9 kernel-5.14.0-741.24.1.el9_9
[15] https://access.redhat.com/errata/RHSA-2026:102168 - RHEL 10 kernel-6.12.0-264.19.1.el10_3
[16] https://git.kernel.org/stable/c/39491a1ae93054fea10b4030180e5c797b2c0343 - stable backport

