# usb: gadget : fix use-after-free in composite_dev_cleanup()

CVE record · `CVE-2025-38555`

- **Identifiers:** `CVE-2025-38555`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 19 Aug 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Aug 2025, 17:02 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: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before dba96dfa5a0f685b959dd28a52ac8dab0b805204` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before 2db29235e900a084a656dea7e0939b0abb7bb897` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before 8afb22aa063f706f3343707cdfb8cda4d021dd33` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before e624bf26127645a2f7821e73fdf6dc64bad07835` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before aada327a9f8028c573636fa60c0abc80fb8135c9` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before 5f06ee9f9a3665d43133f125c17e5258a13f3963` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before bd3c4ef60baf7f65c963f3e12d9d7b2b091e20ba` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before e1be1f380c82a69f80c68c96a7cfe8759fb30355` (git)
  - affected: `37a3a533429ef9b3cc9f15a656c19623f0e88df7 to before 151c0aa896c47a4459e07fee7d4843f44c1bb18e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.16`
  - unaffected: `before 3.16` (semver)
  - unaffected: `5.4.297 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.148 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.102 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.42 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.10 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16.1 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 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 CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th 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 19 Aug 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/dba96dfa5a0f685b959dd28a52ac8dab0b805204>
- <https://git.kernel.org/stable/c/2db29235e900a084a656dea7e0939b0abb7bb897>
- <https://git.kernel.org/stable/c/8afb22aa063f706f3343707cdfb8cda4d021dd33>
- <https://git.kernel.org/stable/c/e624bf26127645a2f7821e73fdf6dc64bad07835>
- <https://git.kernel.org/stable/c/aada327a9f8028c573636fa60c0abc80fb8135c9>
- <https://git.kernel.org/stable/c/5f06ee9f9a3665d43133f125c17e5258a13f3963>
- <https://git.kernel.org/stable/c/bd3c4ef60baf7f65c963f3e12d9d7b2b091e20ba>
- <https://git.kernel.org/stable/c/e1be1f380c82a69f80c68c96a7cfe8759fb30355>
- <https://git.kernel.org/stable/c/151c0aa896c47a4459e07fee7d4843f44c1bb18e>

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-2025-38555>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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