binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c507da85e4f80c630deb9e98222ccf4118cbe6f8 and Kernel c6a09e342f8e6d3cac7f7c5c14085236aca284b9.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.10, >=10e29251be0e9f774910c1baaa89355859491769 <c507da85e4f80c630deb9e98222ccf4118cbe6f8, >=10e29251be0e9f774910c1baaa89355859491769 <c6a09e342f8e6d3cac7f7c5c14085236aca284b9 | c507da85e4f80c630deb9e98222ccf4118cbe6f8, c6a09e342f8e6d3cac7f7c5c14085236aca284b9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket