Bug 2406752 (CVE-2025-40057) - CVE-2025-40057 kernel: ptp: Add a upper bound on max_vclocks
Summary: CVE-2025-40057 kernel: ptp: Add a upper bound on max_vclocks
Keywords:
Status: NEW
Alias: CVE-2025-40057
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-28 12:03 UTC by OSIDB Bzimport
Modified: 2025-10-28 18:41 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-28 12:03:36 UTC
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

Comment 1 Jon Moroney 2025-10-28 18:39:25 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.