{"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-04-02T11:51:36.525216Z","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":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35865.json","cna_assigner":"Linux"},"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":"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":"84488466b7a69570bdbf76dd9576847ab97d54e7"},{"fixed":"21fed37d2bdcde33453faf61d3d4d96c355f04bd"},{"fixed":"3dba0e5276f131e36d6d8043191d856f49238628"},{"fixed":"22863485a4626ec6ecf297f4cc0aef709bc862e4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"a67172a013953664b1dad03c648200c70b90506c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35865.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}