# bpf, sockmap: Prevent lock inversion deadlock in map delete elem

CVE record · `CVE-2024-35895`

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

Published by the CVE Program (CNA: Linux) at 19 May 2024, 08:34 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: `604326b41a6fb9b4a78b6179335decee0365cd8c to before f7990498b05ac41f7d6a190dc0418ef1d21bf058` (git)
  - affected: `604326b41a6fb9b4a78b6179335decee0365cd8c to before dd54b48db0c822ae7b520bc80751f0a0a173ef75` (git)
  - affected: `604326b41a6fb9b4a78b6179335decee0365cd8c to before d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec` (git)
  - affected: `604326b41a6fb9b4a78b6179335decee0365cd8c to before a44770fed86515eedb5a7c00b787f847ebb134a5` (git)
  - affected: `604326b41a6fb9b4a78b6179335decee0365cd8c to before 668b3074aa14829e2ac2759799537a93b60fef86` (git)
  - affected: `604326b41a6fb9b4a78b6179335decee0365cd8c to before 6af057ccdd8e7619960aca1f0428339f213b31cd` (git)
  - affected: `604326b41a6fb9b4a78b6179335decee0365cd8c to before ff91059932401894e6c86341915615c5eb0eca48` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.20`
  - unaffected: `before 4.20` (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.85 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.26 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.5 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

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

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f7990498b05ac41f7d6a190dc0418ef1d21bf058>
- <https://git.kernel.org/stable/c/dd54b48db0c822ae7b520bc80751f0a0a173ef75>
- <https://git.kernel.org/stable/c/d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec>
- <https://git.kernel.org/stable/c/a44770fed86515eedb5a7c00b787f847ebb134a5>
- <https://git.kernel.org/stable/c/668b3074aa14829e2ac2759799537a93b60fef86>
- <https://git.kernel.org/stable/c/6af057ccdd8e7619960aca1f0428339f213b31cd>
- <https://git.kernel.org/stable/c/ff91059932401894e6c86341915615c5eb0eca48>

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

---

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