Unrated severityNVD Advisory· Published Oct 28, 2025· Updated Apr 15, 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:linux/kernelpkg:rpm/opensuse/kernel-source&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/kernel-source-longterm&distro=openSUSE%20Tumbleweed
>= 5.14.0, < 6.12.53+ 2 more
- (no CPE)range: >= 5.14.0, < 6.12.53
- (no CPE)range: < 6.17.7-1.1
- (no CPE)range: < 6.18.16-1.1
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.