CVE-2025-40084

HIGHCVSS 7.1/10EPSS 0.19%

Last modified

CVE-2025-40084 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.1/10

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

EPSS Probability
0.19%

8.7th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a02e432d5130da4c723aabe1205bac805889fdb2; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 2dc125f5da134c0915a840b62565c60a595673dd; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 898d527ed94c19980a4d848f10057f1fed578ffb; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 867ffd9d67285612da3f0498ca618297f8e41f01; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0
LinuxLinux5.15

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-40084?
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.
How severe is CVE-2025-40084?
CVE-2025-40084 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 0.19% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40084?
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.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-40084?

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

Scan your code now

Source: NVD / NIST