What’s Vulnerable › Vulnerabilities

CVE-2025-40057: ptp: Add a upper bound on max_vclocks

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

Affected products

How to fix

Upgrade to a fixed version: Linux 6.18. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40057 or the next vulnerability affects your stack