{"id":"CVE-2024-35868","summary":"smb: client: fix potential UAF in cifs_stats_proc_write()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in cifs_stats_proc_write()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF.","modified":"2026-11-17T07:02:53.467721174Z","published":"2024-05-19T08:34:26.806Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2189-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-35868.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5b5475ce69f02ecc1b13ea23106e5b89c690429b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fefd166fcb368c5fcf48238e3f7c8af829e0a72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf03020c56d3ed28c4942280957a007b5e9544f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3da25c5ac84430f89875ca7485a3828150a7e0a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35868.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35868"},{"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":"8fefd166fcb368c5fcf48238e3f7c8af829e0a72"},{"fixed":"cf03020c56d3ed28c4942280957a007b5e9544f7"},{"fixed":"5b5475ce69f02ecc1b13ea23106e5b89c690429b"},{"fixed":"d3da25c5ac84430f89875ca7485a3828150a7e0a"}]},{"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-35868.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":"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-35868.json"}}],"schema_version":"1.9.2"}