CVE Catalog

CVE-2025-40084

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel, a vulnerability was found in the ksmbd transport_ipc component due to missing payload size validation before reading a handle. The handle_response function dereferences the payload as a 4-byte handle without verifying the declared size, which can lead to an out-of-bounds read.

Risk Assessment

A malicious or truncated message from ksmbd.mountd could cause an out-of-bounds read, potentially leading to information disclosure or system crash.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix for CVE-2025-40084.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: transport_ipc: validate payload size before reading handle handle_response() dereferences the payload as a 4-byte handle without verifying that the declared payload size is at least 4 bytes. A malformed or truncated message from ksmbd.mountd can lead to a 4-byte read past the declared payload size. Validate the size before dereferencing. This is a minimal fix to guard the initial handle read.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS