# CVE-2025-37924: ksmbd: fix use-after-free in kerberos authentication

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 25% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-05-20 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2025-37924, DEBIAN-CVE-2025-37924
- Record: https://cvemate.com/vulnerability/CVE-2025-37924 · JSON: https://cvemate.com/vulnerability/CVE-2025-37924/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 24.546%, percentile 97.932%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 138)

- debian linux (Debian): \< 6.1.140-1 \| \< 6.12.29-1
- ubuntu linux (Ubuntu): \< 5.15.0-185.195 \| \< 6.8.0-100.100
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1111.118 \| \< 6.8.0-1046.49
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1111.118~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1009.9~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1046.49~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1111.118+fips1 \| \< 6.8.0-1046.49+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1116.125 \| \< 6.8.0-1046.52
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1116.125~20.04.1

## References (first 20 of 39)

- <https://git.kernel.org/stable/c/e34a33d5d7e87399af0a138bb32f6a3e95dd83d2>
- <https://git.kernel.org/stable/c/b447463562238428503cfba1c913261047772f90>
- <https://git.kernel.org/stable/c/e18c616718018dfc440e4a2d2b94e28fe91b1861>
- <https://git.kernel.org/stable/c/28c756738af44a404a91b77830d017bb0c525890>
- <https://git.kernel.org/stable/c/e86e9134e1d1c90a960dd57f59ce574d27b9a124>
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>
- <https://ubuntu.com/security/CVE-2025-37924>
- <https://www.cve.org/CVERecord?id=CVE-2025-37924>
- <https://git.kernel.org/linus/e86e9134e1d1c90a960dd57f59ce574d27b9a124>
- <https://ubuntu.com/security/notices/USN-7649-1>
- <https://ubuntu.com/security/notices/USN-7650-1>
- <https://ubuntu.com/security/notices/USN-7649-2>
- <https://ubuntu.com/security/notices/USN-7665-1>
- <https://ubuntu.com/security/notices/USN-7665-2>
- <https://ubuntu.com/security/notices/USN-7721-1>
- <https://ubuntu.com/security/notices/USN-8028-1>
- <https://ubuntu.com/security/notices/USN-8028-2>
- <https://ubuntu.com/security/notices/USN-8031-1>
- <https://ubuntu.com/security/notices/USN-8028-3>
- <https://ubuntu.com/security/notices/USN-8028-4>

---

Data as of 2026-12-05T06:22:38.736Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
