CVE-2025-37924

published 20 May 2025 · updated 15 Oct 2026

ksmbd: fix use-after-free in kerberos authentication

10.0CriticalCVSS 9.8EPSS 25%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 25%. Fixed in Kernel 28c756738af44a404a91b77830d017bb0c525890, Kernel b447463562238428503cfba1c913261047772f90, Kernel e18c616718018dfc440e4a2d2b94e28fe91b1861 and 2 more.

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 ksmbd_free_user. However, it is possible another thread could be operating on the session and make use of sess->user after it has been passed to ksmbd_free_user but before sess->user is set to NULL.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <28c756738af44a404a91b77830d017bb0c525890, >=0626e6641f6b467447c81dd7678a69c66f7746cf <b447463562238428503cfba1c913261047772f90, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e18c616718018dfc440e4a2d2b94e28fe91b1861, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e34a33d5d7e87399af0a138bb32f6a3e95dd83d2, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e86e9134e1d1c90a960dd57f59ce574d27b9a12428c756738af44a404a91b77830d017bb0c525890, b447463562238428503cfba1c913261047772f90, e18c616718018dfc440e4a2d2b94e28fe91b1861, e34a33d5d7e87399af0a138bb32f6a3e95dd83d2, e86e9134e1d1c90a960dd57f59ce574d27b9a124

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-2025-37924 severity on Zeptric[![CVE-2025-37924](https://zeptric.io/badge/cve/CVE-2025-37924.svg)](https://zeptric.io/cve/CVE-2025-37924)