CVE
CVE-2024-40994
CVE-2024-40994HIGH 7.8EPSS 20%
CNA description
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.
Affected versions
All Linux kernel vulnerabilities →
- 6.10-rc4This version only
- 6.10-rc3This version only
- 6.10-rc2This version only
- 6.10-rc1This version only
- ≥ 6.7, < 6.9.7Fixed in 6.9.7
- ≥ 6.2, < 6.6.36Fixed in 6.6.36
- ≥ 5.16, < 6.1.96Fixed in 6.1.96
- ≥ 5.14, < 5.15.162Fixed in 5.15.162
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/4b03da87d0b7074c93d9662c6e1a8939f9b8b86e · Patch
- git.kernel.org/stable/c/666e934d749e50a37f3796caaf843a605f115b6f · Patch
- git.kernel.org/stable/c/81d23d2a24012e448f651e007fac2cfd20a45ce0 · Patch
- git.kernel.org/stable/c/d50d62d5e6ee6aa03c00bddb91745d0b632d3b0f · Patch
- git.kernel.org/stable/c/e1fccfb4638ee6188377867f6015d0ce35764a8e · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.