# usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()

CVE record · `CVE-2024-42236`

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

Published by the CVE Program (CNA: Linux) at 7 Aug 2024, 15:14 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: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before a444c3fc264119801575ab086e03fb4952f23fd0` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before c95fbdde87e39e5e0ae27f28bf6711edfb985caa` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before e8474a10c535e6a2024c3b06e37e4a3a23beb490` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before 72b8ee0d9826e8ed00e0bdfce3e46b98419b37ce` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before 2d16f63d8030903e5031853e79d731ee5d474e70` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before d1205033e912f9332c1dbefa812e6ceb0575ce0a` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before eecfefad0953b2f31aaefa058f7f348ff39c4bba` (git)
  - affected: `88af8bbe4ef781031ad3370847553f3b42ba0076 to before 6d3c721e686ea6c59e18289b400cc95c76e927e0` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.10`
  - unaffected: `before 3.10` (semver)
  - unaffected: `4.19.318 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.280 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.222 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.163 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.100 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.41 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.10 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 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.0024, the 15th percentile, on 21 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 7 Aug 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/a444c3fc264119801575ab086e03fb4952f23fd0>
- <https://git.kernel.org/stable/c/c95fbdde87e39e5e0ae27f28bf6711edfb985caa>
- <https://git.kernel.org/stable/c/e8474a10c535e6a2024c3b06e37e4a3a23beb490>
- <https://git.kernel.org/stable/c/72b8ee0d9826e8ed00e0bdfce3e46b98419b37ce>
- <https://git.kernel.org/stable/c/2d16f63d8030903e5031853e79d731ee5d474e70>
- <https://git.kernel.org/stable/c/d1205033e912f9332c1dbefa812e6ceb0575ce0a>
- <https://git.kernel.org/stable/c/eecfefad0953b2f31aaefa058f7f348ff39c4bba>
- <https://git.kernel.org/stable/c/6d3c721e686ea6c59e18289b400cc95c76e927e0>

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

---

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