CVE-2025-40057
N/A
N/A
Summary
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
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 73f37068d540eba5f93ba3a0019bf479d35ebd76 < 8dd446056336faa2283d62cefc2f576536845edc | affected |
| Linux | Linux | 73f37068d540eba5f93ba3a0019bf479d35ebd76 < 35ce5f163889dbce88eda1df661b357a09bbed87 | affected |
| Linux | Linux | 73f37068d540eba5f93ba3a0019bf479d35ebd76 < e9f35294e18da82162004a2f35976e7031aaf7f9 | affected |
| Linux | Linux | 5.14 | affected |
| Linux | Linux | 0 < 5.14 | unaffected |
| Linux | Linux | 6.12.53 <= 6.12.* | unaffected |
| Linux | Linux | 6.17.3 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/8dd446056336faa2283d62cefc2f576536845edc
- https://git.kernel.org/stable/c/35ce5f163889dbce88eda1df661b357a09bbed87
- https://git.kernel.org/stable/c/e9f35294e18da82162004a2f35976e7031aaf7f9
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.