CVE-2024-35867: smb: client: fix potential UAF in cifs_stats_proc_show()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in cifs_stats_proc_show()
Skip sessions that are being teared down (status == SES_EXITING) to
avoid UAF.
Security readout for executives and security teams
Plain-English summary
A local user may trigger a race in the Linux SMB/CIFS client while statistics are read and a session is shutting down. The resulting use-after-free could crash the system or potentially affect data confidentiality and integrity. Network exposure alone is not sufficient according to the supplied CVSS vector.
Executive priority
Treat as a high-priority kernel maintenance issue for shared Linux systems using SMB/CIFS. Accelerate remediation where untrusted users have local accounts. For single-purpose systems without local user access or CIFS use, validate applicability before emergency action.
Technical view
cifs_stats_proc_show() could access an SMB session during teardown, after its memory became invalid. The kernel fix skips sessions marked SES_EXITING. CVSS 3.1 rates this 7.8: local access, low complexity, low privileges, no user interaction, and potentially high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is most plausible on affected Linux kernels using the SMB/CIFS client, where a low-privileged local user can access the relevant statistics interface while sessions are being torn down. The supplied version data is ambiguous, so verify distribution backports rather than relying only on kernel version strings.
Exploitation context
The supplied record does not identify active exploitation, and the CVE is not listed as KEV in the bundle. No public exploit evidence is provided. Exploitation requires local, low-privileged access according to the CVSS vector, reducing immediate internet-facing risk but remaining important on shared or multi-user systems.
Researcher notes
The core condition is a teardown race involving cifs_stats_proc_show() and a session marked SES_EXITING. The correction avoids traversing exiting sessions. The bundle provides multiple stable-kernel commits but insufficient version-range semantics to map every release reliably; downstream package status should be considered authoritative for deployed distributions.
Mitigation direction
Upgrade to a distribution-supported kernel containing the upstream fix or an equivalent backport.
Check vendor advisories because package versions may differ from upstream kernel version numbers.
Prioritize shared systems that use SMB/CIFS and permit untrusted local users.
If immediate upgrading is impossible, assess whether SMB/CIFS client use can be safely reduced.
Validation and detection
Inventory kernel versions and distribution package revisions across Linux systems.
Confirm whether the SMB/CIFS client is installed, loaded, or actively used.
Verify vendor changelogs or source patches include the SES_EXITING session check.
Reassess systems after rebooting into the corrected kernel.
Confirm vulnerability scanners recognize distribution backports to avoid false positives.
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-35867 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.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.