{"id":"CVE-2025-40057","published":"2025-10-28T11:48:30Z","modified":"2026-10-30T12:22:43Z","title":"ptp: Add a upper bound on max_vclocks","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00247,"percentile":0.16026,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5ba2f8fd3db1c695f74f7f5df72eb87d52668a66","tags":[]},{"url":"https://git.kernel.org/stable/c/da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e","tags":[]},{"url":"https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc","tags":[]},{"url":"https://git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87","tags":[]},{"url":"https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66",">= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e",">= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc",">= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 35ce5f163889dbce88eda1df661b357a09bbed87",">= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < e9f35294e18da82162004a2f35976e7031aaf7f9"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"euvd":{"id":"EUVD-2025-36471","exploited":false,"provenance":"source"}}