CVE-2024-46684

binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined

published September 13, 2024

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2024-09-13T05:29Z
EPSS history
Timeline
  • 13 SEP 05:29Z
    binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
    cvelistv5