{"id":"CVE-2024-40994","published":"2024-07-12T12:37:37Z","modified":"2026-05-11T20:23:56Z","title":"ptp: fix integer overflow in max_vclocks_store","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nptp: fix integer overflow in max_vclocks_store\n\nOn 32bit systems, the \"4 * max\" multiply can overflow.  Use kcalloc()\nto do the allocation to prevent this.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00277,"percentile":0.20578,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4b03da87d0b7074c93d9662c6e1a8939f9b8b86e","tags":[]},{"url":"https://git.kernel.org/stable/c/d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f","tags":[]},{"url":"https://git.kernel.org/stable/c/666e934d749e50a37f3796caaf843a605f115b6f","tags":[]},{"url":"https://git.kernel.org/stable/c/e1fccfb4638ee6188377867f6015d0ce35764a8e","tags":[]},{"url":"https://git.kernel.org/stable/c/81d23d2a24012e448f651e007fac2cfd20a45ce0","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":4.12}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 44c494c8e30e35713c7d11ca3c5ab332cbfabacf, < 4b03da87d0b7074c93d9662c6e1a8939f9b8b86e",">= 44c494c8e30e35713c7d11ca3c5ab332cbfabacf, < d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f",">= 44c494c8e30e35713c7d11ca3c5ab332cbfabacf, < 666e934d749e50a37f3796caaf843a605f115b6f",">= 44c494c8e30e35713c7d11ca3c5ab332cbfabacf, < e1fccfb4638ee6188377867f6015d0ce35764a8e",">= 44c494c8e30e35713c7d11ca3c5ab332cbfabacf, < 81d23d2a24012e448f651e007fac2cfd20a45ce0"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:01:38.458996Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38789","exploited":false,"provenance":"source"}}