← CVE Intelligence

CVE-2024-40994

ptp: fix integer overflow in max_vclocks_store PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 44c494c8e30e35713c7d11ca3c5ab332cbfabacf before 4b03da87d0b7074c93d9662c6e1a8939f9b8b86e; affected 44c494c8e30e35713c7d11ca3c5ab332cbfabacf before d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f; affected 44c494c8e30e35713c7d11ca3c5ab332cbfabacf before 666e934d749e50a37f3796caaf843a605f115b6f; affected 44c494c8e30e35713c7d11ca3c5ab332cbfabacf before e1fccfb4638ee6188377867f6015d0ce35764a8e; affected 44c494c8e30e35713c7d11ca3c5ab332cbfabacf before 81d23d2a24012e448f651e007fac2cfd20a45ce0
Linux / Linuxaffected 5.14; unaffected 0 before 5.14; unaffected 5.15.162 through 5.15.*; unaffected 6.1.96 through 6.1.*; unaffected 6.6.36 through 6.6.*; unaffected 6.9.7 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.