Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40057

UNSCOREDEPSS 13%

ptp: Add a upper bound on max_vclocks

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 35ce5f163889dbce88eda1df661b357a09bbed87; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < e9f35294e18da82162004a2f35976e7031aaf7f9
  • Anyone running Linux 5.14

Vulnerability facts

Affected
Linux >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 35ce5f163889dbce88eda1df661b357a09bbed87; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < e9f35294e18da82162004a2f35976e7031aaf7f9; Linux 5.14
Fixed in
Linux 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66, Linux 8dd446056336faa2283d62cefc2f576536845edc, Linux 35ce5f163889dbce88eda1df661b357a09bbed87
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 35ce5f163889dbce88eda1df661b357a09bbed87; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < e9f35294e18da82162004a2f35976e7031aaf7f9—cvelist
Linux5.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40057. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40057.md
Affected: Linux >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc; >= 73f37068d540eba5f93ba3a…
Fixed in: Linux 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66, Linux 8dd446056336faa2283d62cefc2f576536845edc, Linux 35ce5f163889dbce88eda1df661b357a09bbed87

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40057 being exploited?

There is no confirmed exploitation: CVE-2025-40057 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40057?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40057?

Linux >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 35ce5f163889dbce88eda1df661b357a09bbed87; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < e9f35294e18da82162004a2f35976e7031aaf7f9; Linux 5.14.

Is there a fix for CVE-2025-40057?

Yes. Fixed in Linux 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66, Linux 8dd446056336faa2283d62cefc2f576536845edc, Linux 35ce5f163889dbce88eda1df661b357a09bbed87. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-40057?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors