Skip to main content
VulnerabilityPublished Updated

CVE-2025-40057: Linux kernel · ptp: Add a upper bound on max_vclocks

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · fixed in e9f35294e18da82162004a2f35976e7031aaf7f9 : update Linux kernel when convenient.

Data as of 26 Oct 2026, 17:30 UTC

Severity
Unrated

Rated by Threat Radar · No CVSS score from NVD or the CNA

EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in e9f35294e18da82162004a2f35976e7031aaf7f9, da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e, 35ce5f163889dbce88eda1df661b357a09bbed87 +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade Linux kernel to e9f35294e18da82162004a2f35976e7031aaf7f9, da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e, 35ce5f163889dbce88eda1df661b357a09bbed87 or 8dd446056336faa2283d62cefc2f576536845edc.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 73f37068d540eba5f93ba3a0019bf479d35ebd76, < e9f35294e18da82162004a2f35976e7031aaf7f9
Fixed in
  • e9f35294e18da82162004a2f35976e7031aaf7f9
LinuxLinuxAffected
  • ≥ 73f37068d540eba5f93ba3a0019bf479d35ebd76, < da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e
Fixed in
  • da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e
LinuxLinuxAffected
  • ≥ 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 35ce5f163889dbce88eda1df661b357a09bbed87
Fixed in
  • 35ce5f163889dbce88eda1df661b357a09bbed87
LinuxLinuxAffected
  • ≥ 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 8dd446056336faa2283d62cefc2f576536845edc
Fixed in
  • 8dd446056336faa2283d62cefc2f576536845edc
LinuxLinuxAffected
  • =5.14
Fixed in–

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

Community reviews

Loading reviews…