CVE-2024-35866: smb: client: fix potential UAF in cifs_dump_full_key()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in cifs_dump_full_key()
Skip sessions that are being teared down (status == SES_EXITING) to
avoid UAF.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel SMB client memory-safety flaw. During SMB session teardown, kernel code could reference session data after it should no longer be used. The public sources do not provide CVSS, proven impact, or active exploitation evidence, so urgency depends on SMB client use and kernel patch status.
Executive priority
Handle through normal kernel patch management, with higher priority for systems that mount SMB shares or depend on SMB file access. Because public severity and exploitation evidence are incomplete, avoid emergency assumptions, but do not leave exposed kernels untracked.
Technical view
CVE-2024-35866 fixes a potential use-after-free in cifs_dump_full_key() by skipping SMB client sessions with status SES_EXITING. The issue is in the Linux kernel SMB/CIFS client path. The bundle lists affected kernel lines including 5.13 through fixed stable versions, with multiple upstream stable commits resolving it.
Likely exposure
Linux systems running affected kernels with SMB/CIFS client functionality are the likely exposure area, especially hosts that mount SMB shares. Exposure depends on kernel build, distribution backports, and whether the SMB client path is used. The sources do not identify affected applications beyond Linux kernel SMB client code.
Exploitation context
No active exploitation is cited in the supplied sources, and the CVE is not marked KEV. The bundle describes a potential use-after-free but does not provide exploitability detail, attacker prerequisites, or observed attacks. Treat exploit status as unconfirmed unless vendor or threat-intelligence sources add evidence.
Researcher notes
The key technical signal is a race around SMB session teardown: sessions in SES_EXITING are now skipped to avoid use-after-free. Public data does not establish privilege boundary, crashability, or remote trigger conditions. Validate against exact kernel source or vendor backport status before scoring exposure.
Mitigation direction
Apply the relevant Linux stable kernel update or distribution backport.
Review Debian LTS guidance if running affected Debian kernel packages.
Prioritize systems using SMB/CIFS client mounts or file-share integrations.
Check vendor advisories for fixed package versions and reboot requirements.
Validation and detection
Inventory Linux kernel versions across servers, workstations, appliances, and containers with host kernel exposure.
Identify systems using SMB/CIFS client mounts or related kernel modules.
Confirm installed kernel packages include the referenced stable fix or vendor backport.
Verify Debian hosts against the Debian LTS advisory package guidance.
Document exceptions where SMB/CIFS client functionality is disabled or unused.
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-35866 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.