Lucene search

K
cveLinuxCVE-2024-44966
HistorySep 04, 2024 - 7:15 p.m.

CVE-2024-44966

2024-09-0419:15:31
Linux
web.nvd.nist.gov
25
linux kernel
vulnerability resolved
binfmt_flat
corruption fix
risc-v
flat format
array initialization
shared library pointers.

AI Score

7.5

Confidence

Low

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.135.15.165
OR
linuxlinux_kernelRange5.16.06.1.106
OR
linuxlinux_kernelRange6.2.06.6.47
OR
linuxlinux_kernelRange6.7.06.10.6
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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"
      }
    ]
  }
]

AI Score

7.5

Confidence

Low

EPSS

0

Percentile

16.3%