CVE-2024-58087 in the critical feed json
ksmbd: fix racy issue from session lookup and expire
published 2025-03-12 19 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-6402
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.176, 6.1.121, 6.6.67, 6.12.6, 6.13
- linux Debian 12 6.1.123-1
- linux Debian 14, Debian 13 6.12.6-1
debian advisories DEBIAN-CVE-2024-58087
- linux Ubuntu 22.04 LTS 5.15.0-135.146
- linux Ubuntu 24.04 LTS 6.8.0-60.63
- linux-aws Ubuntu 22.04 LTS 5.15.0-1080.87
- linux-aws Ubuntu 24.04 LTS 6.8.0-1029.31
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1079.88
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1030.32
- linux-gke Ubuntu 22.04 LTS 5.15.0-1077.83
- linux-gke Ubuntu 24.04 LTS 6.8.0-1025.29
ubuntu advisories UBUNTU-CVE-2024-58087
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b commit
- git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff commit
- git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd commit
- git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c commit
- git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52 commit
- zerodayinitiative.com/advisories/ZDI-25-100/ advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-58087 updated cvss 8.1
kernel: ksmbd: fix racy issue from session lookup and expire
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more Red Hat Enterprise Linux 10 rv, perf, rtla, kernel, libperf, kernel-rt, +54 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-667 Improper Locking
- Technology feeds
References
-
git.kernel.org
/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b
patch
-
git.kernel.org
/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff
patch
-
git.kernel.org
/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd
patch
-
git.kernel.org
/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c
patch
-
git.kernel.org
/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52
patch
-
zerodayinitiative.com
/advisories/ZDI-25-100/
patch, third-party-advisory
Sources
- CVE List CVE-2024-58087
- NVD CVE-2024-58087
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.