CVE-2025-40084 Details
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.
A vulnerability in the Linux kernel's ksmbd component has been addressed. The issue arises in the transport_ipc handling, where the handle_response function reads a 4-byte handle from the payload without first checking if the declared payload size is at least 4 bytes. This oversight can lead to a read operation that exceeds the declared payload size, potentially causing a buffer over-read. The vulnerability was introduced in version 6.6 and affects the stable branch.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2dc125f5da134c0915a840b62565c60a595673dd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0 | kernel.org | |
| https://git.kernel.org/stable/c/867ffd9d67285612da3f0498ca618297f8e41f01 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/898d527ed94c19980a4d848f10057f1fed578ffb | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a02e432d5130da4c723aabe1205bac805889fdb2 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | kernel.org |
| Oct 29, 2025 | New CVE Received | kernel.org |
Volerion