Local memory corruption via premature f_tcm command free
Published Mar 6, 2025 · Updated May 11, 2026
Double free in the Linux kernel f_tcm USB gadget function allows local users to corrupt kernel memory through USB target I/O. The f_tcm completion path frees a command before sense-status completion and later frees the same command again when that status finishes. Reachability requires local access to a kernel with the USB gadget TCM function present and exercised; the documented consequence is memory corruption.
Summary
What happened
Double free in the Linux kernel f_tcm USB gadget function allows local users to corrupt kernel memory through USB target I/O. The f_tcm completion path frees a command before sense-status completion and later frees the same command again when that status finishes. Reachability requires local access to a kernel with the USB gadget TCM function present and exercised; the documented consequence is memory corruption.
The record
- CVE
- CVE-2024-58055
- Published
- Mar 6, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 6, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.6
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <16907219ad6763f401700e1b57b2da4f3e07f047
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <38229c35a6d7875697dfb293356407330cfcd23e
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <929b69810eec132b284ffd19047a85d961df9e4d
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <c225d006a31949d673e646d585d9569bc28feeb9
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <e6693595bd1b55af62d057a4136a89d5c2ddf0e9
- Affected versionversion=cff834c16d23d614388aab1b86d19eb67b3f80c4 <f0c33e7d387ccbb6870e73a43c558fefede06614
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo