{"id":"CVE-2024-35865","summary":"smb: client: fix potential UAF in smb2_is_valid_oplock_break()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in smb2_is_valid_oplock_break()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF.","modified":"2026-11-17T07:02:54.055912583Z","published":"2024-05-19T08:34:23.853Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2360-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35865.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628"},{"type":"WEB","url":"https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35865.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35865"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7f48558e6489d032b1584b0cc9ac4bb11072c034"},{"fixed":"a710ef9e974f18232d2b9b19c90eda1a1167b2d4"},{"fixed":"84488466b7a69570bdbf76dd9576847ab97d54e7"},{"fixed":"21fed37d2bdcde33453faf61d3d4d96c355f04bd"},{"fixed":"3dba0e5276f131e36d6d8043191d856f49238628"},{"fixed":"22863485a4626ec6ecf297f4cc0aef709bc862e4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a67172a013953664b1dad03c648200c70b90506c"}]}],"versions":["v3.12.74","v3.12.73","v3.12.72","v3.12.71","v3.12.70","v3.12.69","v3.12.68","v3.12.67","v3.12.66","v3.12.65","v3.12.64","v3.12.63","v3.12.62","v3.12.61","v3.12.60","v3.12.59","v3.12.58","v3.12.57","v3.12.56","v3.12.55","v3.12.54","v3.12.53","v3.12.52","v3.12.51","v3.12.50","v3.12.49","v3.12.48"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35865.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.12.48"},{"fixed":"3.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.13.0"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.85"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.26"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.8.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35865.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}