CVE-2026-31758
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31758 is a use-after-free vulnerability in the Linux kernel's USB TMC (Test & Measurement Class) driver, specifically in the usbtmc_release function. When a USB TMC device is released, pending anchored URBs (USB Request Blocks) are not properly flushed or killed, leaving them active in memory and susceptible to use-after-free errors — particularly in the HCD (Host Controller Driver) giveback path. The vulnerability was published on May 1, 2026, and affects Linux kernel versions from 4.19 through multiple stable branches up to 6.19.x and 7.0 release candidates. It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-416 (Use After Free) and CWE-825 (Expired Pointer Dereference). When usbtmc_release is called during device teardown, it fails to invoke usbtmc_draw_down(), which is responsible for waiting on and completing any in-flight anchored URBs. As a result, the HCD may attempt to execute a giveback callback on a URB whose associated memory has already been freed, triggering a kernel memory corruption condition. Exploitation requires local access with low privileges (e.g., a user-space process that can open and close a USB TMC device), and no network-facing attack vector exists (GitHub Advisory, Red Hat Bugzilla).

Impact

Successful exploitation can lead to kernel memory corruption, which may result in a system crash (denial of service) or, in more sophisticated scenarios, privilege escalation from a low-privileged local user to kernel-level access. The vulnerability is scoped to systems where USB TMC devices are connected or the usbtmc kernel module is loaded. Confidentiality, integrity, and availability are all rated as high impact given the potential for full kernel compromise (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation as of the time of publication (GitHub Advisory). The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.024%, reflecting a low probability of near-term exploitation. Exploitation requires local access and the presence of a USB TMC device or loaded driver, which limits the attack surface considerably.

Mitigation and workarounds

Patches have been released across multiple stable Linux kernel branches. Fixed versions include: 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, and 6.19.12, as well as the 7.0 mainline. The fix adds a call to usbtmc_draw_down() within usbtmc_release to properly flush or kill anchored URBs before device teardown (GitHub Advisory). Downstream distributions including SUSE and Amazon Linux 2 have issued updated kernel packages (SUSE Advisory, Amazon Linux). As an interim workaround, administrators can unload or blacklist the usbtmc kernel module on systems where USB TMC functionality is not required.

Community reactions

SUSE issued security update advisories (SUSE-SU-2026:2310-1 and SUSE-SU-2026:2331-1) addressing this vulnerability among others in their kernel packages (SUSE Advisory). Amazon Linux 2 also released a kernel update incorporating the fix (Amazon Linux). The Yocto Project security mailing list flagged the issue for embedded Linux maintainers. No notable independent researcher commentary or significant social media discussion has been identified beyond standard vulnerability tracking coverage.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.170-1

Fixed

sid

linux: 6.19.12-1

Fixed

trixie

linux: 6.12.85-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux-hwe-5.4

Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

RHEL / CentOS

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-oracle-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management