In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_tcm: Don't free command immediately
Don't prematurely free the command. Wait for the status completion of
the sense status. It can be freed then. Otherwise we will double-free
the command.
Security readout for executives and security teams
Plain-English summary
CVE-2024-58055 is a Linux kernel double-free bug in the USB gadget f_tcm component. A local low-privileged user may be able to trigger kernel memory corruption, with high confidentiality, integrity, and availability impact. No provided source reports active exploitation.
Executive priority
Treat as high priority where affected Linux kernels support USB gadget mode, especially embedded, appliance, or physical-access environments. Prioritize patching, but do not assume internet-scale remote exposure from the supplied evidence.
Technical view
The flaw is CWE-415 in usb gadget f_tcm. The kernel freed a command before sense-status completion, then freed it again. The upstream fix delays freeing until status completion. CVSS 3.1 is 7.8: local attack, low complexity, low privileges, no user interaction, high CIA impact.
Likely exposure
Exposure is most likely on Linux systems running affected kernel versions where USB gadget f_tcm functionality is enabled or loadable. The bundle does not establish default exposure, distro breadth beyond cited Debian LTS advisories, or whether common server builds are affected.
Exploitation context
The CVE is not listed as KEV, and the supplied sources do not report exploitation in the wild. Attack vector is local with low privileges and no user interaction. Public sources provided do not include exploit details or proof of weaponization.
Researcher notes
Focus triage on kernel builds with f_tcm and target gadget support. The fix addresses command lifetime handling around sense status completion. Evidence supports local attack requirements and high potential impact, but not active exploitation or reliable exploit availability.
Mitigation direction
Upgrade to a vendor kernel containing the referenced stable fixes.
Apply Debian LTS kernel updates if running affected Debian packages.
Check your Linux distributor advisory for exact fixed package versions.
If patching is delayed, review vendor guidance for disabling unused USB gadget functionality.
Validation and detection
Inventory Linux kernel versions across hosts and appliances.
Check whether USB gadget f_tcm support is built, loaded, or operationally required.
Map installed kernels against vendor fixed versions or referenced stable commits.
Confirm updated systems boot into the patched kernel, not an older installed kernel.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-415: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
11Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.