# smb: client: fix potential UAF in smb2_is_valid_oplock_break()

CVE record · `CVE-2024-35865`

- **Identifiers:** `CVE-2024-35865`
- **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:** 19 May 2024
- **Updated:** 5 Aug 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.

## 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: `7f48558e6489d032b1584b0cc9ac4bb11072c034 to before a710ef9e974f18232d2b9b19c90eda1a1167b2d4` (git)
  - affected: `7f48558e6489d032b1584b0cc9ac4bb11072c034 to before 84488466b7a69570bdbf76dd9576847ab97d54e7` (git)
  - affected: `7f48558e6489d032b1584b0cc9ac4bb11072c034 to before 21fed37d2bdcde33453faf61d3d4d96c355f04bd` (git)
  - affected: `7f48558e6489d032b1584b0cc9ac4bb11072c034 to before 3dba0e5276f131e36d6d8043191d856f49238628` (git)
  - affected: `7f48558e6489d032b1584b0cc9ac4bb11072c034 to before 22863485a4626ec6ecf297f4cc0aef709bc862e4` (git)
  - affected: `a67172a013953664b1dad03c648200c70b90506c` (git)
  - affected: `3.12.48 to before 3.13` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.13`
  - unaffected: `before 3.13` (semver)
  - unaffected: `5.15.209 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

- 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) (used for this record)
- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4>
- <https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7>
- <https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd>
- <https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628>
- <https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4>

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

---

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