{"id":"CVE-2024-46684","summary":"binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined\n\ncreate_elf_fdpic_tables() does not correctly account the space for the\nAUX vector when an architecture has ELF_HWCAP2 defined. Prior to the\ncommit 10e29251be0e (\"binfmt_elf_fdpic: fix /proc/\u003cpid\u003e/auxv\") it\nresulted in the last entry of the AUX vector being set to zero, but with\nthat change it results in a kernel BUG.\n\nFix that by adding one to the number of AUXV entries (nitems) when\nELF_HWCAP2 is defined.","modified":"2026-08-12T03:51:40.249177832Z","published":"2024-09-13T05:29:16.556Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46684.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/c507da85e4f80c630deb9e98222ccf4118cbe6f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6a09e342f8e6d3cac7f7c5c14085236aca284b9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46684.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46684"},{"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":"10e29251be0e9f774910c1baaa89355859491769"},{"fixed":"c507da85e4f80c630deb9e98222ccf4118cbe6f8"},{"fixed":"c6a09e342f8e6d3cac7f7c5c14085236aca284b9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46684.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.10.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46684.json"}}],"schema_version":"1.9.0"}