# mmc: core: Avoid negative index with array access

CVE record · `CVE-2024-35813`

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

Published by the CVE Program (CNA: Linux) at 17 May 2024, 13:23 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: `f49f9e802785291149bdc9c824414de4604226b4 to before b9a7339ae403035ffe7fc37cb034b36947910f68` (git)
  - affected: `59020bf0999ff7da8aedcd00ef8f0d75d93b6d20 to before 2b539c88940e22494da80a93ee1c5a28bbad10f6` (git)
  - affected: `50b8b7a22e90bab9f1949b64a88ff17ab10913ec to before 81b8645feca08a54c7c4bf36e7b176f4983b2f28` (git)
  - affected: `c4edcd134bb72b3b0acc884612d624e48c9d057f to before ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55` (git)
  - affected: `1653a8102868264f3488c298a9f20af2add9a288 to before 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2` (git)
  - affected: `eed9119f8f8e8fbf225c08abdbb58597fba807e0 to before 064db53f9023a2d5877a2d12de6bc27995f6ca56` (git)
  - affected: `4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 to before 7d0e8a6147550aa058fa6ade8583ad252aa61304` (git)
  - affected: `4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 to before cf55a7acd1ed38afe43bba1c8a0935b51d1dc014` (git)
  - affected: `5.4.269 to before 5.4.274` (semver)
  - affected: `5.10.210 to before 5.10.215` (semver)
  - affected: `5.15.149 to before 5.15.154` (semver)
  - affected: `6.1.76 to before 6.1.84` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.8`
  - unaffected: `before 6.8` (semver)
  - unaffected: `5.4.274 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.215 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.154 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.84 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.24 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7.12 to 6.7.*, inclusive` (semver)
  - unaffected: `6.8.3 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 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.0025, the 16th 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 17 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68>
- <https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6>
- <https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28>
- <https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55>
- <https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2>
- <https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56>
- <https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304>
- <https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014>

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

---

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