VDB

CVE-2024-58087

CVE-2024-58087 PUBLISHED CVSS 9.8 CRITICAL

ksmbd: fix racy issue from session lookup and expire

Reported by linux · Published March 12, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.12.6, 6.4, 6.3, 6.1.121, 5.15.176
LinuxLinuxb95629435b84b9ecc0c765995204a4d8a913ed52, a39e31e22a535d47b14656a7d6a893c7f6cf758c, 450a844c045ff0895d41b05a1cbe8febd1acfcfd, 2107ab40629aeabbec369cf34b8cf0f288c3eb1b

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
LinuxLinux5.15, 0, 5.15.176
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 5.15.176, 6.1.121
linuxlinux_kernel5.15, 5.15, 5.15

Timeline

  • Mar 11, 2025 CVE Published
  • Mar 12, 2025 Coalition ESS Score (14 in total, the first dated here)
  • Mar 13, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 29, 2025 Security Advisory (180 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (178 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-58087
vulnetix vdb fixes CVE-2024-58087

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-58087/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›