Skip to main content

Linux Kernel CVE-2024-35869

CRITICAL
Use After Free (CWE-416)
2024-05-19 416baaa9-dc9f-4396-8d5f-8c081fb06d67
9.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure client to malicious DFS namespace
  2. Delivery
    Return crafted DFS referral targets
  3. Exploit
    Trigger unreferenced child session free
  4. Execution
    Dereference freed session during failover
  5. Impact
    Corrupt 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 11:36 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
HIGH CRITICAL
CVSS changed
Aug 04, 2026 - 11:23 NVD
8.4 (HIGH) 9.8 (CRITICAL)
CVE Published
May 19, 2024 - 09:15 cve.org
HIGH 8.4

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Ubiquitous
Linux kernel runs on a huge fraction of servers and devices
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy