---
title: 'Linux kernel USB2Shell: a USB stick can gain root, fixed in 6.12.112 (CVE-2026-98232)'
description: >-
  Fix available. CVE-2026-98232, named USB2Shell, is a memory corruption bug in the Linux kernel's
  SCSI layer, in scsi_cdl_enable(), the Command Duration Limits...
url: https://expiredqueues.com/security-advisories/linux-kernel-usb2shell-cve-2026-98232/
markdown: https://expiredqueues.com/security-advisories/linux-kernel-usb2shell-cve-2026-98232/index.md
image: >-
  https://expiredqueues.com/images/og/security-advisories-linux-kernel-usb2shell-cve-2026-98232-f46c2f1c.jpg
---

[Security advisories](https://expiredqueues.com/security-advisories/index.md)

# Linux kernel USB2Shell: a USB stick can gain root, fixed in 6.12.112 (CVE-2026-98232)

First listed 1 December 2026 Updated 1 December 2026

Fix available

CVE-2026-98232, named USB2Shell, is a memory corruption bug in the Linux kernel's SCSI layer, in scsi\_cdl\_enable(), the Command Duration Limits code added in Linux 6.5. A USB storage device that claims to be an ATA drive with CDL support returns crafted MODE SENSE lengths, and the kernel reads past a 64-byte stack buffer and changes one byte at an offset the device picks. It happens while the kernel scans the device, with no login and no mount. The Italian firm Drivesec disclosed it on 30 Nov 2026 and, per press, showed it gives a root shell. Someone must plug the device in, or attach a malicious virtual disk or iSCSI target. Ubuntu rates it Medium (CVSS 4.0 score 5.4); Red Hat rates it Important (8.4), per press. No attacks are reported and, per press, the exploit code is not public.

## Is CVE-2026-98232 exploited?

No attacks reported as of 1 December 2026.

## Is there a fix?

Yes. A fix is out. The details are in [the source](https://ubuntu.com/security/CVE-2026-98232).

- **Vendor:** [Linux kernel](https://expiredqueues.com/security-advisories/vendor/linux-kernel/index.md)
- **Type:** Critical
- **Status:** Fix available. No exploitation reported.
- **CVE:** [CVE-2026-98232](https://www.cve.org/CVERecord?id=CVE-2026-98232)
- **Tags:** [Linux kernel](https://expiredqueues.com/security-advisories/stack/linux-kernel/index.md), [Ubuntu](https://expiredqueues.com/security-advisories/stack/ubuntu/index.md), [Debian](https://expiredqueues.com/security-advisories/stack/debian/index.md)
- **History:**
  - 1 December 2026 First listed. Drivesec disclosed it on 30 Nov; Ubuntu and Debian have fixed kernels. No attacks reported.

[Read the source](https://ubuntu.com/security/CVE-2026-98232)

## More sources

- [security-tracker.debian.org/tracker/CVE-2026-98232](https://security-tracker.debian.org/tracker/CVE-2026-98232)
- [thecybersecguru.com/news/usb2shell-cve-2026-98232-linux-kernel-usb-roo...](https://thecybersecguru.com/news/usb2shell-cve-2026-98232-linux-kernel-usb-root-exploit/)

## Related advisories

- [Linux kernel NFS2ROOT root flaw fixed in 6.12.117, 6.18.61, 7.3.2 (CVE-2026-99362)](https://expiredqueues.com/security-advisories/linux-kernel-nfs2root-cve-2026-99362/index.md)
- [Linux kernel NoisyTCP remote crash](https://expiredqueues.com/security-advisories/linux-kernel-noisytcp-cve-2026-99288/index.md)
- [ntfs-3g 2026.11.23 fixes about 32 flaws in the NTFS driver for Linux](https://expiredqueues.com/security-advisories/ntfs-3g-2026-11-23/index.md)
- [Upload2Shell: Ghostscript font bug turns uploaded files into code execution (CVE-2026-125396)](https://expiredqueues.com/security-advisories/ghostscript-upload2shell-cve-2026-125396/index.md)
- [Ubuntu 24.04 kernel update (USN-9173-1)](https://expiredqueues.com/security-advisories/ubuntu-kernel-usn-9173-1/index.md)

This is one entry in a list I pick by hand. It tells you whether a fix exists. For how to apply it, follow the source. [See all advisories](https://expiredqueues.com/security-advisories/index.md).

**Follow Expired Queues.** We are on X and Instagram.

[](https://x.com/expiredqueues "Expired Queues on X (@expiredqueues)")[](https://www.instagram.com/expiredqueues/ "Expired Queues on Instagram (@expiredqueues)")

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Article",
      "headline": "Linux kernel USB2Shell: a USB stick can gain root, fixed in 6.12.112 (CVE-2026-98232)",
      "description": "CVE-2026-98232, named USB2Shell, is a memory corruption bug in the Linux kernel's SCSI layer, in scsi_cdl_enable(), the Command Duration Limits code added in Linux 6.5. A USB storage device that claims to be an ATA drive with CDL support returns crafted MODE SENSE lengths, and the kernel reads past a 64-byte stack buffer and changes one byte at an offset the device picks. It happens while the kernel scans the device, with no login and no mount. The Italian firm Drivesec disclosed it on 30 Nov 2026 and, per press, showed it gives a root shell. Someone must plug the device in, or attach a malicious virtual disk or iSCSI target. Ubuntu rates it Medium (CVSS 4.0 score 5.4); Red Hat rates it Important (8.4), per press. No attacks are reported and, per press, the exploit code is not public.",
      "datePublished": "2026-12-01",
      "dateModified": "2026-12-01",
      "author": {
        "@type": "Person",
        "name": "Adrian Noel",
        "url": "https://expiredqueues.com/about/"
      },
      "publisher": {
        "@type": "Person",
        "name": "Adrian Noel"
      },
      "mainEntityOfPage": "https://expiredqueues.com/security-advisories/linux-kernel-usb2shell-cve-2026-98232/",
      "isPartOf": {
        "@type": "CollectionPage",
        "@id": "https://expiredqueues.com/security-advisories/"
      },
      "about": "Linux kernel",
      "keywords": "CVE-2026-98232",
      "citation": "https://ubuntu.com/security/CVE-2026-98232"
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://expiredqueues.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Security advisories",
          "item": "https://expiredqueues.com/security-advisories/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Linux kernel USB2Shell: a USB stick can gain root, fixed in 6.12.112 (CVE-2026-98232)",
          "item": "https://expiredqueues.com/security-advisories/linux-kernel-usb2shell-cve-2026-98232/"
        }
      ]
    }
  ]
}
```
