CVE-2025-38191

MEDIUM EPSS 38.0%
Published Jul 4, 202512mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 4, 2025 12mo ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
38.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥5.15  –  <6.1.142
linuxlinux_kernel*≥6.2  –  <6.6.95
linuxlinux_kernel*≥6.7  –  <6.12.35
linuxlinux_kernel*≥6.13  –  <6.15.4
linuxlinux_kernel6.16any
linuxlinux_kernel6.16any
debiandebian_linux11.0any

References 7

  • git.kernel.org https://git.kernel.org/stable/c/076f1adefb9837977af7ed233883842ddc446644
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0902625a24eea7fdc187faa5d97df244d159dd6e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/1193486dffb7432a09f57f5d09049b4d4123538b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/281afc52e2961cd5dd8326ebc9c5bc40904c0468
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7ac5b66acafcc9292fb935d7e03790f2b8b2dc0e
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
    Third Party Advisory
  • zerodayinitiative.com https://www.zerodayinitiative.com/advisories/ZDI-25-610/
    Third Party Advisory

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/076f1adefb9837977af7ed233883842ddc446644
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0902625a24eea7fdc187faa5d97df244d159dd6e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/1193486dffb7432a09f57f5d09049b4d4123538b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/281afc52e2961cd5dd8326ebc9c5bc40904c0468
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7ac5b66acafcc9292fb935d7e03790f2b8b2dc0e
    Patch