Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ptp: Add a upper bound on max_vclocks syzbot reported WARNING in max_vclocks_store. This occurs when the argument max is too large for kcalloc to handle. Extend the guard to guard against values that are too large for kcalloc
References
- https://git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87
- https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc
- https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9
FAQ
What is CVE-2025-40057?
CVE-2025-40057 is a documented vulnerability. In the Linux kernel, the following vulnerability has been resolved: ptp: Add a upper bound on max_vclocks syzbot reported WARNING in max_vclocks_store. This occurs when the argument max is too larg...
How severe is CVE-2025-40057?
CVSS scoring is not yet available for CVE-2025-40057. Check NVD for updates.
Is there a patch for CVE-2025-40057?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.