Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26816
HistoryApr 10, 2024 - 1:53 p.m.

CVE-2024-26816 x86, relocs: Ignore relocations in .notes section

2024-04-1013:53:49
Linux
www.cve.org
linux
kernel
vulnerability
resolved
x86
relocs
config_xen_pv
kaslr
base
relocations

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%

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

x86, relocs: Ignore relocations in .notes section

When building with CONFIG_XEN_PV=y, .text symbols are emitted into
the .notes section so that Xen can find the “startup_xen” entry point.
This information is used prior to booting the kernel, so relocations
are not useful. In fact, performing relocations against the .notes
section means that the KASLR base is exposed since /sys/kernel/notes
is world-readable.

To avoid leaking the KASLR base without breaking unprivileged tools that
are expecting to read /sys/kernel/notes, skip performing relocations in
the .notes section. The values readable in .notes are then identical to
those found in System.map.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/tools/relocs.c"
    ],
    "versions": [
      {
        "version": "5ead97c84fa7",
        "lessThan": "13edb509abc9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "52018aa146e3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "a4e7ff1a7427",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "c7cff9780297",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "47635b112a64",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "af2a9f98d884",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "ae7079238f6f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "5cb59db49c9c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5ead97c84fa7",
        "lessThan": "aaa8736370db",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/tools/relocs.c"
    ],
    "versions": [
      {
        "version": "2.6.23",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.23",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.311",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.273",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.214",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.153",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.83",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.23",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.11",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.2",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%