CVE-2024-35866: Linux kernel · smb: client: fix potential UAF in cifs_dump_full_key()
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 the use-after-free condition. Users and administrators should apply the official Linux kernel updates that include this fix. There is no indication that this vulnerability is mitigated by default or requires no action.
Description
CVE-2024-35866 is a use-after-free (UAF) vulnerability in the Linux kernel's SMB client component, specifically in the cifs_dump_full_key() function. The flaw occurs when sessions that are in the process of being torn down (status == SES_EXITING) are not properly skipped, leading to potential memory corruption. This vulnerability has been fixed by ensuring such sessions are skipped to avoid the UAF condition.
References
- nvd.nist.gov/vuln/detail/CVE-2024-35866 (opens in a new tab)
- git.kernel.org/stable/c/10e17ca4000ec34737bde002a13435c38ace2682 (opens in a new tab)
- git.kernel.org/stable/c/3103163ccd3be4adcfa37e15608fb497be044113 (opens in a new tab)
- git.kernel.org/stable/c/58acd1f497162e7d282077f816faa519487be045 (opens in a new tab)
- git.kernel.org/stable/c/d798fd98e3563027c5162259ead517057d6fa794 (opens in a new tab)
- git.kernel.org/stable/c/f4a60d360d9114b5085701a3702a0102b0d6d846 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)