CVEvulnerability
CVE-2025-40057
- Status
- Deferred
- Published
- 2025-10-28
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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 git.kernel.org
- https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc git.kernel.org
- https://git.kernel.org/stable/c/da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e git.kernel.org
- https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9 git.kernel.org