Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2025-37924

ksmbd: fix use-after-free in kerberos authentication

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < e34a33d5d7e87399af0a138bb32f6a3e95dd83d2affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < b447463562238428503cfba1c913261047772f90affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < e18c616718018dfc440e4a2d2b94e28fe91b1861affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 28c756738af44a404a91b77830d017bb0c525890affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < e86e9134e1d1c90a960dd57f59ce574d27b9a124affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 6.1.138 to ≤ 6.1.*unaffected
  • 6.6.90 to ≤ 6.6.*unaffected
  • 6.12.28 to ≤ 6.12.*unaffected
  • 6.14.6 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References