CVE-2025-37778 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix dangling pointer in krb_authenticate krb_authenticate frees sess->user and does not set the pointer to NULL. It calls ksmbd_krb5_authenticate to reinitialise sess->user but that function may return without doing so. If that happens then smb2_sess_setup, which calls krb_authenticate, will be accessing free'd memory when it later uses sess->user.
A vulnerability in the Linux kernel's ksmbd component has been identified, involving a dangling pointer in the Kerberos authentication process. The issue arises because the function 'krb_authenticate' frees the 'sess->user' pointer without resetting it to NULL. Subsequently, 'smb2_sess_setup' can access this freed memory, leading to potential undefined behavior. This vulnerability has been addressed in the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1db2451de23e98bc864c6a6e52aa0d82c91cb325 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1e440d5b25b7efccb3defe542a73c51005799a5f | kernel.org | Patch |
| https://git.kernel.org/stable/c/6e30c0e10210c714f3d4453dc258d4abcc70364e | kernel.org | Patch |
| https://git.kernel.org/stable/c/b61f04d5d73c53d183019bafe22fb700a739bac5 | kernel.org | |
| https://git.kernel.org/stable/c/d5b554bc8d554ed6ddf443d3db2fad9f665cec10 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e83e39a5f6a01a81411a4558a59a10f87aa88dd6 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 6.1.135 >= 6.2, < 6.6.88 >= 6.7, < 6.12.25 >= 6.13, < 6.14.4 6.15 rc1 6.15 rc2 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Mar 17, 2026 | Modified Analysis | [email protected] |
| Feb 13, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 1, 2025 | New CVE Received | kernel.org |