CVE-2026-98232: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()
Fixed in RHEL 9/10, Ubuntu 24.04/26.04, Debian 13 · Affected: Linux · Exploitation: not established
Verdict
RoutineA fix exists and nothing on record suggests attackers are using it.
- NoAttacks seen
- NoPublic exploit code
- 0.2%Chance of exploitation in 30 days, higher than 3% of scored CVEs
- YesFix available: Fixed on 5 of 13 distributions checked
How we decide
Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.
What it isNVD
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable() scsi_cdl_enable() uses length fields returned by MODE SENSE to locate the ATA feature mode page in a 64-byte stack buffer. A target can report a total length shorter than its mode header and block descriptors.
The unsigned subtraction used for the MODE SELECT length can wrap, and the separately computed buf_data can point beyond buf.
During automatic scan, enable is false, so the 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, disclosing stack contents to the target.
This is reachable while scanning a USB storage device that identifies as an ATA device and advertises CDL support. No filesystem mount or userspace access to the block device is required.
On upstream commit 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.
The issue was independently found during security research at Drivesec S.r.l. Cap the available length to the buffer size. Validate and consume the mode header and block descriptor lengths before using the page, and require the five bytes needed to access the CDL field.
Exploit requirements
Also needed, according to the published text
- The USB storage device must identify as an ATA device and advertise CDL support“This is reachable while scanning a USB storage device that identifies as an ATA device and advertises CDL support.” · the CVE record
Are you affected?
The answer appears here.
Or hand it to your AI agent. The prompt carries the facts on this page and only commands that read package and kernel state; it tells the agent to change nothing.
Higher than 3% of scored CVEs
Not scored yet. NVD has not published a CVSS score.
Fix by distributionFixed on 5 of 13 checked
Fix status by distribution
From each distribution’s security tracker. Distributions we did not check are not listed.
- Red Hat Enterprise Linux 10Fixed in kernel-6.12.0-264.19.1.el10_3 (RHSA-2026:102168)checked 1 Dec 08:30 UTC
- Red Hat Enterprise Linux 9Fixed in kernel-5.14.0-741.24.1.el9_9 (RHSA-2026:100662)checked 1 Dec 08:30 UTC
- Red Hat Enterprise Linux 8Not affectedchecked 1 Dec 08:30 UTC
- Ubuntu 26.04Fixed in linux 7.0.0-42.42 (USN-8959-1)checked 1 Dec 08:30 UTC
- Ubuntu 24.04Fixed in linux 6.8.0-149.149 (USN-9022-1)checked 1 Dec 08:30 UTC
- Ubuntu 22.04Not affectedchecked 1 Dec 08:30 UTC
- Debian 13Fixed in linux 6.12.113-1 (DSA-6568-1)checked 1 Dec 08:30 UTC
- Debian 12Not affectedchecked 1 Dec 08:30 UTC
- SUSE Linux Enterprise Server 16.1Not affectedchecked 1 Dec 08:30 UTC
- SUSE Linux Enterprise Server 16.0Not affectedchecked 1 Dec 08:30 UTC
- SUSE Linux Enterprise Server 15 SP7Not affectedchecked 1 Dec 08:30 UTC
- openSUSE Leap 16.1Not affectedchecked 1 Dec 08:30 UTC
- openSUSE Leap 16.0Not affectedchecked 1 Dec 08:30 UTC
Check your systemsRead-only commands per release
Assess your exposure
Commands that only read package and kernel state, for each release we checked. They change nothing on the host.
Red Hat Enterprise Linux 10Fixed in 6.12.0-264.19.1.el10_3 (RHSA-2026:102168) · checked 1 Dec 08:30 UTC
rpm -q 'kernel'rpm -q --changelog 'kernel' | grep -F 'CVE-2026-98232'dnf updateinfo list --cve='CVE-2026-98232'dnf updateinfo info --cve='CVE-2026-98232'uname -runame -vls -1 /boot/vmlinuz-* | sort -V | tail -n 1Empty output from updateinfo means no update is offered. It does not mean you are unaffected (fix not shipped, will-not-fix, stale metadata, CentOS Stream).
Compare the running kernel (uname -r) as well as the installed ones: a fixed kernel that is installed but not running does not protect the host yet.
Containers and images need an image scan (e.g. trivy image).
Red Hat Enterprise Linux 9Fixed in 5.14.0-741.24.1.el9_9 (RHSA-2026:100662) · checked 1 Dec 08:30 UTC
rpm -q 'kernel'rpm -q --changelog 'kernel' | grep -F 'CVE-2026-98232'dnf updateinfo list --cve='CVE-2026-98232'dnf updateinfo info --cve='CVE-2026-98232'uname -runame -vls -1 /boot/vmlinuz-* | sort -V | tail -n 1Empty output from updateinfo means no update is offered. It does not mean you are unaffected (fix not shipped, will-not-fix, stale metadata, CentOS Stream).
Compare the running kernel (uname -r) as well as the installed ones: a fixed kernel that is installed but not running does not protect the host yet.
Containers and images need an image scan (e.g. trivy image).
Ubuntu 26.04Fixed in 7.0.0-42.42 (USN-8959-1) · checked 1 Dec 08:30 UTC
dpkg-query -W -f='${db:Status-Abbrev} ${Package} ${source:Package} ${Version}\n' | awk '$1=="ii" && ($3=="linux" || $3=="linux-signed") {print $2, $4}' | while read -r p v; do case "$v" in *~*) echo "$p $v: another kernel line (backports), check its own tracker entry";; *) if dpkg --compare-versions "$v" ge '7.0.0-42.42'; then echo "$p $v: at or above the fixed version"; else echo "$p $v: below the fixed version"; fi;; esac; doneuname -runame -vls -1 /boot/vmlinuz-* | sort -V | tail -n 1Compare the running kernel (uname -r) as well as the installed ones: a fixed kernel that is installed but not running does not protect the host yet.
Ubuntu tracks HWE and cloud kernels (linux-hwe-*, linux-aws, ...) as separate packages; this check covers the generic kernel only and lists nothing for those.
Containers and images need an image scan (e.g. trivy image).
Ubuntu 24.04Fixed in 6.8.0-149.149 (USN-9022-1) · checked 1 Dec 08:30 UTC
dpkg-query -W -f='${db:Status-Abbrev} ${Package} ${source:Package} ${Version}\n' | awk '$1=="ii" && ($3=="linux" || $3=="linux-signed") {print $2, $4}' | while read -r p v; do case "$v" in *~*) echo "$p $v: another kernel line (backports), check its own tracker entry";; *) if dpkg --compare-versions "$v" ge '6.8.0-149.149'; then echo "$p $v: at or above the fixed version"; else echo "$p $v: below the fixed version"; fi;; esac; doneuname -runame -vls -1 /boot/vmlinuz-* | sort -V | tail -n 1Compare the running kernel (uname -r) as well as the installed ones: a fixed kernel that is installed but not running does not protect the host yet.
Ubuntu tracks HWE and cloud kernels (linux-hwe-*, linux-aws, ...) as separate packages; this check covers the generic kernel only and lists nothing for those.
Containers and images need an image scan (e.g. trivy image).
Debian 13Fixed in 6.12.113-1 (DSA-6568-1) · checked 1 Dec 08:30 UTC
dpkg-query -W -f='${db:Status-Abbrev} ${Package} ${source:Package} ${Version}\n' | awk '$1=="ii" && ($3=="linux" || $3 ~ /^linux-signed-(amd64|arm64|i386)$/) {print $2, $4}' | while read -r p v; do case "$v" in *~*) echo "$p $v: another kernel line (backports), check its own tracker entry";; *) if dpkg --compare-versions "$v" ge '6.12.113-1'; then echo "$p $v: at or above the fixed version"; else echo "$p $v: below the fixed version"; fi;; esac; doneuname -runame -vls -1 /boot/vmlinuz-* | sort -V | tail -n 1Compare the running kernel (uname -r) as well as the installed ones: a fixed kernel that is installed but not running does not protect the host yet.
Containers and images need an image scan (e.g. trivy image).
Not checked: Alpine. Treat distributions and products not listed as unknown, not unaffected.
ExploitationNot established
ExploitationNot established
Not in CISA KEV as of catalogue 2026.11.30 (30 Nov)
- Not establishedNothing in the sources we check
Not seen so far: in CISA KEV · exploited (reported) · scanning observed · proof of concept public.
Weakness and public checksWeakness not named
Weakness and public checks
- Public check
- No public nuclei template
Related CVEsLinux
Other CVEs in Linux
Every published CVE for Linux , by how far exploitation has gone. This one is among them.
What changed20+ changes, latest 1 Dec
What changed
Debian status tracked since 1 Dec 2026. Red Hat status tracked since 1 Dec 2026. SUSE status tracked since 1 Dec 2026. Ubuntu status tracked since 1 Dec 2026.
- Debian’s tracker lists Debian 12 as not affected Debian
- Seen in Debian’s tracker on 1 Dec: Debian 13 fixed in linux 6.12.113-1 (DSA-6568-1) Debian
- Red Hat’s tracker lists RHEL 6 as not affected Red Hat
- Red Hat’s tracker lists RHEL 7 as not affected Red Hat
- Red Hat’s tracker lists RHEL 8 as not affected Red Hat
- SUSE’s tracker lists openSUSE Leap 16.0 as not affected SUSE
- SUSE’s tracker lists openSUSE Leap 16.1 as not affected SUSE
- SUSE’s tracker lists SLES 12 SP5 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP1 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP2 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP3 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP4 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP5 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP6 as not affected SUSE
- SUSE’s tracker lists SLES 15 SP7 as not affected SUSE
- SUSE’s tracker lists SLES 16.0 as not affected SUSE
- SUSE’s tracker lists SLES 16.1 as not affected SUSE
- Ubuntu’s tracker lists Ubuntu 14.04 as not affected Ubuntu
- Ubuntu’s tracker lists Ubuntu 16.04 as not affected Ubuntu
- Ubuntu’s tracker lists Ubuntu 18.04 as not affected Ubuntu
Showing the latest 20 changes.
Coverage2 articles · 2 outlets
Coverage2 articles · 2 outlets
One row per outlet, in order of first report. First in our coverage: The Hacker News, 1 Dec.
- Tue 1 Dec, 08:30 UTC. The Hacker News, first report. USB2Shell Linux flaw lets malicious devices run commands as root.
- Tue 1 Dec, 09:00 UTC. SecurityOnline, its first report on the story. Linux USB flaw lets rogue devices gain root access.
- First report
- Article
- Running total
Show as tableHide table
| Published (UTC) | Outlet | Headline |
|---|---|---|
| 1 Dec 08:30 | The Hacker News | USB2Shell Linux flaw lets malicious devices run commands as root |
| 1 Dec 09:00 | SecurityOnline | Linux USB flaw lets rogue devices gain root access |
- Linux USB flaw lets rogue devices gain root accessSecurityOnline
- USB2Shell Linux flaw lets malicious devices run commands as rootThe Hacker News · first in our coverage
New articles also arrive in the RSS feed.