# ksmbd: fix race condition between session lookup and expire

CVE record · `CVE-2023-52480`

- **Identifiers:** `CVE-2023-52480`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 29 Feb 2024
- **Updated:** 15 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 29 Feb 2024, 05:43 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.8: 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: `a6a9601ba995d0fec635324cb9fd8d14f9bea14e to before c77fd3e25a51ac92b0f1b347a96eff6a0b4f066f` (git)
  - affected: `1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d to before a2ca5fd3dbcc665e1169044fa0c9e3eba779202b` (git)
  - affected: `ea174a91893956450510945a0c5d1a10b5323656 to before 18ced78b0ebccc2d16f426143dc56ab3aad666be` (git)
  - affected: `ea174a91893956450510945a0c5d1a10b5323656 to before 53ff5cf89142b978b1a5ca8dc4d4425e6a09745f` (git)
  - affected: `750a2d772e9d9ff377fd32e3b6797bf2cd847a7a` (git)
  - affected: `6775ee7ef4b37c521aa4cf3730f54554c4875542` (git)
  - affected: `6.1.29 to before 6.1.57` (semver)
  - affected: `6.2.16 to before 6.3` (semver)
  - affected: `6.3.2 to before 6.4` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.4`
  - unaffected: `before 6.4` (semver)
  - unaffected: `6.1.57 to 6.1.*, inclusive` (semver)
  - unaffected: `6.5.7 to 6.5.*, inclusive` (semver)
  - unaffected: `6.6 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.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0049, the 42nd 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 29 Feb 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/c77fd3e25a51ac92b0f1b347a96eff6a0b4f066f>
- <https://git.kernel.org/stable/c/a2ca5fd3dbcc665e1169044fa0c9e3eba779202b>
- <https://git.kernel.org/stable/c/18ced78b0ebccc2d16f426143dc56ab3aad666be>
- <https://git.kernel.org/stable/c/53ff5cf89142b978b1a5ca8dc4d4425e6a09745f>

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

---

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