CVE-2024-35865: smb: client: fix potential UAF in smb2_is_valid_oplock_break()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in smb2_is_valid_oplock_break()
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-35865 is a Linux kernel SMB client flaw that could crash or disrupt an affected system. The issue is a potential use-after-free during SMB oplock break handling when sessions are being torn down. The public record rates it medium, with availability impact but no stated confidentiality or integrity impact.
Executive priority
Treat this as a routine but real availability risk. It is not described as remotely exploitable in the supplied sources, but affected Linux systems should be patched through normal kernel maintenance, with higher priority for shared systems allowing local users.
Technical view
The Linux kernel SMB client failed to skip sessions in SES_EXITING state inside smb2_is_valid_oplock_break(), creating a potential use-after-free. The CVSS vector is local, low complexity, low privileges, no user interaction, unchanged scope, and high availability impact.
Likely exposure
Exposure is most relevant to Linux systems running affected kernels with SMB/CIFS client functionality in use. The source bundle lists Linux as affected, but version data is commit-oriented and should be confirmed against distribution kernel advisories.
Exploitation context
The source bundle does not report active exploitation, and KEV status is false. CVSS indicates exploitation requires local low-privileged access and targets availability, not data theft or tampering. No public exploit details are provided in the supplied sources.
Researcher notes
Evidence points to a kernel SMB client lifecycle bug: sessions marked SES_EXITING must be skipped to avoid UAF. The sources provide upstream stable commits but no exploit narrative, affected CPEs, CWE, or distribution-specific package mapping.
Mitigation direction
Update to a kernel containing the cited stable fixes or your distribution's patched package.
Prioritize systems where local users can access Linux hosts using SMB/CIFS client functionality.
If SMB client use is unnecessary, reduce or disable that exposure until patched.
Track vendor kernel advisories because distribution backports may not match upstream version numbers.
Validation and detection
Inventory Linux kernel versions across servers, workstations, and appliances.
Identify systems mounting or using SMB/CIFS client functionality.
Compare installed kernels against distribution advisories for CVE-2024-35865.
Confirm the relevant upstream stable fix commit is included or backported.
Run regression checks for SMB/CIFS client workflows after kernel updates.
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-35865 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.