CVE-2024-58087 Details
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.
A remote code execution vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the session setup process. This issue arises from improper locking during session lookup, leading to a race condition where an attacker can exploit the vulnerability to execute arbitrary code in the kernel's context. The vulnerability affects systems with ksmbd enabled, and does not require authentication to exploit.
Linux has released a patch for this vulnerability. Details about the patch can be found in the Linux kernel's stable queue repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b | kernel.org | Patch |
| https://git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff | kernel.org | Patch |
| https://git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd | kernel.org | Patch |
| https://git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c | kernel.org | Patch |
| https://git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52 | kernel.org | Patch |
| https://www.zerodayinitiative.com/advisories/ZDI-25-100/ | kernel.org | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-667 | Improper Locking | [email protected] |
| CWE-667 | Improper Locking | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15.145, < 5.15.176 >= 6.1.29, < 6.1.121 >= 6.2.16, < 6.3 >= 6.3.2, < 6.4 >= 6.7, < 6.12.6 6.13 rc1 6.13 rc2 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 23, 2026 | Modified Analysis | [email protected] |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Aug 19, 2025 | Modified Analysis | [email protected] |
| Mar 13, 2025 | Initial Analysis | [email protected] |
| Mar 12, 2025 | CVE Modified | kernel.org |
| Mar 12, 2025 | New CVE Received | kernel.org |