# CVE-2024-35865: smb: client: fix potential UAF in smb2_is_valid_oplock_break()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-05-19T08:34:23.853Z
- Modified: 2026-08-05T11:30:29.384Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before a710ef9e974f18232d2b9b19c90eda1a1167b2d4; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 84488466b7a69570bdbf76dd9576847ab97d54e7; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 21fed37d2bdcde33453faf61d3d4d96c355f04bd; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 3dba0e5276f131e36d6d8043191d856f49238628; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 22863485a4626ec6ecf297f4cc0aef709bc862e4; a67172a013953664b1dad03c648200c70b90506c; from 3.12.48 before 3.13; 3.13 (not affected: before 3.13; from 5.15.209 up to 5.15.*; from 6.1.85 up to 6.1.*; from 6.6.26 up to 6.6.*; from 6.8.5 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 6.1.85; from 6.2 before 6.6.26; from 6.7 before 6.8.5; 6.9

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2024-35865](https://www.cve.org/CVERecord?id=CVE-2024-35865), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-35865](https://nvd.nist.gov/vuln/detail/CVE-2024-35865), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-35865 · Whole record: https://cve.day/CVE-2024-35865.json · Rebuilt by cve.day 2026-11-25T22:58:40.572Z
