Linux Kernel
CVE-2024-35869
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious DFS namespace
-
DeliveryReturn crafted DFS referral targets
-
ExploitTrigger unreferenced child session free
-
ExecutionDereference freed session during failover
-
ImpactCorrupt kernel memory for DoS or escalation
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Linux SMB client to perform a DFS operation - walking a DFS referral, mounting a DFS namespace, or executing DFS failover - against an SMB server whose referral responses the attacker can influence or control; the vulnerable @tcon->ses child-refcounting path is only reached through DFS. This limits realistic exploitation to environments that mount SMB shares via DFS namespaces from untrusted servers, with CONFIG_CIFS and DFS support compiled in. Additionally, the vulnerable code as identified by CPE is present only in 6.9-rc1/rc2 development kernels (and unpatched stable backports), so production systems on released, patched kernels are not affected. The CVSS AV:N/PR:N/UI:N vector overstates accessibility: this is not a listening-service flaw but a client-side use-after-free contingent on initiating a DFS mount toward a malicious server. |
| Impact | The signals here conflict sharply and warrant scrutiny. The assigned CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H, score 9.8 Critical) implies trivial remote unauthenticated code-execution-grade impact, but the description contradicts this: exploitation requires the Linux client to actively mount and walk a DFS referral from an SMB server, which is a client-initiated operation against an attacker-influenced or malicious SMB/DFS server - not an unauthenticated network service listening for attacker packets. This is a common pattern of inflated CVSS scoring for Linux kernel CVEs auto-generated by the kernel CNA. The low EPSS (0.25%, 17th percentile), absence from CISA KEV, and lack of any known POC all indicate low real-world risk. Critically, the vulnerable code exists only in 6.9-rc1/rc2 release candidates, which are not deployed in production, sharply limiting the realistic footprint. Bottom line: despite the 9.8 rating, this is a low-priority issue for most environments - verify the network-vector assumption with the vendor, as the description strongly implies malicious-server or race-condition preconditions rather than remote unauthenticated exploitation. |
| Exploit ScenarioDerived | A Linux host mounts an SMB share whose DFS referral points to attacker-controlled or manipulated targets; during referral walking, mounting, or failover the client dereferences a child session object that has already been freed because it was not reference-counted, corrupting kernel memory. A skilled attacker who can influence the DFS referral responses could potentially escalate this use-after-free to privilege escalation or denial of service on the client. No public exploit code is currently known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 04, 2026
Use-after-free memory corruption in the Linux kernel's SMB/CIFS client (cifs.ko) affects the DFS (Distributed File System) referral-walking, mounting, and failover code paths in kernel 6.9 release candidates. The flaw stems from child tree-connection sessions derived from a parent SMB session not being properly reference-counted, so they can be freed while still in use during a DFS mount. No public exploit has been identified at time of analysis, EPSS estimates only a 0.25% exploitation probability, and the issue is not listed in CISA KEV.
RemediationAI
Upgrade to a Linux kernel that includes the fix - patch available per vendor: the corrective commits are 062a7f0ff46eb57aff526897bd2bebfdb1d3046a, 645f332c6b63499cc76197f9b6bffcc659ba64cc, and e1db9ae87b7148c021daee1fcc4bc71b2ac58a79 on git.kernel.org/stable, incorporated into the corresponding stable point releases; consume the fixed kernel from your distribution's update stream rather than building an rc kernel. As a compensating control where patching is deferred, avoid mounting untrusted or attacker-controlled SMB/DFS shares and restrict which SMB servers clients are permitted to connect to (egress-filter SMB/CIFS ports 445/139 to trusted file servers only), since exploitation requires the client to walk a DFS referral from a potentially malicious server; the trade-off is loss of connectivity to any legitimately reachable but non-allowlisted SMB target. If DFS namespaces are not required, mounting shares by direct target UNC path rather than via DFS namespaces avoids the vulnerable referral-walking code, at the cost of losing DFS failover and namespace abstraction.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the in-kernel SMB3/CIFS client used for mounting Microsoft SMB network shares on Linux. Specifically, the DFS subsystem walks referrals to locate the correct target server for a namespace path and performs failover when a target is unavailable. Each mount establishes a hierarchy of objects - a session (@ses), tree connections (@tcon), and DFS child sessions - that must remain valid for the lifetime of the mount. The root cause is CWE-416 (Use After Free): children derived from the parent @tcon->ses were not all reference-counted, so an object could be released while another code path still held and dereferenced a pointer to it. The fix guarantees refcounted children from the parent session and removes the now-redundant @tcon->dfs_ses_list list. The affected CPEs identify Linux kernel 6.9-rc1 and 6.9-rc2 pre-release builds.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Client-side UAF requires initiating a DFS mount toward a malicious server (UI:R, AC:H for the race/referral condition); memory corruption yields integrity and availability impact, no direct confidentiality read.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
smb: client: guarantee refcounted children from parent session
Avoid potential use-after-free bugs when walking DFS referrals, mounting and performing DFS failover by ensuring that all children from parent @tcon->ses are also refcounted. They're all needed across the entire DFS mount. Get rid of @tcon->dfs_ses_list while we're at it, too.
Executive ViewAI
A critical use-after-free vulnerability in the Linux kernel's SMB/CIFS client (cifs.ko) affecting kernel 6.9 release candidates could disrupt network file-sharing services or enable privilege escalation on affected systems. No public exploit has been identified at time of analysis, though the vulnerability warrants prompt patching to prevent potential impact. Organizations running kernel 6.9 should prioritize applying available patches to restore baseline system security and maintain service continuity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB