CVE-2024-46684

Source
https://cve.org/CVERecord?id=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:16.556Z
Modified
2026-08-12T03:51:40.249177832Z
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46684.json",
    "cna_assigner": "Linux"
}
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
Fixed
c6a09e342f8e6d3cac7f7c5c14085236aca284b9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46684.json"

Linux / Kernel

Package

Name
Kernel

Affected 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"