Skip to main content
← All vulnerabilities
CVE-2025-37924

ksmbd: fix use-after-free in kerberos authentication

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.138, 6.6.90, 6.12.28, 6.14.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Linux Linux

    From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in e34a33d5d7e87399af0a138bb32f6a3e95dd83d2; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in b447463562238428503cfba1c913261047772f90; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in e18c616718018dfc440e4a2d2b94e28fe91b1861; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in 28c756738af44a404a91b77830d017bb0c525890; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in e86e9134e1d1c90a960dd57f59ce574d27b9a124

  • Linux Linux

    5.15

  • KernelLinux

    From 5.15.0 · fixed in 6.1.138; From 6.2.0 · fixed in 6.6.90; From 6.7.0 · fixed in 6.12.28; From 6.13.0 · fixed in 6.14.6

References 5

git.kernel.org