Back to CVE records
Critical 9.8Published May 1, 2025

CVE-2025-37778ksmbd: Fix dangling pointer in krb_authenticate

Updated under an hour ago ()

Does this affect you?

It affects Linux and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 0626e6641f6b467447c81dd7678a69c66f7746cf before b61f04d5d73c53d183019bafe22fb700a739bac5; from 0626e6641f6b467447c81dd7678a69c66f7746cf before d5b554bc8d554ed6ddf443d3db2fad9f665cec10; 0626e6641f6b467447c81dd7678a69c66f7746cf builds before 1db2451de23e98bc864c6a6e52aa0d82c91cb325; 0626e6641f6b467447c81dd7678a69c66f7746cf builds before 6e30c0e10210c714f3d4453dc258d4abcc70364e; from 0626e6641f6b467447c81dd7678a69c66f7746cf before e83e39a5f6a01a81411a4558a59a10f87aa88dd6; 0626e6641f6b467447c81dd7678a69c66f7746cf builds before 1e440d5b25b7efccb3defe542a73c51005799a5f
CNA record
linux linux_kernel
linux:linux_kernel
from 5.15 before 6.1.135; from 6.2 before 6.6.88; from 6.7 before 6.12.25; from 6.13 before 6.14.4; 6.15; 6.15
NVD
debian debian_linux
debian:debian_linux
11.0
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • mailing-list, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.