CVE-2025-40057
ptp: Add a upper bound on max_vclocks
Reported by linux · Published October 28, 2025
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
EPSS 0.25% · 16.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e, 8dd446056336faa2283d62cefc2f576536845edc, 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66, 5.14, 35ce5f163889dbce88eda1df661b357a09bbed87 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 73f37068d540eba5f93ba3a0019bf479d35ebd76, 73f37068d540eba5f93ba3a0019bf479d35ebd76, 73f37068d540eba5f93ba3a0019bf479d35ebd76 |
| Linux | Linux | 5.14, 0, 6.1.191 |
| Linux | Linux | 73f37068d540eba5f93ba3a0019bf479d35ebd76, 73f37068d540eba5f93ba3a0019bf479d35ebd76, 73f37068d540eba5f93ba3a0019bf479d35ebd76 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| linux | linux_kernel | 5.14, 5.14, 5.14 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.53-69.119 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
Timeline
- Oct 27, 2025 CVE Published
- Oct 28, 2025 EPSS Score (30 in total, the first dated here)
- Oct 28, 2025 Coalition ESS Score (8 in total, the first dated here)
- Dec 15, 2025 Security Advisory (175 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (118 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40057
vulnetix vdb fixes CVE-2025-40057
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40057/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart