CVE-2024-35868: smb: client: fix potential UAF in cifs_stats_proc_write()
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-35868 is a Linux kernel SMB client flaw where session cleanup could leave code using freed memory. The public record says it is resolved by skipping SMB sessions that are exiting. Business impact depends on whether your Linux systems use the CIFS/SMB client and whether your kernel includes the stable fix.
Executive priority
Treat this as a kernel hygiene item with targeted urgency for SMB client users. There is no sourced evidence of active exploitation, but kernel memory safety flaws deserve timely patch validation.
Technical view
The issue is a potential use-after-free in the Linux kernel SMB client function cifs_stats_proc_write(). The fix skips sessions with status SES_EXITING during teardown. The CVE data does not provide CVSS, CWE, exploitability prerequisites, or a complete product matrix beyond Linux kernel affected version data and stable commit references.
Likely exposure
Likely exposure is Linux systems with the SMB/CIFS client code present, especially hosts mounting SMB shares. The source data does not prove remote reachability, required privileges, or affected distribution packages.
Exploitation context
No CISA KEV listing is reported in the bundle, and the cited sources do not state active exploitation. The issue is described only as a potential kernel use-after-free during SMB session teardown handling.
Researcher notes
The public bundle is sparse: no CVSS, CWE, proof of exploitability, or detailed attack preconditions. Analysis should focus on code lineage, backported stable commits, and whether distributions map their kernel packages to the fixed SMB client behavior.
Mitigation direction
Check your Linux vendor advisory for CVE-2024-35868 package status.
Upgrade to a kernel build containing the referenced stable fix.
Prioritize systems that mount SMB/CIFS shares or enable CIFS client functionality.
Use standard kernel maintenance windows if vendor severity remains unavailable.
Validation and detection
Inventory Linux kernel versions across servers, workstations, and appliances.
Identify systems using CIFS/SMB mounts or loading the SMB client module.
Compare installed kernel packages with vendor-fixed versions for CVE-2024-35868.
Confirm patched kernels are booted, not merely installed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-35868 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
2ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
May 19, 2024, 08:34 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.