usb: storage: Fix memory leak in USB bulk transport
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 5 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: storage: Fix memory leak in USB bulk transport A kernel memory leak was identified by the 'ioctl_sg01' test from Linux Test Project (LTP). The following bytes were mainly observed: 0x53425355. When USB storage devices incorrectly skip the data phase with status data, the code extracts/validates the CSW from the sg buffer, but fails to clear it afterwards. This leaves status protocol data in srb's transfer buffer, such as the US_BULK_CS_SIGN 'USBS' signature observed here. Thus, this can lead to USB protocols leaks to user space through SCSI generic (/dev/sg*) interfaces, such as the one seen here when the LTP test requested 512 KiB. Fix the leak by zeroing the CSW data in srb's transfer buffer immediately after the validation of devices that skip data phase. Note: Differently from CVE-2018-1000204, which fixed a big leak by zero- ing pages at allocation time, this leak occurs after allocation, when USB protocol data is written to already-allocated sg pages.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.16.58 to before 3.17; 3.18.110 to before 3.19; 4.4.133 to before 4.5; 4.9.103 to before 4.10; 4.14.44 to before 4.15; 4.16.12 to before 4.17 | 3.17, 3.19, 4.5, 4.10, 4.15, 4.17 | Patch available | CNA |
| Linux | Linux | 4.17 and later | 5.10.247, 5.15.197, 6.1.159, 6.6.119, 6.12.61, 6.17.11, 6.18 | Patch available | CNA |
- Linux VendorLinux Affected 3.16.58 to before 3.17; 3.18.110 to before 3.19; 4.4.133 to before 4.5; 4.9.103 to before 4.10; 4.14.44 to before 4.15; 4.16.12 to before 4.17 Fixed in 3.17, 3.19, 4.5, 4.10, 4.15, 4.17 Patch available CNA
- Linux VendorLinux Affected 4.17 and later Fixed in 5.10.247, 5.15.197, 6.1.159, 6.6.119, 6.12.61, 6.17.11, 6.18 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 3.17, 3.19, 4.5, 4.10, 4.15, 4.17
- Fix · CNA Linux (Linux) Fixed in 5.10.247, 5.15.197, 6.1.159, 6.6.119, 6.12.61, 6.17.11, 6.18
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68288
- 2026-10-03 Alias added: GHSA-87cr-f8hp-2h8x
References
Other 7
- https://git.kernel.org/stable/c/83f0241959831586d9b6d47f6bd5d3dec8f43bf0
- https://git.kernel.org/stable/c/4ba515dfff7eeca369ab85cdbb3f3b231c71720c
- https://git.kernel.org/stable/c/467fec3cefbeb9e3ea80f457da9a5666a71ca0d0
- https://git.kernel.org/stable/c/cb1401b5bcc2feb5b038fc4b512e5968b016e05e
- https://git.kernel.org/stable/c/0f18eac44c5668204bf6eebb01ddb369ac56932b
- https://git.kernel.org/stable/c/5b815ddb3f5560fac35b16de3a2a22d5f81c5993
- https://git.kernel.org/stable/c/41e99fe2005182139b1058db71f0d241f8f0078c
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-68288 · CVE Program
- CVE-2025-68288 · NVD
- FIRST EPSS
- GHSA-87cr-f8hp-2h8x · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68288 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences