# bpf, sockmap: Don't let sock_map\_{close,destroy,unhash} call itself

CVE record · `CVE-2023-52735`

- **Identifiers:** `CVE-2023-52735`
- **State:** Confirmed
- **Severity:** CVSS 9.1 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Weakness (CWE):** [CWE-120](https://cwe.mitre.org/data/definitions/120.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 15: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.

## Critical

Critical, because:

- CVSS score 9.1: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c5cc0d23c5414d23438c5024890e367cc5a0e645 to before f312367f5246e04df564d341044286e9e37a97ba` (git)
  - affected: `c5d2177a72a1659554922728fc407f59950aa929 to before 7499859881488da97589f3c79cc66fa75748ad49` (git)
  - affected: `c5d2177a72a1659554922728fc407f59950aa929 to before 5b4a79ba65a1ab479903fff2e604865d229b70a9` (git)
  - affected: `0580e47c8895a4d61ee095f086cba1ded7ca5e7f` (git)
  - affected: `5.15.3 to before 5.15.95` (semver)
  - affected: `5.14.19 to before 5.15` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.16`
  - unaffected: `before 5.16` (semver)
  - unaffected: `5.15.95 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.13 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 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

- 9.1 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`, from ADP (CISA-ADP)

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba>
- <https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49>
- <https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9>

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

---

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