CVE-2025-38562

MEDIUMCVSS 5.5/10EPSS 7.14%

Last modified

CVE-2025-38562 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference error in generate_encryptionkey If client send two session setups with krb5 authenticate to ksmbd, null pointer dereference error in generate_encryptionkey could happen. sess->Preauth_HashValue is set to NULL if session is valid. So this patch skip generate encryption key if session is valid.. EPSS estimates a 7.14% chance of exploitation in the next 30 days.

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference error in generate_encryptionkey If client send two session setups with krb5 authenticate to ksmbd, null pointer dereference error in generate_encryptionkey could happen. sess->Preauth_HashValue is set to NULL if session is valid. So this patch skip generate encryption key if session is valid.

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
7.14%

93.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 5.15, < 6.1.148
LinuxLinux Kernel>= 6.2, < 6.6.102
LinuxLinux Kernel>= 6.7, < 6.12.42
LinuxLinux Kernel>= 6.13, < 6.15.10
LinuxLinux Kernel>= 6.16, < 6.16.1
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2025-38562?
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference error in generate_encryptionkey If client send two session setups with krb5 authenticate to ksmbd, null pointer dereference error in generate_encryptionkey could happen. sess->Preauth_HashValue is set to NULL if session is valid. So this patch skip generate encryption key if session is valid.
How severe is CVE-2025-38562?
CVE-2025-38562 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 7.14% probability of exploitation in the next 30 days.
How do I fix CVE-2025-38562?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-38562?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST