CVE-2025-40057

ptp: Add a upper bound on max_vclocks

At a glance

Severity
Not available
EPSS
EPSS 0.25 % · percentile 16 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 73f37068d540eba5f93ba3a0019bf479d35ebd76 < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e ; affected 73f37068d540eba5f93ba3a0019bf479d35ebd76 < 8dd446056336faa2283d62cefc2f576536845edc ; affected 73f37068d540eba5f93ba3a0019bf479d35ebd76 < 35ce5f163889dbce88eda1df661b357a09bbed87 ; affected 73f37068d540eba5f93ba3a0019bf479d35ebd76 < e9f35294e18da82162004a2f35976e7031aaf7f9
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.53 ≤ 6.12.* ; unaffected 6.17.3 ≤ 6.17.* ; unaffected 6.18 ≤ *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD