CVE-2024-58087

ksmbd: fix racy issue from session lookup and expire

HIGH
8.1
CVSS Score
Published: March 12, 2025 at 07:28 AM UTC
Updated: August 5, 2026 at 12:44 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
HIGH8.1
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix racy issue from session lookup and expire Increment the session reference count within the lock for lookup to avoid racy issue with session expire.

Affected

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

5.15 ≤ v < 5.15.1765.15 ≤ v < 6.1.1215.15 ≤ v < 6.12.65.15 ≤ v < 6.135.15 ≤ v < 6.6.675.15.145 ≤ v < 5.15.1766.1.29 ≤ v < 6.1.1216.2.16 ≤ v < 6.36.3.2 ≤ v < 6.46.7 ≤ v < 6.12.66.13 rc16.13 rc2626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 2107ab40629aeabbec369cf34b8cf0f288c3eb1b (fixed)
Vendor states this is fixed in 37a0e2b362b3150317fb6e2139de67b1e29ae5ff (fixed)
Vendor states this is fixed in 450a844c045ff0895d41b05a1cbe8febd1acfcfd (fixed)
Vendor states this is fixed in a39e31e22a535d47b14656a7d6a893c7f6cf758c (fixed)
Vendor states this is fixed in b95629435b84b9ecc0c765995204a4d8a913ed52 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.176 (unaffected)
Vendor states this is fixed in 6.1.121 (unaffected)
Vendor states this is fixed in 6.12.6 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Affected range stops below 6.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.6.67 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52
PatchThird Party Advisory
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://www.zerodayinitiative.com/advisories/ZDI-25-100/

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

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

CVSS

8.1HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

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