CVE-2025-37924

ksmbd: fix use-after-free in kerberos authentication

HIGH
7.8
CVSS Score
Published: May 20, 2025 at 03:21 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 25%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 6.1.1386.13 ≤ v < 6.14.66.2 ≤ v < 6.6.906.7 ≤ v < 6.12.285.156.156.15 rc16.15 rc26.15 rc36.15 rc4626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 28c756738af44a404a91b77830d017bb0c525890 (fixed)
Vendor states this is fixed in b447463562238428503cfba1c913261047772f90 (fixed)
Vendor states this is fixed in e18c616718018dfc440e4a2d2b94e28fe91b1861 (fixed)
Vendor states this is fixed in e34a33d5d7e87399af0a138bb32f6a3e95dd83d2 (fixed)
Vendor states this is fixed in e86e9134e1d1c90a960dd57f59ce574d27b9a124 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.1.138 (unaffected)
Vendor states this is fixed in 6.12.28 (unaffected)
Vendor states this is fixed in 6.14.6 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.90 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28c756738af44a404a91b77830d017bb0c525890
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b447463562238428503cfba1c913261047772f90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e18c616718018dfc440e4a2d2b94e28fe91b1861
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e34a33d5d7e87399af0a138bb32f6a3e95dd83d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e86e9134e1d1c90a960dd57f59ce574d27b9a124
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card