CVE-2025-40057

medium

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

References

https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9

https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc

https://git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87

Details

Source: Mitre, NVD

Published: 2025-10-28

Updated: 2025-10-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00017