Lucene search

K
vulnrichmentLinuxVULNRICHMENT: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
github.com
vulnerability
linux kernel
x86
relocs
kaslr
config_xen_pv
xen
.notes section

6.3 Medium

AI Score

Confidence

Low

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

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

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%