Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46684
HistorySep 13, 2024 - 5:29 a.m.

CVE-2024-46684 binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined

2024-09-1305:29:16
Linux
www.cve.org
4
linux kernel
vulnerability resolved
binfmt_elf_fdpic
auxv size calculation
elf_hwcap2

EPSS

0

Percentile

9.6%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/binfmt_elf_fdpic.c"
    ],
    "versions": [
      {
        "version": "10e29251be0e",
        "lessThan": "c507da85e4f8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "10e29251be0e",
        "lessThan": "c6a09e342f8e",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/binfmt_elf_fdpic.c"
    ],
    "versions": [
      {
        "version": "6.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.8",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.6%

Related for CVELIST:CVE-2024-46684