x86, relocs: Ignore relocations in .notes section (Linux Linux)

CVE-2024-26816
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.31 % · percentile 24 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-770 — Allocation of Resources Without Limits or Throttling

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 < 13edb509abc91c72152a11baaf0e7c060a312e03 ; affected 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 < 52018aa146e3cf76569a9b1e6e49a2b7c8d4a088 ; affected 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 < a4e7ff1a74274e59a2de9bb57236542aa990d20a ; affected 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 < c7cff9780297d55d97ad068b68b703cfe53ef9af ; affected 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 < 47635b112a64b7b208224962471e7e42f110e723 ; affected 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 < af2a9f98d884205145fd155304a6955822ccca1c
Linux · Linuxaffected 2.6.23 ; unaffected 0 < 2.6.23 ; unaffected 4.19.311 ≤ 4.19.* ; unaffected 5.4.273 ≤ 5.4.* ; unaffected 5.10.214 ≤ 5.10.* ; unaffected 5.15.153 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD