CVE-2024-35865

published 19 May 2024 · updated 17 Nov 2026

smb: client: fix potential UAF in smb2_is_valid_oplock_break()

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel a710ef9e974f18232d2b9b19c90eda1a1167b2d4, Kernel 3.13, Kernel 21fed37d2bdcde33453faf61d3d4d96c355f04bd and 7 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=7f48558e6489d032b1584b0cc9ac4bb11072c034 <a710ef9e974f18232d2b9b19c90eda1a1167b2d4, >=3.12.48 <3.13, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <21fed37d2bdcde33453faf61d3d4d96c355f04bd, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <22863485a4626ec6ecf297f4cc0aef709bc862e4, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <3dba0e5276f131e36d6d8043191d856f49238628, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <84488466b7a69570bdbf76dd9576847ab97d54e7, =3.13, =a67172a013953664b1dad03c648200c70b90506ca710ef9e974f18232d2b9b19c90eda1a1167b2d4, 3.13, 21fed37d2bdcde33453faf61d3d4d96c355f04bd, 22863485a4626ec6ecf297f4cc0aef709bc862e4, 3dba0e5276f131e36d6d8043191d856f49238628, 84488466b7a69570bdbf76dd9576847ab97d54e7
linux-kernel: Kernel>=3.13.0 <5.15.209, >=5.16.0 <6.1.85, >=6.2.0 <6.6.26, >=6.7.0 <6.8.5, >=3.12.48 <3.135.15.209, 6.1.85, 6.6.26, 6.8.5, 3.13

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35865 severity on Zeptric[![CVE-2024-35865](https://zeptric.io/badge/cve/CVE-2024-35865.svg)](https://zeptric.io/cve/CVE-2024-35865)