LiveActive security incident?Get immediate response
CVE Record

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

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue affects PTP virtual clock handling. A very large max_vclocks value can trigger an allocation-related kernel warning. The source bundle does not show active exploitation, CVSS, or confirmed business impact. Treat it as a kernel reliability maintenance item, especially on systems using precision time synchronization.

Executive priority

Schedule remediation through standard kernel maintenance unless your environment depends heavily on PTP or exposes local administrative interfaces broadly. Current evidence does not support emergency action, but affected kernel infrastructure should still be patched through normal reliability and security processes.

Technical view

The bug is in max_vclocks_store: an excessively large max argument can exceed what kcalloc can handle. The fix adds an upper bound before allocation. Evidence is limited to a syzbot-reported WARNING and Linux stable commits; the bundle does not define a CWE, CVSS score, or exploitability requirements.

Likely exposure

Likely relevant to Linux hosts with PTP support and affected kernel versions or unpatched downstream builds. Exposure depends on whether the relevant PTP control is present and writable. The bundle does not state required privileges, remote reachability, or affected distributions.

Exploitation context

No active exploitation is reported in KEV, and the provided sources do not describe public exploitation. The observed failure mode is a kernel warning from fuzzing, not a confirmed privilege escalation, data exposure, or remote attack path.

Researcher notes

The source bundle establishes a bounds-check fix for kcalloc sizing in PTP max_vclocks handling. It does not provide a crash proof, privilege model, threat scenario, or affected distribution matrix. Avoid assuming remote exploitability or privilege escalation without additional vendor or kernel analysis.

Mitigation direction

  • Apply Linux stable or distribution kernel updates containing the referenced fix commits.
  • Check vendor advisories for backported fixes in supported distribution kernels.
  • Prioritize PTP-dependent time synchronization hosts during normal kernel patch cycles.
  • Limit write access to kernel and device control interfaces to trusted administrators.
  • Monitor vendor guidance if CVSS, impact, or exploitability details are later published.

Validation and detection

  • Inventory Linux kernel versions across servers, appliances, and embedded systems.
  • Identify systems using PTP or exposing PTP virtual clock controls.
  • Confirm whether vendor kernels include the referenced upstream stable fixes.
  • Review kernel logs for related PTP max_vclocks warnings.
  • Track CVE status for later CVSS, CWE, or exploitation updates.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-40057 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
0ADP providers
4Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux73f37068d540eba5f93ba3a0019bf479d35ebd76, 73f37068d540eba5f93ba3a0019bf479d35ebd76, 73f37068d540eba5f93ba3a0019bf479d35ebd76unaffected
LinuxLinux5.14, 0, 6.12.53, 6.17.3, 6.18affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.