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
A Linux SMB client flaw can access memory after a session begins shutting down. The supplied record rates it critical at CVSS 9.8, indicating potentially severe confidentiality, integrity, and availability impact. Actual risk centers on affected kernels using SMB client functionality; the bundle provides no evidence of real-world exploitation.
Executive priority
Prioritize rapid exposure confirmation and patching for production systems connecting to SMB shares. The critical score justifies urgent handling, but there is no source-backed evidence of active exploitation. Verified systems not using the kernel SMB client have lower operational priority.
Technical view
smb2_is_valid_oplock_break() could inspect a session being torn down, creating a potential use-after-free. The correction skips sessions with status SES_EXITING. The CVSS vector describes network reachability, low complexity, no privileges, and no user interaction, but the bundle provides no reproducible trigger, demonstrated impact, or exploit.
Likely exposure
Potentially exposed assets are Linux systems running versions classified as affected and actively using the kernel SMB client, especially with untrusted SMB peers. The version data does not provide clear ranges and includes commit identifiers, so confirm applicability through distribution advisories and kernel backport records.
Exploitation context
KEV is false, and no supplied source claims active exploitation or provides a public proof of concept. This does not prove exploitation is impossible. The CVSS score represents scoring assumptions; the bundle does not establish reliable exploitation or observed business impact.
Researcher notes
The record describes a potential use-after-free and a narrow guard that ignores SES_EXITING sessions. It supplies no CWE, crash trace, exploitability analysis, or clear branch-to-fixed-version mapping. Treat impact claims beyond the CVSS vector as unverified and use the stable commits to map distribution backports.
Mitigation direction
Apply a supported distribution kernel update incorporating the referenced SES_EXITING session-skip fix.
Reboot into the updated kernel according to the Linux distribution's guidance.
Until updated, limit SMB client connections to trusted, necessary servers where operationally feasible.
Check vendor advisories for fixed package versions because the bundle's version mapping is ambiguous.
Validation and detection
Inventory running kernel versions and identify hosts using Linux kernel SMB client functionality.
Check distribution advisories and package changelogs for CVE-2024-35865 or the referenced commits.
Verify the remediated kernel is currently running, not merely installed.
Test required SMB workflows after updating and confirm normal session teardown behavior.
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.