CVE-2025-37924: ksmbd: fix use-after-free in kerberos authentication

Published May 20, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free in kerberos authentication

Setting sess->user = NULL was introduced to fix the dangling pointer created by ksmbdfreeuser. However, it is possible another thread could be operating on the session and make use of sess->user after it has been passed to ksmbdfreeuser but before sess->user is set to NULL.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=5.15<6.1.138
Linux Linux kernel>=6.2<6.6.90
Linux Linux kernel>=6.7<6.12.28
Linux Linux kernel>=6.13<6.14.6
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Apply the kernel fix that sets sess->user = NULL to prevent use-after-free (dangling pointer) in ksmbd kerberos authentication.

    Linux kernel ksmbd (Kerberos authentication) sess->user = NULL

Event History

May 20, 2025
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 2, 58221
Event
via MITRE·04:45 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-37924?

CVE-2025-37924 has been assessed as a high severity vulnerability due to the potential for a use-after-free condition during kerberos authentication.

2

How do I fix CVE-2025-37924?

To address CVE-2025-37924, ensure that you update the Linux kernel to the latest patched version that includes the fix for this vulnerability.

3

What systems are affected by CVE-2025-37924?

CVE-2025-37924 affects the Linux kernel, specifically versions prior to the patch that addresses the kerberos authentication use-after-free issue.

4

What are the potential impacts of CVE-2025-37924?

Exploitation of CVE-2025-37924 could lead to arbitrary code execution or system crashes due to a use-after-free vulnerability.

5

Is CVE-2025-37924 related to any specific Linux kernel versions?

CVE-2025-37924 is relevant to multiple versions of the Linux kernel that incorporate ksmbd and kerberos authentication functionalities.

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