{"id":"CVE-2024-40994","summary":"ptp: fix integer overflow in max_vclocks_store","details":"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.","modified":"2026-04-02T12:17:23.856441Z","published":"2024-07-12T12:37:37.124Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40994.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4b03da87d0b7074c93d9662c6e1a8939f9b8b86e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/666e934d749e50a37f3796caaf843a605f115b6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81d23d2a24012e448f651e007fac2cfd20a45ce0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1fccfb4638ee6188377867f6015d0ce35764a8e"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40994.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40994"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf"},{"fixed":"4b03da87d0b7074c93d9662c6e1a8939f9b8b86e"},{"fixed":"d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f"},{"fixed":"666e934d749e50a37f3796caaf843a605f115b6f"},{"fixed":"e1fccfb4638ee6188377867f6015d0ce35764a8e"},{"fixed":"81d23d2a24012e448f651e007fac2cfd20a45ce0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40994.json"}}],"schema_version":"1.7.5"}