CVE-2026-31758
kernel: usb: usbtmc: Flush anchored URBs in usbtmc_release
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 1, 2026
Updated · July 2, 2026
Description
A flaw was found in the Linux kernel's usbtmc module. This vulnerability occurs because pending anchored Universal Serial Bus (USB) Request Blocks (URBs) are not flushed or killed when the usbtmc_release function is called. This can result in use-after-free errors, which could potentially lead to system crashes or, in some scenarios, arbitrary code execution.
Statement
USBTMC must flush anchored URBs on release to avoid completion after free. Red Hat recommends updates for instrument/gPIB-style USBTMC users; unload usbtmc where devices are not needed.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the usbtmc module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-825 · Expired Pointer Dereference