{"id":"CVE-2024-40994","aliases":["CVE-2024-40994"],"related":[],"kind":"vulnerability","state":"published","title":"ptp: fix integer overflow in max_vclocks_store","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ptp: corrige el desbordamiento de enteros en max_vclocks_store En sistemas de 32 bits, la multiplicación \"4 * max\" puede desbordarse. Utilice kcalloc() para realizar la asignación y evitar esto.","source":"nvd"}],"published":"2024-07-12T12:37:37.124Z","modified":"2026-06-17T07:47:02.503Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","fixed":"4b03da87d0b7074c93d9662c6e1a8939f9b8b86e","status":"affected"},{"type":"git","introduced":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","fixed":"d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f","status":"affected"},{"type":"git","introduced":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","fixed":"666e934d749e50a37f3796caaf843a605f115b6f","status":"affected"},{"type":"git","introduced":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","fixed":"e1fccfb4638ee6188377867f6015d0ce35764a8e","status":"affected"},{"type":"git","introduced":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","fixed":"81d23d2a24012e448f651e007fac2cfd20a45ce0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.162","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.96","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.36","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.7","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.14","fixed":"5.15.162"},{"status":"affected","introduced":"5.16","fixed":"6.1.96"},{"status":"affected","introduced":"6.2","fixed":"6.6.36"},{"status":"affected","introduced":"6.7","fixed":"6.9.7"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4b03da87d0b7074c93d9662c6e1a8939f9b8b86e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/666e934d749e50a37f3796caaf843a605f115b6f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1fccfb4638ee6188377867f6015d0ce35764a8e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81d23d2a24012e448f651e007fac2cfd20a45ce0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:01:38.458Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40994","url":"https://www.cve.org/CVERecord?id=CVE-2024-40994","licence":"CVE Terms of Use","modified":"2026-05-11T20:23:56.957Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40994","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40994","licence":"Public domain","modified":"2026-06-17T07:47:02.503Z"}],"updatedAt":"2026-11-25T22:58:42.881Z","epss":{"score":0.00277,"percentile":0.21542,"date":"2026-12-01T12:00:22.000Z"}}