CVE-2024-35868

published 19 May 2024 · updated 17 Nov 2026

smb: client: fix potential UAF in cifs_stats_proc_write()

6.6MediumCVSS 6.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d3da25c5ac84430f89875ca7485a3828150a7e0a, Kernel 3.13, Kernel 5b5475ce69f02ecc1b13ea23106e5b89c690429b and 5 more.

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_write() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=7f48558e6489d032b1584b0cc9ac4bb11072c034 <d3da25c5ac84430f89875ca7485a3828150a7e0a, >=3.12.48 <3.13, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <5b5475ce69f02ecc1b13ea23106e5b89c690429b, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <8fefd166fcb368c5fcf48238e3f7c8af829e0a72, >=7f48558e6489d032b1584b0cc9ac4bb11072c034 <cf03020c56d3ed28c4942280957a007b5e9544f7, =3.13, =a67172a013953664b1dad03c648200c70b90506cd3da25c5ac84430f89875ca7485a3828150a7e0a, 3.13, 5b5475ce69f02ecc1b13ea23106e5b89c690429b, 8fefd166fcb368c5fcf48238e3f7c8af829e0a72, cf03020c56d3ed28c4942280957a007b5e9544f7
linux-kernel: Kernel>=3.13.0 <6.1.85, >=6.2.0 <6.6.26, >=6.7.0 <6.8.5, >=3.12.48 <3.136.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-35868 severity on Zeptric[![CVE-2024-35868](https://zeptric.io/badge/cve/CVE-2024-35868.svg)](https://zeptric.io/cve/CVE-2024-35868)