Lucene search

K
cvelistLinuxCVELIST:CVE-2024-44966
HistorySep 04, 2024 - 6:38 p.m.

CVE-2024-44966 binfmt_flat: Fix corruption when not offsetting data start

2024-09-0418:38:45
Linux
www.cve.org
4
linux kernel
binfmt_flat
vulnerability

EPSS

0

Percentile

16.3%

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

binfmt_flat: Fix corruption when not offsetting data start

Commit 04d82a6d0881 (“binfmt_flat: allow not offsetting data start”)
introduced a RISC-V specific variant of the FLAT format which does
not allocate any space for the (obsolete) array of shared library
pointers. However, it did not disable the code which initializes the
array, resulting in the corruption of sizeof(long) bytes before the DATA
segment, generally the end of the TEXT segment.

Introduce MAX_SHARED_LIBS_UPDATE which depends on the state of
CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of
the shared library pointer region so that it will only be initialized
if space is reserved for it.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/binfmt_flat.c"
    ],
    "versions": [
      {
        "version": "04d82a6d0881",
        "lessThan": "3a684499261d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "04d82a6d0881",
        "lessThan": "af65d5383854",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "04d82a6d0881",
        "lessThan": "49df34d2b7da",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "04d82a6d0881",
        "lessThan": "9350ba06ee61",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "04d82a6d0881",
        "lessThan": "3eb3cd5992f7",
        "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_flat.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.106",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.47",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.6",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.3%