CVE-2024-46684

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46684
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46684.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46684
Downstream
Published
2024-09-13T05:29:16Z
Modified
2025-10-22T02:07:04.225015Z
Summary
binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
Details

In the Linux kernel, the following vulnerability has been resolved:

binfmtelffdpic: fix AUXV size calculation when ELF_HWCAP2 is defined

createelffdpictables() does not correctly account the space for the AUX vector when an architecture has ELFHWCAP2 defined. Prior to the commit 10e29251be0e ("binfmtelffdpic: 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.

References

Affected packages

Git / 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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
10e29251be0e9f774910c1baaa89355859491769
Fixed
c6a09e342f8e6d3cac7f7c5c14085236aca284b9

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.11-rc1
v6.11-rc2
v6.9
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.8