What’s Vulnerable › Vulnerabilities
CVE-2024-46684: binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-13 · updated 2026-06-17
- Weakness: CWE-131
Description
In the Linux kernel, the following vulnerability has been resolved: binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined create_elf_fdpic_tables() does not correctly account the space for the AUX vector when an architecture has ELF_HWCAP2 defined. Prior to the commit 10e29251be0e ("binfmt_elf_fdpic: fix /proc/<pid>/auxv") it resulted in the last entry of the AUX vector being set to zero, but with that change it results in a kernel BUG. Fix that by adding one to the number of AUXV entries (nitems) when ELF_HWCAP2 is defined.
Affected products
- Linux kernel: from 6.10 before 6.10.8; 6.11-rc1, 6.11-rc2, 6.11-rc3, 6.11-rc4, 6.11-rc5 — fixed in 6.10.8
How to fix
Upgrade to a fixed version: Linux kernel 6.10.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/c507da85e4f80c630deb9e98222ccf4118cbe6f8
- https://git.kernel.org/stable/c/c6a09e342f8e6d3cac7f7c5c14085236aca284b9
Get alerted when CVE-2024-46684 or the next vulnerability affects your stack