VDB

CVE-2024-40994

CVE-2024-40994 PUBLISHED

ptp: fix integer overflow in max_vclocks_store

Reported by linux · Published July 12, 2024

In the Linux kernel, the following vulnerability has been resolved: ptp: fix integer overflow in max_vclocks_store On 32bit systems, the "4 * max" multiply can overflow. Use kcalloc() to do the allocation to prevent this.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.7, 6.6.36, 6.1.96, 5.15.162

Affected products

VendorProductVersions
LinuxLinux44c494c8e30e35713c7d11ca3c5ab332cbfabacf, 44c494c8e30e35713c7d11ca3c5ab332cbfabacf, 44c494c8e30e35713c7d11ca3c5ab332cbfabacf
LinuxLinux5.14, 0, 5.15.162
LinuxLinux6.9.7, 0, 5.15.162
linuxlinux_kernel5.14, 5.14, 5.14

Timeline

  • Jul 12, 2024 CVE Published
  • Jul 13, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (20 in total, the first dated here)
  • Jan 6, 2025 CVE Updated
  • Jan 7, 2026 Security Advisory (271 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (174 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-40994
vulnetix vdb fixes CVE-2024-40994

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40994/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›