CVE-2025-37778: ksmbd: Fix dangling pointer in krb_authenticate

Published May 1, 2025
·
Updated

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

ksmbd: Fix dangling pointer in krbauthenticate

krbauthenticate frees sess->user and does not set the pointer to NULL. It calls ksmbdkrb5authenticate to reinitialise sess->user but that function may return without doing so. If that happens then smb2sesssetup, which calls krbauthenticate, will be accessing free'd memory when it later uses sess->user.

Affected Software

8 affected components
Linux Kernel
Linux Linux kernel>=5.15<6.1.135
Linux Linux kernel>=6.2<6.6.88
Linux Linux kernel>=6.7<6.12.25
Linux Linux kernel>=6.13<6.14.4
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Debian Debian Linux=11.0

Event History

May 1, 2025
CVE Published
via MITRE·01:07 PM
Data Sourced
via MITRE·01:07 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37778?

CVE-2025-37778 has been classified with a medium severity level due to potential exposure to denial of service.

2

How do I fix CVE-2025-37778?

To fix CVE-2025-37778, ensure that you update the Linux kernel to a version where the vulnerability has been patched.

3

What impact does CVE-2025-37778 have on systems?

CVE-2025-37778 can lead to memory corruption, which may be exploitable for denial of service attacks.

4

Which versions of the Linux kernel are affected by CVE-2025-37778?

CVE-2025-37778 affects specific versions of the Linux kernel prior to the release where the vulnerability was fixed.

5

Who is affected by CVE-2025-37778?

Any organization or individual using vulnerable versions of the Linux kernel is at risk from CVE-2025-37778.

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