usb2shell (CVE-2026-98232) on Proxmox VE and bare-metal Linux servers: check your kernel and block USB storage until you reboot
usb2shell (CVE-2026-98232) is a stack out-of-bounds bug in the Linux SCSI core function scsi_cdl_enable(), reached while the kernel automatically scans a newly plugged USB storage device. Nobody has to log in or mount anything. The researchers at Drivesec, who published on 30 November 2026, turned it into root command execution on a stock Debian kernel over a real USB port. Upstream kernels from 6.5 that lack the fix are affected (enterprise kernels can carry the code as a backport, as RHEL 9 does); the upstream fix is commit 3d676e458fe0 and the first fixed stable releases are 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3. For servers, physical access means anyone who can reach a USB port: a colocation remote-hands technician, a shared cage, a crash cart, or a USB device passed through to a VM. This post shows how to tell whether a Proxmox VE, Debian or Ubuntu host is running a fixed kernel (including why the researchers' checker reports fixed Proxmox 7.0 kernels as 'vulnerable, unless your vendor backported the fix' when USB storage drivers are present), how to block usb-storage and uas or use USBGuard until the reboot, and what to test first so the block does not break BMC virtual media (iDRAC, iLO and similar) or a server that boots from an internal USB or SD module. Package versions are as of 1 December 2026.
Short answer. usb2shell lets a crafted USB storage device exploit unpatched Linux kernels from 6.5 on (Drivesec showed root on a stock Debian kernel) during the automatic device scan, with no login and no mount. Update to a fixed kernel and reboot into it. On Proxmox VE 9, that means at least 7.0.14-25-pve (our reading of Proxmox's kernel source; Proxmox has not named the CVE) or the opt-in 7.3 kernel; in practice boot the newest build (7.0.14-31 or 7.3.6-1 on 1 December), because a separate Proxmox advisory, nfs2root, needs 7.0.14-30 or 7.3.3-1. On Debian 13, linux 6.12.113-1 or later in the 6.12 series (for backports kernels, check the Debian tracker). On Ubuntu 24.04, 6.8.0-149.149 or later in the 6.8 series, or 7.0.0-42.42~24.04.1 or later for the HWE 7.0 kernel. Until the reboot, block the usb-storage and uas modules or use USBGuard, but first check that the host does not boot from a USB-attached device and that your BMC virtual media still works.
As of 1 December 2026. This post is for operators of physical servers: Proxmox VE hosts, Debian and Ubuntu bare-metal machines, colocated servers, and anyone who passes USB devices into VMs.
What the researchers published#
Drivesec's usb2shell page, published on 30 November 2026, and the CVE record published by the Linux kernel CNA on 6 October 2026, describe the same bug:
- It is in
scsi_cdl_enable()in the SCSI core, added with Command Duration Limits (CDL) support in Linux 6.5. - When the kernel scans a new SCSI device that says it is an ATA device with CDL support, it reads a mode page into a 64-byte stack buffer. The length fields in the device's reply were used without checks, so the length could wrap and the data pointer could point past the buffer.
- A device can make the kernel send it up to 64 bytes of kernel stack and clear bits in one stack byte at an offset it picks. All of this happens during the automatic scan, before userspace sees a disk.
- Drivesec built a chain that gives root command execution on a stock Debian
6.12.22+bpo-amd64kernel, over a real USB port, with KASLR on. They describe the exploit as probabilistic, with failed attempts not crashing the machine.
The fix is upstream commit 3d676e458fe0 ("scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()"), committed on 9 September 2026 with a Reported-by: Sashiko AI Review tag, with stable backports in 6.6.158, 6.12.112, 6.18.54 and 7.2.8, and in 7.3. Drivesec's timeline says they found the bug on 26 August 2026 and reported it privately to the SCSI maintainers on 2 September. Sashiko AI Review had already reported it on linux-scsi: the commit's Closes: link points to a linux-scsi message whose ID is dated 17 July 2026, and Drivesec's page says it found the bug independently, wrote the fix and built the exploit chain.
Severity depends on who scores it: Ubuntu rates it Medium (CVSS 4.0 base 5.4, attack vector Physical), Red Hat rates it Important (CVSS 3.1 base 8.4). Both describe the same mechanism, but the scores use different CVSS versions and vectors (Ubuntu: AV:P with attack requirements present; Red Hat: AV:L), so they are not directly comparable. Restricted physical access reduces exposure; for a server in a shared colo cage, a kiosk or a branch office, it is the kind of bug that matters.
This post does not repeat the exploit details and has no proof of concept. It covers how to check and how to block.
Who is exposed#
The researchers' conditions are all three of: Linux 6.5 or later without the fix; USB mass storage support (usb-storage or uas) built in or loaded automatically; and someone who can plug a device into a USB port. On Debian, Ubuntu and Proxmox VE both drivers are normally built as modules that are loaded automatically when a matching device appears; step 4 below checks your host.
For servers, in NG-NeXT's reading, "someone who can plug a device in" covers more than an intruder:
- Colocation remote hands. The technician you ask to attach a crash cart or a USB stick, other tenants in a shared cage, and anyone else with access to the row.
- Branch and edge servers. Machines under a desk or in a comms cupboard.
- VMs with USB passthrough. A VM runs its own kernel, so a guest that is handed a USB storage device is exposed if its kernel is unfixed. Red Hat's statement also names the ability to attach virtualized devices to a guest.
- LXC containers run on the host kernel. There is nothing to patch inside them; a fixed host kernel covers them.
Upstream kernels older than 6.5 are not affected, but check vendor kernels: RHEL 9's 5.14-based kernel carries the code and has a fix (see table). Debian 12's default 6.1 kernel is listed by Debian as not affected. On Ubuntu 22.04 the default 5.15 linux package is not affected, but the HWE 6.8 kernel is.
Fixed versions by platform, as of 1 December 2026#
| Platform | Fixed from | Source |
|---|---|---|
| Upstream stable | 6.6.158, 6.12.112, 6.18.54, 7.2.8; mainline 7.3 | CVE record, usb2shell.com |
Debian 13 trixie, linux | 6.12.113-1 (DSA-6568-1); trixie now ships 6.12.117-1, trixie-security 6.12.118-1 | Debian tracker |
Debian 12 bookworm, default linux (6.1) | Not affected | Debian tracker |
Debian 12 bookworm, linux-6.12 backport | 6.12.113-1~deb12u1 (DLA-4850-1) | Debian tracker |
Ubuntu 24.04 LTS, linux | 6.8.0-149.149; the HWE 7.0 kernel from 7.0.0-42.42~24.04.1 | Ubuntu CVE page |
Ubuntu 26.04 LTS, linux | 7.0.0-42.42 | Ubuntu CVE page |
Ubuntu 22.04 LTS, linux (5.15) | Not affected | Ubuntu CVE page |
Ubuntu 22.04 LTS, linux-hwe-6.8 | 6.8.0-149.149~22.04.1 | Ubuntu CVE page |
Proxmox VE 9, default proxmox-kernel-7.0 | 7.0.14-25 and later contain the fixed code, by our reading of Proxmox's source (see below); no Proxmox advisory names the CVE | Proxmox kernel changelog, Proxmox kernel source mirror |
Proxmox VE 9, opt-in proxmox-kernel-7.3 | 7.3 is a fixed upstream series; 7.3.6-1 was the newest in pve-no-subscription on 1 December 2026 | Proxmox package index |
Proxmox VE 9, proxmox-kernel-6.17 (PVE 9.1's default) and 6.14 (PVE 9.0's) | Treat as unfixed: the newest builds in pve-no-subscription are 6.17.13-21 (file dated 28 July 2026) and 6.14.11-9, both older than the fix (9 September 2026). Move to the 7.0 series | Proxmox package index |
| Proxmox VE 8 (6.8 kernels) | Not checked | none |
| Red Hat Enterprise Linux 9 | kernel 5.14.0-741.24.1.el9_9 (RHSA-2026:100662); 9.8 EUS 5.14.0-687.69.1.el9_8 | Red Hat CVE data |
| Red Hat Enterprise Linux 10 | kernel 6.12.0-264.19.1.el10_3 (RHSA-2026:102168); 10.2 EUS 6.12.0-211.76.1.el10_2 (RHSA-2026:102090); RHEL 6, 7 and 8 listed as not affected | Red Hat CVE data |
For Ubuntu 24.04's 6.8 kernels the fix shipped in USN-9022-1 (10 November 2026), which lists CVE-2026-98232 among many kernel CVEs. That notice has no 7.0 packages; Ubuntu's CVE page lists the 24.04 HWE 7.0 kernel (linux-hwe-7.0) as fixed in 7.0.0-42.42~24.04.1. Use the CVE page for the status of each kernel flavour.
How we read the Proxmox VE status#
Proxmox VE kernels are built from Ubuntu's kernel sources plus Proxmox's own patches. Proxmox's kernel changelog does not mention CVE-2026-98232 or scsi_cdl_enable, and we found no Proxmox security advisory for it. So we looked at the code:
- The
7.0.14-25entry, dated 17 October 2026, says: "update sources to Ubuntu-7.0.0-43.43i1, based on the upstream stable releases up to v7.2.9 and v6.18.55 ...". The upstream 7.2 fix is in 7.2.8. - In Proxmox's kernel source mirror (
mirror_ubuntu-kernels.git),drivers/scsi/scsi.cat the tagUbuntu-7.0.0-43.43i1and at the laterProxmox-7.0-20261116snapshot contains the new length checks (avail = min_t(size_t, data.length, sizeof(buf)), header and block-descriptor length checks, and the five-byte minimum). - The same file at the older
Proxmox-7.0-20260923snapshot still has the unchecked subtraction. 7.0.14-30(16 November 2026) moved toUbuntu-7.0.0-44.44, and7.0.14-31(25 November 2026) is the newest 7.0 build in pve-no-subscription as of 1 December 2026.
In NG-NeXT's reading, proxmox-kernel 7.0.14-25 and later contain the fix and 7.0.14-24 and earlier should be treated as unfixed. This is our reading of the source tree, not a Proxmox statement, and we did not inspect the binary packages. If Proxmox publishes an advisory, it takes precedence.
Check a host#
None of these change configuration (proxmox-boot-tool status briefly mounts each ESP to read it). Run them as root on each host.
# 1. The kernel that is actually running (an installed but not booted kernel does not count)
uname -r
uname -v
# 2. Proxmox VE: installed kernel packages, and whether a kernel is pinned
pveversion -v | grep -i kernel
proxmox-boot-tool kernel list
# 3. Debian / Ubuntu: installed kernel packages
dpkg -l 'linux-image-*' | awk '/^[ih]i/ {print $1, $2, $3}' # hi = installed but on hold
# 4. Is USB mass storage built in, built as a module, or loaded right now?
grep -E '^CONFIG_USB_STORAGE=|^CONFIG_USB_UAS=' /boot/config-"$(uname -r)"
lsmod | grep -E '^(usb_storage|uas) '
# 5. Current USB authorization default per controller (1 = new devices authorized, 0 = none, 2 = internal ports only)
cat /sys/bus/usb/devices/usb*/authorized_default
# 6. Every USB-attached disk, with its full tree of partitions, LVM/dm children, filesystems and mountpoints
lsblk -adpno NAME,TRAN | awk '$2=="usb" {print $1}' | xargs -r -n1 lsblk -a -o NAME,TRAN,SIZE,FSTYPE,MOUNTPOINTS # -a also lists empty devices (card readers, BMC drives)
# Proxmox VE only: the ESPs proxmox-boot-tool keeps in sync (not kept mounted); it prints filesystem UUIDs,
# so map them to disks and transports. "E: /etc/kernel/proxmox-boot-uuids does not exist" means the tool
# manages no ESP here (for example a GRUB-on-LVM install); that is not an all-clear for USB boot.
proxmox-boot-tool status
lsblk -o NAME,TRAN,UUID,FSTYPE,MOUNTPOINTS
How to read it:
- Proxmox VE: the running kernel from
uname -rshould be at least7.0.14-25-pvein the 7.0 series, or a 7.3 kernel. That is only the floor for this CVE; Proxmox's nfs2root advisory (PSA-2026-00103-1) needs 7.0.14-30 or 7.3.3-1, so aim for the newest build. Ifproxmox-boot-tool kernel listshows a pinned kernel, that pin sets the default boot entry (a next-boot pin or a manual choice in the boot menu can still override it). If you pinned an older kernel to avoid a regression, remove the pin or move it to the newest build. - Debian:
uname -vshows the Debian package version (for exampleDebian 6.12.118-1). Compare it with the Debian table above. - Ubuntu: compare
uname -rand the package version with Ubuntu's CVE page. Ubuntu ships several kernel flavours (generic, HWE, cloud) with different fixed versions. CONFIG_USB_STORAGE=mmeans it is built as a loadable module, normally loaded automatically when a matching device appears;=ymeans it is built in, and a module block will not help (use USB authorization instead).- Any output from the
lsblkline in step 6 is a USB disk attached right now; also check whether any ESP UUID fromproxmox-boot-tool statussits on ausbdisk in the lastlsblklisting. Treat any USB disk as a reason to stop and trace what uses it (root,/boot, ESP, swap, ZFS or LVM members, raw disks given to guests) before you block anything. ZFS members and Proxmox ESPs show no mountpoint even when the host depends on them; checkzpool statusandproxmox-boot-tool statustoo.
The researchers also publish a checker, usb2shell-check.sh. It is a short shell script; read it before running it, as they suggest. It compares the kernel version with the upstream table and reports whether USB mass storage drivers are present. Two things to know: on Debian it uses the Debian upstream version from uname -v, which matches the tracker; on Proxmox VE, every 7.0.14-xx-pve kernel with USB storage drivers present is reported as "vulnerable, unless your vendor backported the fix" (without them, "vulnerable kernel, but no usb mass storage driver found; update anyway"), because the 7.0 series has no row in the upstream table. That line is accurate as written; it does not mean a 7.0.14-25 or later kernel lacks the fix. Two more limits, from reading the script: any kernel below 6.5 is reported "not affected", which is wrong for RHEL 9's 5.14 kernels that carry the backported code (use Red Hat's fixed versions instead); and it does not read /etc/modprobe.d or take authorized_default into its verdict, so it still says "vulnerable" after you apply option A or B.
Mitigate until you reboot#
The real fix is a fixed kernel and a reboot. Until the reboot window, the researchers list two mitigations: do not load usb-storage and uas where mass storage is not needed, or allow-list USB devices so unauthorized ones are not scanned. On a server, NG-NeXT would check three things before doing either.
First, check what you would break#
- Internal USB or SD boot media. Some servers boot from an internal USB key, SD card module or similar device that the operating system sees as USB storage. If step 6 shows a USB disk that holds root,
/boot, an ESP or a pool member, do not blockusb-storage: the host may not boot again. Do not use theusbcore.authorized_default=0boot option on such a host either, because it can leave the boot disk unauthorized at boot; a runtime write affects only devices connected later, but if the boot device disconnects and re-enumerates (for example after a failed reset), it comes back as a new device under the new default. USBGuard runs from the root filesystem, so it cannot authorize a USB root disk at boot without initramfs integration that we have not tested. Do not install or start USBGuard on such a host unless its rules already allow that disk: with the upstream defaults (PresentDevicePolicy=apply-policy,ImplicitPolicyTarget=block) the daemon applies its rules to devices already connected and blocks any device they do not match. On these hosts, prioritise the kernel update. Not every internal SD module is USB-attached; step 6 shows which are. - BMC virtual media. iDRAC, iLO and other BMCs usually present virtual media (an ISO or image file attached through the BMC) to the running operating system as a USB storage device. With
usb-storageanduasblocked, a running Linux host should no longer see that media. The firmware's own first access to virtual media (for example to start an installer) happens before Linux starts, so we expect that to keep working; whatever Linux then needs to read from that media depends on the booted system's USB storage support. We have not tested this on any BMC. If your runbook attaches ISOs or firmware images to a running host through the BMC, test that workflow on one host per hardware model before you roll the block out. - Backup and transfer disks. USB disks used for offline backups, imports or rescue will stop appearing.
Option A: block the modules#
This file stops both drivers loading automatically (blacklist) and makes an ordinary modprobe of either fail (install ... /bin/false); root can still load a module by other means, so this is a policy, not a kernel-enforced lock. It is the standard modprobe mechanism; this exact file has not been run by NG-NeXT for this post.
cat > /etc/modprobe.d/usb2shell-block-usb-storage.conf <<'CONF'
# Temporary: CVE-2026-98232 (usb2shell). Remove after booting a fixed kernel.
blacklist uas
blacklist usb-storage
install uas /bin/false
install usb-storage /bin/false
CONF
# keep the block in the initramfs too (initramfs-tools; on dracut-based systems use your tool and check its contents)
update-initramfs -u -k all
# if the modules are loaded now and step 6 shows no USB disk, unload them (detach unused USB disks first)
modprobe -r uas usb-storage
The install lines only stop future loads; a module that is already loaded keeps working and can bind a USB storage device plugged in later. So option A is not in effect until lsmod | grep -E '^(usb_storage|uas) ' prints nothing. If you cannot unload them, use the authorization default in option B (after the boot-media check) or reboot into the fixed kernel. If modprobe -r reports that a module is in use, look at what holds it (lsmod | grep -E 'usb_storage|uas' shows dependent modules, such as ums-* sub-drivers) and at step 6 again before going further. To undo the block later, delete the file, run update-initramfs -u -k all again, and load the modules with modprobe -a usb-storage uas if you need them, then reconnect the devices.
Option B: allow-list USB devices#
USB authorization stops the kernel from binding drivers to a device until it is authorized, so an unauthorized storage device is not scanned. Two ways:
- USBGuard (
apt install usbguardon Debian, Ubuntu and Proxmox VE). Package behaviour differs by release: Debian 13's package (1.1.3+ds-3) generates/etc/usbguard/rules.conffrom the devices connected at install time if no rules file exists, and the service is normally enabled by the package; newer Debian packages may not generate a policy. So, before installing, make sure you have a management session that does not depend on any USB device the policy could block (SSH over a network interface that is not USB-attached, not a BMC or crash-cart keyboard), read/etc/usbguard/rules.confright after installing, and when you regenerate, write to a separate file first ((umask 077; usbguard generate-policy > /root/usbguard-rules.new), in a subshell so the umask does not stay set in your shell), compare it, keep a backup of the live file, and only then install it with the permissions the daemon requires (install -o root -g root -m 0600 /root/usbguard-rules.new /etc/usbguard/rules.conf; upstream USBGuard refuses a rules file with wider permissions), restart the service (systemctl restart usbguard), and checksystemctl status usbguardandusbguard list-devicesfrom that management session; redirecting straight ontorules.confoverwrites it. Without a policy that includes them, USBGuard can block the BMC's virtual keyboard and mouse and a crash-cart keyboard, which is how people lock themselves out of a console. Devices present before the daemon starts at boot are a gap unless the kernel's default is also changed. - The kernel's authorization default. At runtime,
echo 0 > /sys/bus/usb/devices/usbX/authorized_defaultfor each controller stops new devices on it from being authorized (the kernel's USB authorization documentation); it applies immediately, is lost at reboot, and does not touch devices already connected. To make it persistent,usbcore.authorized_default=on the kernel command line (0none,2internal ports only) takes effect from the next boot. Either way it applies to keyboards too, so plan how you will authorize console devices. The researchers listauthorized_default=0as a mitigation.
For a single server you mostly reach over the network, NG-NeXT would start with option A after the boot-media check, because it is simple to read and to undo. Option B suits machines where USB storage must keep working for known devices.
A note on colocation remote hands#
For a colocated host that cannot reboot today, the honest decision is between a reboot window soon and tighter process until then. Booking a reboot into a fixed kernel usually costs one maintenance window; remote-hands time is often billed and can be slow to schedule, and the remote-hands process is one of the ways a USB device can reach the server. Until the host runs a fixed kernel, ask the facility not to plug USB storage into it without a ticket that names the device, and use network boot instead of USB sticks where you can, or BMC virtual media once you have tested it against your mitigation and trust the management network. This is our suggestion, not facility guidance.
After the reboot#
- Confirm
uname -r(and on Debianuname -v) shows a fixed kernel on every host, including each node of a cluster. - On Proxmox VE, remove or update any kernel pin that points at an unfixed build.
- If you added the module block only for this bug and need USB storage, remove the file, rebuild the initramfs and confirm
lsmodshows the module again when a device is attached. If you do not need USB storage on servers, keeping the block is a reasonable hardening choice. - Patch guest kernels in VMs that receive USB passthrough.
What we did not verify#
- Proxmox has not named CVE-2026-98232 in an advisory or changelog. The Proxmox status above is our reading of Proxmox's kernel source mirror and changelog, not a vendor statement, and we did not inspect binary packages or check every 7.0 build before -25.
- The
proxmox-kernel-6.17and6.14series: only build dates checked (both older than the fix); source not read. Proxmox VE 8 kernels: not checked. - Red Hat: fixed versions read from the CVE JSON on 1 December 2026 for RHEL 9, 9.8 EUS, 10 and 10.2 EUS; other product streams (other EUS releases, real-time, other minor releases) are not listed here.
- Whether other paths that scan ATA devices through the SCSI layer (for example hot-plugged SATA or SAS drives) can reach the same code. The CVE text and the researchers describe USB storage; we have not checked other transports.
- BMC virtual-media behaviour with the module block, on any vendor's hardware.
- How every server model's internal USB or SD boot module appears to Linux.
Tests still to run (needs Nishant's test)#
- On a lab Proxmox VE 9 host, confirm the source reading against the binary: boot
7.0.14-24and7.0.14-25or later and comparescsi_cdl_enablein the packaged kernel with the source (or obtain a Proxmox statement). - Run
usb2shell-check.shon Proxmox VE, Debian 13 and Ubuntu 24.04 lab hosts and record its output against the tables above. - Apply option A on a lab host; confirm a normal USB stick no longer appears, that
modprobe usb-storageis refused, and that the host reboots cleanly. - With option A in place, attach an ISO through the BMC virtual media on each hardware model in use; record whether the running OS sees it (expected: no) and whether booting from virtual media still works (expected: yes).
- Apply USBGuard with a generated policy on a lab host; confirm the BMC virtual keyboard and a crash-cart keyboard still work, and that a new USB stick is blocked before scanning.
- Undo both mitigations and confirm USB storage works again.
- Run the step 6
lsblkone-liner andproxmox-boot-tool statuson a lab host with a USB boot disk and an unmounted ESP; confirm the USB disk shows up and the ESP UUID maps to it. - Install
usbguardon a lab Debian 13 / Proxmox VE 9 host and record whether a policy is generated and the service started, before relying on the wording above.
Evidence#
| Claim | Label | Source |
|---|---|---|
Stack out-of-bounds in scsi_cdl_enable() during automatic scan of a USB storage device that identifies as ATA with CDL; up to 64 bytes of stack disclosed, a target-selected stack byte modified; no mount needed | Verified against a primary source | CVE record; usb2shell.com |
Root command execution on stock Debian 6.12.22+bpo-amd64 over a real USB port with KASLR on | Reported, not reproduced | usb2shell.com, 30 Nov 2026 |
Affected from 6.5; fixed in 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3; fix commit 3d676e458fe0 | Verified against a primary source | CVE record; usb2shell.com; Debian tracker note (7.3-rc4) |
Fix authored by Drivesec (4 Sep 2026); Reported-by: Sashiko AI Review; Closes: linux-scsi message 20260717 | Verified against a primary source | commit 3d676e458fe0 patch |
Debian 13 fixed from 6.12.113-1 (DSA-6568-1); bookworm linux not affected; linux-6.12 in bookworm fixed from 6.12.113-1~deb12u1 (DLA-4850-1) | Verified against a primary source | Debian tracker, read 1 Dec 2026 |
Ubuntu 24.04 fixed in 6.8.0-149.149, 26.04 in 7.0.0-42.42, 22.04 linux (5.15) not affected, 22.04 linux-hwe-6.8 fixed in 6.8.0-149.149~22.04.1; Ubuntu priority Medium, CVSS 4.0 5.4 | Verified against a primary source | Ubuntu CVE page, last updated 25 Nov 2026 |
| USN-9022-1 (10 Nov 2026) ships 6.8.0-149.149 for 24.04 (no 7.0 packages) and lists CVE-2026-98232 | Verified against a primary source | USN-9022-1; ubuntu-security-announce |
| Red Hat: Important, CVSS 3.1 8.4; physical access or ability to attach virtualized devices to a guest; RHEL 9 and 10 fixed (RHSA-2026:100662, :102710, :102168, :102090), RHEL 6-8 not affected | Verified against a primary source | Red Hat CVE page; Red Hat CVE JSON |
| Proxmox VE 9 default kernel series is 7.0; newest 7.0 build in pve-no-subscription is 7.0.14-31; opt-in 7.3 at 7.3.6-1 | Verified against a primary source | pve-no-subscription Packages index for trixie (proxmox-default-kernel 2.1.0 and its changelog), read 1 Dec 2026 |
| PSA-2026-00103-1 (nfs2root, CVE-2026-99362) fixed in proxmox-kernel 7.0.14-30 and 7.3.3-1 | Verified against a primary source | Proxmox security advisories thread, 26 Nov 2026 |
7.0.14-25 moved to Ubuntu-7.0.0-43.43i1; that tag and Proxmox-7.0-20261116 contain the fixed length checks; Proxmox-7.0-20260923 does not (source tree only; binaries not inspected; web blob view returns 403, read via shallow git clone of the tags) | Verified against a primary source | Proxmox kernel changelog; drivers/scsi/scsi.c in Proxmox's mirror_ubuntu-kernels.git at those tags |
| The researchers' checker reports every 7.0 kernel with USB storage drivers present as "vulnerable, unless your vendor backported the fix"; below 6.5 it reports "not affected"; it ignores modprobe.d and authorized_default in its verdict | Our reading of the script | usb2shell-check.sh |
usbcore.authorized_default: 0 none, 1 all, 2 internal ports only; sysfs authorized_default per controller applies to new devices | Verified against a primary source | Linux Documentation/admin-guide/kernel-parameters.txt (7.0 tree); USB authorization |
| Proxmox 6.17.13-21 file dated 28 Jul 2026; newest 6.14 build 6.14.11-9 | Verified against a primary source | pve-no-subscription index and HTTP Last-Modified, read 1 Dec 2026 |
| Debian 13 usbguard 1.1.3+ds-3 postinst generates rules.conf at install if absent | Verified against a primary source | usbguard.postinst |
| BMC virtual media appears to the running OS as USB storage and is hidden by the module block; the firmware's first access is expected to be unaffected, later access by Linux affected | Not tested; our expectation | See Tests still to run |
| Module block file and USBGuard steps | Not tested; standard mechanisms, our construction | See Tests still to run |
FAQ#
What is usb2shell (CVE-2026-98232)?#
A bug in the Linux SCSI core function scsi_cdl_enable(), added with Command Duration Limits support in Linux 6.5. When the kernel scans a new device that says it is an ATA device with CDL support, it reads a mode page into a 64-byte stack buffer and used the length fields from the device's reply without checking them. A malicious USB storage device can make the kernel send it up to 64 bytes of kernel stack and clear bits in one stack byte it chooses. Drivesec, who found it independently, wrote the fix and built the exploit (Sashiko AI Review had already reported the bug on linux-scsi), turned this into root command execution on a stock Debian 6.12.22+bpo kernel with KASLR enabled. It fires during the automatic scan, before any disk appears to userspace, so no login, click or mount is needed.
Which kernel versions are fixed?#
Upstream, the first fixed releases are 6.6.158, 6.12.112, 6.18.54, 7.2.8 and 7.3 (the CVE record and the researchers' page agree). Upstream kernels before 6.5 never had the vulnerable code, but enterprise kernels can carry it as a backport: Red Hat shipped fixes for RHEL 9 (5.14.0-741.24.1.el9_9, RHSA-2026:100662) and RHEL 10. Distribution kernels carry backports, so check your distribution's package version, not only the upstream number. As of 1 December 2026: Debian 13 (trixie) is fixed from linux 6.12.113-1 (DSA-6568-1), and Debian 12 (bookworm) is not affected with its default 6.1 kernel, while its linux-6.12 backport is fixed from 6.12.113-1~deb12u1 (DLA-4850-1). Ubuntu's CVE page lists 24.04 LTS as fixed in linux 6.8.0-149.149 and 26.04 LTS in 7.0.0-42.42. On 22.04 LTS the default linux (5.15) package is not affected, but the linux-hwe-6.8 kernel is, fixed in 6.8.0-149.149~22.04.1.
Is Proxmox VE 9 fixed?#
Proxmox has not published a security advisory naming CVE-2026-98232 that we could find, and its kernel changelog does not name it. What we could check: Proxmox VE 9's default kernel series is 7.0 (proxmox-default-kernel 2.1.0 depends on proxmox-kernel-7.0), and the 7.0.14-25 changelog entry, dated 17 October 2026, says it moved to Ubuntu-7.0.0-43.43i1 based on upstream stable up to v7.2.9. In Proxmox's own kernel source mirror, the Ubuntu-7.0.0-43.43i1 tag and the later Proxmox-7.0-20261116 snapshot contain the fixed scsi_cdl_enable() length checks, while the older Proxmox-7.0-20260923 snapshot still has the vulnerable code. In NG-NeXT's reading, that means proxmox-kernel 7.0.14-25 and later include the fix. We did not check every older 7.0 build or the binary packages themselves, and did not read the source of the older 6.17 and 6.14 series; treat those as unfixed. The opt-in 7.3 kernel is a fixed upstream series. 7.0.14-25 is only the minimum for this CVE: Proxmox's advisory PSA-2026-00103-1 (nfs2root, CVE-2026-99362) is fixed only from 7.0.14-30 and 7.3.3-1, so boot the newest build.
The usb2shell checker says my Proxmox kernel is vulnerable. Is it?#
Not necessarily. The checker compares the version number with an upstream table that has rows only for 6.6, 6.12, 6.18 and 7.2, and treats 7.3 and later as fixed. A Proxmox 7.0.14-xx-pve kernel has no row, so the checker prints 'vulnerable, unless your vendor backported the fix' for every 7.0 build (with USB storage drivers present); Ubuntu's 6.8 and 7.0 kernels have no row either and are flagged the same way. The researchers say as much: vendors backport fixes without changing the version number. On Proxmox VE, check that the running kernel is 7.0.14-25-pve or later instead (preferably the newest build). On Debian the checker reads the Debian upstream version from uname -v, which matches the tracker for Debian's own kernels.
Do LXC containers and VMs need their own fix?#
LXC containers run on the host kernel, so a fixed host kernel covers them. A VM runs its own kernel. The published attack path needs a USB storage device, real or crafted, attached to the VM, for example through USB passthrough or someone with rights to add devices to the guest; Red Hat's statement mentions the ability to attach virtualized devices to a guest as an exposure. Patch guest kernels on their normal schedule, and sooner for any guest with USB passthrough.
How do I block USB storage until I can reboot into a fixed kernel?#
Stop the usb-storage and uas modules from loading: add blacklist and install lines for both to a file in /etc/modprobe.d/, rebuild the initramfs, and unload the modules if they are loaded and nothing is using them. Or use USB allow-listing, which stops unauthorized devices from being scanned: USBGuard, or writing 0 to each controller's authorized_default file in sysfs (takes effect now for newly connected devices, not persistent). The usbcore.authorized_default= boot option only takes effect at the next boot. Both approaches are in the researchers' mitigation table. Before either, check that the host does not boot from or store anything on a USB-attached device, and that your BMC virtual-media workflow still works.
Will blocking usb-storage break iDRAC, iLO or other BMC virtual media?#
It can. BMC virtual media usually reaches a running operating system as a USB storage device, so with usb-storage and uas blocked, a running Linux host should no longer see an ISO or image attached through the BMC. The server firmware's own first access to virtual media happens before Linux starts, so we expect that part to keep working; anything the booted Linux system then needs to read from the virtual media still depends on its own USB storage support. We have not tested this on any BMC. Test it on one host per hardware model before rolling the block out, and keep a written way to undo it.
What about colocation remote hands?#
In a colocation facility, 'physical access' includes anyone who can reach the front or back of the server: remote-hands staff, other tenants in a shared cage, or anyone handed a USB stick to plug in. Facility controls make a casual attack unlikely, but the bug needs no credentials, only physical access to a port. Until the host runs a fixed kernel, ask remote hands not to plug USB storage into the server without a ticket that names the device, and prefer network boot, or BMC virtual media once you have tested it with your mitigation and trust the management network, for anything they would otherwise do with a USB stick.
Has NG-NeXT tested this?#
No. As of 1 December 2026 this post is built from the researchers' page and checker, the CVE record, the Debian, Ubuntu and Red Hat trackers, Proxmox's kernel changelog, package index and kernel source mirror. NG-NeXT has not run the checker, the module block, USBGuard or a BMC virtual-media test on any server for this post. Those are listed under Tests still to run.
References#
- Drivesec: usb2shell: Root on Linux from a USB Plug-In (CVE-2026-98232), 30 Nov 2026; checker script
- CVE record: CVE-2026-98232; upstream fix 3d676e458fe0; stable backports 39491a1ae930, 60b0b8ce803e, 6233d0b3ef46, 99a6e4a9176d
- Debian: security tracker, CVE-2026-98232
- Ubuntu: CVE-2026-98232; USN-9022-1
- Red Hat: CVE-2026-98232
- Proxmox: pve-kernel changelog; pve-kernel shortlog
- USBGuard: project site
The know-how here stays free. Stuck? Send us your uname -r, uname -v and the checker output, with hostnames and serial numbers removed. NG-NeXT also does consulting and turnkey builds for private infrastructure. Tell us what you run through the contact page.
— Nishant Gauraw, Founder and CEO, NG-NeXT Tech