CVE-2024-35861

smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()

HIGH
7.8
CVSS Score
Published: May 19, 2024 at 08:34 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.17.25.17.2 ≤ v < 5.185.17.2 ≤ v < 6.1.855.18 ≤ v < 6.1.855.18 ≤ v < 6.6.265.18 ≤ v < 6.8.55.18 ≤ v < 6.96.2 ≤ v < 6.6.266.7 ≤ v < 6.8.55.17.26.9 rc16.9 rc2dca65818c80cf06e0f08ba2cf94060a5236e73c2dd9ccff8c8980bf9ea7f25e83eeb28154f902920
Vendor states this is fixed in 2cfff21732132e363b4cc275d63ea98f1af726c1 (fixed)
Vendor states this is fixed in 7e8360ac8774e19b0b25f44fff84a105bb2417e4 (fixed)
Vendor states this is fixed in e0e50401cc3921c9eaf1b0e667db174519ea939f (fixed)
Vendor states this is fixed in f9a96a7ad1e8d25dc6662bc7552e0752de74a20d (fixed)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.85 (unaffected)
Vendor states this is fixed in 6.6.26 (unaffected)
Vendor states this is fixed in 6.8.5 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2cfff21732132e363b4cc275d63ea98f1af726c1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7e8360ac8774e19b0b25f44fff84a105bb2417e4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0e50401cc3921c9eaf1b0e667db174519ea939f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f9a96a7ad1e8d25dc6662bc7552e0752de74a20d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card