Skip to main content
VulnerabilityPublished Updated

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2025-40057· Medium

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

Data as of 30 Oct 2026, 16:33 UTC

Severity
Medium

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

Thin evidence

One scorer or none
Patch
Available – fixed in e9f35294e18da82162004a2f35976e7031aaf7f9, da513f2ad1b1b1cf1880ccc2603ce1f1f818eb2e, 35ce5f163889dbce88eda1df661b357a09bbed87 +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 30 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

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
  • ≥ 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66
Fixed in
  • 5ba2f8fd3db1c695f74f7f5df72eb87d52668a66
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…