# usb: gadget: f_tcm: Don't free command immediately

CVE record · `CVE-2024-58055`

- **Identifiers:** `CVE-2024-58055`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-415](https://cwe.mitre.org/data/definitions/415.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 6 Mar 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 6 Mar 2025, 15:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before 7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before 38229c35a6d7875697dfb293356407330cfcd23e` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before f0c33e7d387ccbb6870e73a43c558fefede06614` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before 16907219ad6763f401700e1b57b2da4f3e07f047` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before 929b69810eec132b284ffd19047a85d961df9e4d` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before e6693595bd1b55af62d057a4136a89d5c2ddf0e9` (git)
  - affected: `cff834c16d23d614388aab1b86d19eb67b3f80c4 to before c225d006a31949d673e646d585d9569bc28feeb9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.6`
  - unaffected: `before 4.6` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.76 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.13 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.2 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 18th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 6 Mar 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-58055](https://www.cve.org/CVERecord?id=CVE-2024-58055)
- [NVD: CVE-2024-58055](https://nvd.nist.gov/vuln/detail/CVE-2024-58055)

### References from the CNA

- <https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694>
- <https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e>
- <https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a>
- <https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614>
- <https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047>
- <https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d>
- <https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9>
- <https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-58055>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-58055/>. Everything for agents: <https://agentprime.io/llms.txt>.
