# usb: gadget: configfs: Fix OOB read on empty string write

CVE record · `CVE-2025-38497`

- **Identifiers:** `CVE-2025-38497`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 28 Jul 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 28 Jul 2025, 11:22 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: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 78b41148cfea2a3f04d87adf3a71b21735820a37` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before d68b7c8fefbaeae8f065b84e40cf64baf4cc0c76` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 15a87206879951712915c03c8952a73d6a74721e` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 2798111f8e504ac747cce911226135d50b8de468` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 58bdd5160184645771553ea732da5c2887fc9bd1` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 783ea37b237a9b524f1e5ca018ea17d772ee0ea0` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 22b7897c289cc25d99c603f5144096142a30d897` (git)
  - affected: `87213d388e927aaa88b21d5ff7e1f75ca2288da1 to before 3014168731b7930300aab656085af784edc861f6` (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.147 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.100 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.40 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.8 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th 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 28 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/78b41148cfea2a3f04d87adf3a71b21735820a37>
- <https://git.kernel.org/stable/c/d68b7c8fefbaeae8f065b84e40cf64baf4cc0c76>
- <https://git.kernel.org/stable/c/15a87206879951712915c03c8952a73d6a74721e>
- <https://git.kernel.org/stable/c/2798111f8e504ac747cce911226135d50b8de468>
- <https://git.kernel.org/stable/c/58bdd5160184645771553ea732da5c2887fc9bd1>
- <https://git.kernel.org/stable/c/783ea37b237a9b524f1e5ca018ea17d772ee0ea0>
- <https://git.kernel.org/stable/c/22b7897c289cc25d99c603f5144096142a30d897>
- <https://git.kernel.org/stable/c/3014168731b7930300aab656085af784edc861f6>

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

---

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