CVE-2024-58087

published 12 Mar 2025 · updated 5 Aug 2026

ksmbd: fix racy issue from session lookup and expire

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 2107ab40629aeabbec369cf34b8cf0f288c3eb1b, Kernel 37a0e2b362b3150317fb6e2139de67b1e29ae5ff, Kernel 450a844c045ff0895d41b05a1cbe8febd1acfcfd and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <2107ab40629aeabbec369cf34b8cf0f288c3eb1b, >=0626e6641f6b467447c81dd7678a69c66f7746cf <37a0e2b362b3150317fb6e2139de67b1e29ae5ff, >=0626e6641f6b467447c81dd7678a69c66f7746cf <450a844c045ff0895d41b05a1cbe8febd1acfcfd, >=0626e6641f6b467447c81dd7678a69c66f7746cf <a39e31e22a535d47b14656a7d6a893c7f6cf758c, >=0626e6641f6b467447c81dd7678a69c66f7746cf <b95629435b84b9ecc0c765995204a4d8a913ed522107ab40629aeabbec369cf34b8cf0f288c3eb1b, 37a0e2b362b3150317fb6e2139de67b1e29ae5ff, 450a844c045ff0895d41b05a1cbe8febd1acfcfd, a39e31e22a535d47b14656a7d6a893c7f6cf758c, b95629435b84b9ecc0c765995204a4d8a913ed52

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58087 severity on Zeptric[![CVE-2024-58087](https://zeptric.io/badge/cve/CVE-2024-58087.svg)](https://zeptric.io/cve/CVE-2024-58087)