Bugzilla – Bug 1227829
VUL-0: CVE-2024-40994: kernel: ptp: fix integer overflow in max_vclocks_store
Last modified: 2024-07-15 14:15:05 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40994 https://www.cve.org/CVERecord?id=CVE-2024-40994 https://git.kernel.org/stable/c/4b03da87d0b7074c93d9662c6e1a8939f9b8b86e https://git.kernel.org/stable/c/666e934d749e50a37f3796caaf843a605f115b6f https://git.kernel.org/stable/c/81d23d2a24012e448f651e007fac2cfd20a45ce0 https://git.kernel.org/stable/c/d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f https://git.kernel.org/stable/c/e1fccfb4638ee6188377867f6015d0ce35764a8e https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40994.mbox