Unrated severityNVD Advisory· Published Oct 28, 2025· Updated Oct 30, 2026
CVE-2025-40057
CVE-2025-40057
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- osv-coords3 versionspkg:rpm/opensuse/kernel-source-longterm&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/kernel-source&distro=openSUSE%20Tumbleweedpkg:linux/kernel
< 6.18.16-1.1+ 2 more
- (no CPE)range: < 6.18.16-1.1
- (no CPE)range: < 6.17.7-1.1
- (no CPE)range: >= 5.14.0, < 6.1.191
Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87nvd
- git.kernel.org/stable/c/5ba2f8fd3db1c695f74f7f5df72eb87d52668a66nvd
- git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edcnvd
- git.kernel.org/stable/c/da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2envd
- git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9nvd
News mentions
0No linked articles in our index yet.