{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40057","id":"CVE-2025-40057","title":"ptp: Add a upper bound on max_vclocks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nptp: Add a upper bound on max_vclocks\n\nsyzbot reported WARNING in max_vclocks_store.\n\nThis occurs when the argument max is too large for kcalloc to handle.\n\nExtend the guard to guard against values that are too large for\nkcalloc","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nptp: Add a upper bound on max_vclocks\n\nsyzbot reported WARNING in max_vclocks_store.\n\nThis occurs when the argument max is too large for kcalloc to handle.\n\nExtend the guard to guard against values that are too large for\nkcalloc","published":"2025-10-28T11:48:30.947Z","updated":"2026-11-01T02:31:03.011394357Z","reserved":"2025-04-16T07:20:57.158Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73f37068d540eba5f93ba3a0019bf479d35ebd76","lessThan":"5ba2f8fd3db1c695f74f7f5df72eb87d52668a66","status":"affected","versionType":"git"},{"version":"73f37068d540eba5f93ba3a0019bf479d35ebd76","lessThan":"da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e","status":"affected","versionType":"git"},{"version":"73f37068d540eba5f93ba3a0019bf479d35ebd76","lessThan":"8dd446056336faa2283d62cefc2f576536845edc","status":"affected","versionType":"git"},{"version":"73f37068d540eba5f93ba3a0019bf479d35ebd76","lessThan":"35ce5f163889dbce88eda1df661b357a09bbed87","status":"affected","versionType":"git"},{"version":"73f37068d540eba5f93ba3a0019bf479d35ebd76","lessThan":"e9f35294e18da82162004a2f35976e7031aaf7f9","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.53","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.3","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5ba2f8fd3db1c695f74f7f5df72eb87d52668a66","tags":["web"]},{"url":"https://git.kernel.org/stable/c/da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40057.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40057","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00247,"epssPercentile":0.16153,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40057","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40057","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40057","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40057","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}