What’s Vulnerable › Vulnerabilities
CVE-2024-35865: smb: client: fix potential UAF in smb2_is_valid_oplock_break()
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-19 · updated 2026-08-04
- Weakness: CWE-416
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.
Affected products
- Linux kernel: before 6.1.85; from 6.2 before 6.6.26; from 6.7 before 6.8.5; 6.9-rc1, 6.9-rc2 — fixed in 6.1.85, 6.6.26, 6.8.5
How to fix
Upgrade to a fixed version: Linux kernel 6.1.85, 6.6.26, 6.8.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd
- https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4
- https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628
- https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7
- https://git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4
- https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd
- https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4
- https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628
- https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7
Get alerted when CVE-2024-35865 or the next vulnerability affects your stack