# cxl/port: Fix delete_endpoint() vs parent unregistration race

CVE record · `CVE-2023-52771`

- **Identifiers:** `CVE-2023-52771`
- **State:** Confirmed
- **Severity:** CVSS 4.4 Medium
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 15:30 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: `8dd2bc0f8e02d39bd80851ca787bcbdb7d495e69 to before de0c4ff2fcaec149254b32f18b3ec806b312be74` (git)
  - affected: `8dd2bc0f8e02d39bd80851ca787bcbdb7d495e69 to before 37179fcc916bce8c3cc7b36d67ef814cce55142b` (git)
  - affected: `8dd2bc0f8e02d39bd80851ca787bcbdb7d495e69 to before 6b2e428e673b3f55965674a426c40922e91388aa` (git)
  - affected: `8dd2bc0f8e02d39bd80851ca787bcbdb7d495e69 to before 8d2ad999ca3c64cb08cf6a58d227b9d9e746d708` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.18`
  - unaffected: `before 5.18` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.5.13 to 6.5.*, inclusive` (semver)
  - unaffected: `6.6.3 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel CXL port handling (cxl/port) from 5.18 before the fixed releases has a race between endpoint deletion and parent port removal, which can cause use-after-free and lock errors. The source gives few details on what an attacker needs or can do. Upgrade to Linux kernel 6.1.191, 6.5.13, 6.6.3, 6.7 or later.

Written 13 Nov 2026.

## 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

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

- **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 21 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/de0c4ff2fcaec149254b32f18b3ec806b312be74>
- <https://git.kernel.org/stable/c/37179fcc916bce8c3cc7b36d67ef814cce55142b>
- <https://git.kernel.org/stable/c/6b2e428e673b3f55965674a426c40922e91388aa>
- <https://git.kernel.org/stable/c/8d2ad999ca3c64cb08cf6a58d227b9d9e746d708>

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

---

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