CVE-2024-58087
kernel: ksmbd: fix racy issue from session lookup and expire
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 12, 2025
Updated · September 13, 2026
Description
A flaw was found in ksmbd, a Linux kernel module that provides an in-kernel SMB server. A race condition exists in the session lookup and expiration process. This issue occurs because the session reference count is not properly incremented within the lock during lookup. A remote attacker could potentially exploit this to cause a denial of service due to improper session handling.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-667 · Improper Locking