CVE-2024-58087: ksmbd: fix racy issue from session lookup and expire

Published Mar 12, 2025
·
Updated

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 Software

12 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel<5.15.176
Linux Linux kernel>=5.16<6.1.121
Linux Linux kernel>=6.2<6.6.67
Linux Linux kernel>=6.7<6.12.6
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1
Linux Linux kernel>=5.15.145<5.15.176
Linux Linux kernel>=6.1.29<6.1.121
Linux Linux kernel>=6.2.16<6.3
Linux Linux kernel>=6.3.2<6.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1

Event History

Mar 12, 2025
CVE Published
via MITRE·07:28 AM
Data Sourced
via MITRE·07:28 AM
DescriptionSeverity
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 2, 2025
Data Sourced
via Ubuntu·06:57 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-58087?

CVE-2024-58087 is rated as a medium-severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-58087?

To fix CVE-2024-58087, update your Linux kernel to the latest version where this vulnerability has been patched.

3

What types of systems are affected by CVE-2024-58087?

CVE-2024-58087 affects systems running the Linux kernel, specifically those utilizing the ksmbd module.

4

What is the impact of CVE-2024-58087?

The impact of CVE-2024-58087 includes potential race conditions related to session expiration in ksmbd.

5

Is CVE-2024-58087 actively exploited in the wild?

As of now, there are no known active exploits for CVE-2024-58087 reported in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203