CVE-2025-40084
In the Linux kernel, the following vulnerability has been resolved: …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/2dc125f5da134c0915a840b62565c60a595673dd
- git.kernel.org/stable/c/6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0
- git.kernel.org/stable/c/867ffd9d67285612da3f0498ca618297f8e41f01
- git.kernel.org/stable/c/898d527ed94c19980a4d848f10057f1fed578ffb
- git.kernel.org/stable/c/a02e432d5130da4c723aabe1205bac805889fdb2
- nvd.nist.gov/vuln/detail/CVE-2025-40084
- cve.org/CVERecord?id=CVE-2025-40084
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.