CVE-2024-35867: Linux kernel · smb: client: fix potential UAF in cifs_stats_proc_show()
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:35 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by skipping sessions that are being torn down to avoid use-after-free conditions. Users and administrators should apply the official Linux kernel updates that include this fix. Since this is not a cloud service, manual patching is required. No other mitigation or workaround is indicated in the available data.
Description
CVE-2024-35867 is a high-severity use-after-free (UAF) vulnerability in the Linux kernel's SMB client implementation. It occurs in the cifs_stats_proc_show() function when sessions that are being torn down (status == SES_EXITING) are not properly skipped, leading to potential use-after-free conditions. This flaw has been resolved by adding logic to skip such sessions to prevent UAF.
References
- nvd.nist.gov/vuln/detail/CVE-2024-35867 (opens in a new tab)
- git.kernel.org/stable/c/0865ffefea197b437ba78b5dd8d8e256253efd65 (opens in a new tab)
- git.kernel.org/stable/c/16b7d785775eb03929766819415055e367398f49 (opens in a new tab)
- git.kernel.org/stable/c/1e12f0d5c66f07c934041621351973a116fa13c7 (opens in a new tab)
- git.kernel.org/stable/c/838ec01ea8d3deb5d123e8ed9022e8162dc3f503 (opens in a new tab)
- git.kernel.org/stable/c/bb6570085826291dc392005f9fec16ea5da3c8ad (opens in a new tab)
- git.kernel.org/stable/c/c3cf8b74c57924c0985e49a1fdf02d3395111f39 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/29/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/30/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/30/2 (opens in a new tab)