{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40994","id":"CVE-2024-40994","title":"ptp: fix integer overflow in max_vclocks_store","description":"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.","descriptionLong":"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.","published":"2024-07-12T12:37:37.124Z","updated":"2026-10-28T02:31:11.952629558Z","reserved":"2024-07-12T12:17:45.606Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","lessThan":"4b03da87d0b7074c93d9662c6e1a8939f9b8b86e","status":"affected","versionType":"git"},{"version":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","lessThan":"d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f","status":"affected","versionType":"git"},{"version":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","lessThan":"666e934d749e50a37f3796caaf843a605f115b6f","status":"affected","versionType":"git"},{"version":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","lessThan":"e1fccfb4638ee6188377867f6015d0ce35764a8e","status":"affected","versionType":"git"},{"version":"44c494c8e30e35713c7d11ca3c5ab332cbfabacf","lessThan":"81d23d2a24012e448f651e007fac2cfd20a45ce0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.15.162","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.96","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.36","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.7","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4b03da87d0b7074c93d9662c6e1a8939f9b8b86e","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/666e934d749e50a37f3796caaf843a605f115b6f","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e1fccfb4638ee6188377867f6015d0ce35764a8e","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/81d23d2a24012e448f651e007fac2cfd20a45ce0","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40994.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40994","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00277,"epssPercentile":0.20452,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40994","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40994","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40994","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-40994","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}