CVE-2025-40057
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
28/10/2025
Last modified:
30/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ptp: Add a upper bound on max_vclocks<br />
<br />
syzbot reported WARNING in max_vclocks_store.<br />
<br />
This occurs when the argument max is too large for kcalloc to handle.<br />
<br />
Extend the guard to guard against values that are too large for<br />
kcalloc
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87
- https://git.kernel.org/stable/c/5ba2f8fd3db1c695f74f7f5df72eb87d52668a66
- https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc
- https://git.kernel.org/stable/c/da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e
- https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9


