Skip to main content
No exploitation reportedFix available

CVE-2025-37778

No exploitation reported by the sources we read.

  • Published2025-05-01
  • Fixed in6.14.4 · 6.12.25 · 6.6.88 · 6.1.135 · 5.15.203
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-05-0114:15CVE publishedNVD

Versions per branch

NVD · OSV
Linux linux kernel
BranchAffectedFixed in
6.x≥ 6.13, < 6.14.46.14.4
6.x≥ 6.13.0, < 6.14.46.14.4
6.x≥ 6.7, < 6.12.256.12.25
6.x≥ 6.7.0, < 6.12.256.12.25
6.x≥ 6.2, < 6.6.886.6.88
6.x≥ 6.2.0, < 6.6.886.6.88
6.1≥ 5.15, < 6.1.1356.1.135
6.1≥ 5.16.0, < 6.1.1356.1.135
5.15≥ 5.15.0, < 5.15.2035.15.203
6.15= 6.15no fix published
Debian debian linux
BranchAffectedFixed in
11.0= 11.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < b61f04d5d73c53d183019bafe22fb700a739bac5fixed in b61f04d5d73c53d183019bafe22fb700a739bac5git
    • ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < d5b554bc8d554ed6ddf443d3db2fad9f665cec10fixed in d5b554bc8d554ed6ddf443d3db2fad9f665cec10git
    • ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1db2451de23e98bc864c6a6e52aa0d82c91cb325fixed in 1db2451de23e98bc864c6a6e52aa0d82c91cb325git
    • ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6e30c0e10210c714f3d4453dc258d4abcc70364efixed in 6e30c0e10210c714f3d4453dc258d4abcc70364egit
    • ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < e83e39a5f6a01a81411a4558a59a10f87aa88dd6fixed in e83e39a5f6a01a81411a4558a59a10f87aa88dd6git
    • ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1e440d5b25b7efccb3defe542a73c51005799a5ffixed in 1e440d5b25b7efccb3defe542a73c51005799a5fgit
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 5.15no fix stated

    Not affected < 5.15 · ≥ 5.15.203, ≤ 5.15.* · ≥ 6.1.135, ≤ 6.1.* · ≥ 6.6.88, ≤ 6.6.* · ≥ 6.12.25, ≤ 6.12.* · ≥ 6.14.4, ≤ 6.14.* · ≥ 6.15

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kernelopenEuler:24.03-LTS-SP1all versions · fixed in 6.6.0-145.1.12.150.oe2403sp1
  • kernelopenEuler:24.03-LTSall versions · fixed in 6.6.0-145.0.12.138.oe2403
  • linuxUbuntu:Pro:26.04:LTSall versions · fixed in 7.0.0-30.30
  • linuxUbuntu:Pro:24.04:LTSall versions · fixed in 6.8.0-142.142
  • linuxUbuntu:Pro:22.04:LTSall versions · fixed in 5.15.0-202.212
  • linuxUbuntu:Pro:20.04:LTSall versions · fixed in 5.4.0-245.265
  • linuxUbuntu:Pro:18.04:LTSall versions · fixed in 4.15.0-260.272
  • linuxUbuntu:Pro:16.04:LTSall versions · fixed in 4.4.0-291.325

113 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-37778 Red Hat Product Security

    kernel: ksmbd: Fix dangling pointer in krb_authenticate

Full record on NVD

Fix

  1. Update Linux linux kernel to 6.14.4 · 6.12.25 · 6.6.88 · 6.1.135 · 5.15.203

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2025-05-01
Last Modified
2026-10-15
NVD status
Modified
GitHub Advisory
GHSA-45gw-fx24-h4pv

Frequently asked questions

What is CVE-2025-37778?

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.

Is CVE-2025-37778 actively exploited?

Active exploitation of CVE-2025-37778 has not been confirmed. Its EPSS score was 1.2% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-37778?

CVE-2025-37778 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record