Skip to main content
← All vulnerabilities
CVE-2025-40057

ptp: Add a upper bound on max_vclocks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.160, 6.12.53, 6.17.3
None on Exploit-DB, Metasploit or GitHub

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    5.14

  • KernelLinux

    From 5.14.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.53; From 6.13.0 · fixed in 6.17.3

References 5

git.kernel.org