Unrated severityNVD Advisory· Published Oct 29, 2025· Updated Apr 15, 2026
CVE-2025-40084
CVE-2025-40084
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5- osv-coords3 versionspkg:linux/kernelpkg:rpm/opensuse/kernel-source&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/kernel-source-longterm&distro=openSUSE%20Tumbleweed
>= 5.15.0, < 6.1.158+ 2 more
- (no CPE)range: >= 5.15.0, < 6.1.158
- (no CPE)range: < 6.17.7-1.1
- (no CPE)range: < 6.18.16-1.1
Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/2dc125f5da134c0915a840b62565c60a595673ddnvd
- git.kernel.org/stable/c/6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0nvd
- git.kernel.org/stable/c/867ffd9d67285612da3f0498ca618297f8e41f01nvd
- git.kernel.org/stable/c/898d527ed94c19980a4d848f10057f1fed578ffbnvd
- git.kernel.org/stable/c/a02e432d5130da4c723aabe1205bac805889fdb2nvd
News mentions
0No linked articles in our index yet.