CVE-2025-40057

ptp: Add a upper bound on max_vclocks

N/A
Published: October 28, 2025 at 11:48 AM UTC
Updated: October 21, 2026 at 01:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.1473f37068d540eba5f93ba3a0019bf479d35ebd76
Vendor states this is fixed in 35ce5f163889dbce88eda1df661b357a09bbed87 (fixed)
Vendor states this is fixed in 8dd446056336faa2283d62cefc2f576536845edc (fixed)
Vendor states this is fixed in e9f35294e18da82162004a2f35976e7031aaf7f9 (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 6.12.53 (unaffected)
Vendor states this is fixed in 6.17.3 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.160 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card