7.5

CVE-2025-38191: ksmbd: fix null pointer dereference in destroy_previous_session

Modified
AliasesUBUNTU-CVE-2025-38191DEBIAN-CVE-2025-38191
Published 04-07-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-38191 is a high (CVSS 7.5) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.9% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.42%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 26 · Related 22

Timeline

  1. 04-07-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in destroy_previous_session If client set ->PreviousSessionId on kerberos session setup stage, NULL pointer dereference error will happen. Since sess->user is not set yet, It can pass the user argument as NULL to destroy_previous_session. sess->user will be set in ksmbd_krb5_authenticate(). So this patch move calling destroy_previous_session() after ksmbd_krb5_authenticate().

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.42%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

Increase +0.10 pp

From 1.32% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu147 products
  • linuxAll versions (No fix recorded) | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 281afc52e2961cd5dd8326ebc9c5bc40904c0468 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0902625a24eea7fdc187faa5d97df244d159dd6e | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1193486dffb7432a09f57f5d09049b4d4123538b | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 076f1adefb9837977af7ed233883842ddc446644 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 7ac5b66acafcc9292fb935d7e03790f2b8b2dc0e | 5.15
  • linux_kernel≥ 5.15, < 6.1.142 | ≥ 6.2, < 6.6.95 | ≥ 6.7, < 6.12.35 | ≥ 6.13, < 6.15.4 | 6.16:rc1 | 6.16:rc2

3 vendors · 151 products

References

34 links
Show all 34 references