CVE-2026-31758 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: usbtmc: Flush anchored URBs in usbtmc_release When calling usbtmc_release, pending anchored URBs must be flushed or killed to prevent use-after-free errors (e.g. in the HCD giveback path). Call usbtmc_draw_down() to allow anchored URBs to be completed.
A use-after-free vulnerability has been identified in the USB Test and Measurement Class (USBTMC) driver of the Linux kernel. This issue arises in the usbtmc_release function, where pending anchored USB Request Blocks (URBs) are not properly flushed or terminated before the function completes. This oversight can lead to use-after-free errors, particularly in the Host Controller Driver (HCD) giveback path. The vulnerability has been addressed by modifying the usbtmc_release function to include a call to usbtmc_draw_down, ensuring that anchored URBs are allowed to complete before the function exits.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version can be found in the Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f | kernel.org | Patch |
| https://git.kernel.org/stable/c/8a768552f7a8276fb9e01d49773d2094ace7c8f1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/959ef329071136e4335b54822fe2f607659b4569 | kernel.org | Patch |
| https://git.kernel.org/stable/c/95e09b07e50290254b28b8395509473104518f8c | kernel.org | Patch |
| https://git.kernel.org/stable/c/977b632db51d231dec0bc571089a5c2402674139 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d40198de50232e04c14c6e2092e896766c95ea48 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e189d443767f7cd390c52f2e122e1fc41c7562d6 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.19, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.168 >= 6.2, < 6.6.134 >= 6.7, < 6.12.81 >= 6.13, < 6.18.22 >= 6.19, < 6.19.12 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 3, 2026 | CVE Modified | kernel.org |
| May 1, 2026 | New CVE Received | kernel.org |