8.1
HIGH
CVE-2024-58087
"Linux Kernel ksmbd Racy Session Reference Count Vulnerability"
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.

INFO

Published Date :

March 12, 2025, 8:15 a.m.

Last Modified :

March 13, 2025, 4:22 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2024-58087 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-58087 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-58087 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 13, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-667
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.12.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.67 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 6.1.121 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 5.15.176
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52 Types: Patch
    Added Reference Type kernel.org: https://www.zerodayinitiative.com/advisories/ZDI-25-100/ Types: Patch, Third Party Advisory
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 12, 2025

    Action Type Old Value New Value
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-25-100/
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 12, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b
    Added Reference https://git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff
    Added Reference https://git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd
    Added Reference https://git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c
    Added Reference https://git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-58087 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-58087 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability