CVE-2024-40994

published 12 Jul 2024 · updated 11 May 2026

ptp: fix integer overflow in max_vclocks_store

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4b03da87d0b7074c93d9662c6e1a8939f9b8b86e, Kernel 666e934d749e50a37f3796caaf843a605f115b6f, Kernel 81d23d2a24012e448f651e007fac2cfd20a45ce0 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.14, >=44c494c8e30e35713c7d11ca3c5ab332cbfabacf <4b03da87d0b7074c93d9662c6e1a8939f9b8b86e, >=44c494c8e30e35713c7d11ca3c5ab332cbfabacf <666e934d749e50a37f3796caaf843a605f115b6f, >=44c494c8e30e35713c7d11ca3c5ab332cbfabacf <81d23d2a24012e448f651e007fac2cfd20a45ce0, >=44c494c8e30e35713c7d11ca3c5ab332cbfabacf <d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f, >=44c494c8e30e35713c7d11ca3c5ab332cbfabacf <e1fccfb4638ee6188377867f6015d0ce35764a8e4b03da87d0b7074c93d9662c6e1a8939f9b8b86e, 666e934d749e50a37f3796caaf843a605f115b6f, 81d23d2a24012e448f651e007fac2cfd20a45ce0, d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f, e1fccfb4638ee6188377867f6015d0ce35764a8e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40994 severity on Zeptric[![CVE-2024-40994](https://zeptric.io/badge/cve/CVE-2024-40994.svg)](https://zeptric.io/cve/CVE-2024-40994)