CVE-2024-26816

x86, relocs: Ignore relocations in .notes section

State
Published
Severity
Not scored
Published
Apr 10, 2024
Updated
Oct 15, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before 13edb509abc91c72152a11baaf0e7c060a312e03Affected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before 52018aa146e3cf76569a9b1e6e49a2b7c8d4a088Affected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before a4e7ff1a74274e59a2de9bb57236542aa990d20aAffected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before c7cff9780297d55d97ad068b68b703cfe53ef9afAffected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before 47635b112a64b7b208224962471e7e42f110e723Affected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before af2a9f98d884205145fd155304a6955822ccca1cAffected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before ae7079238f6faf1b94accfccf334e98b46a0c0aaAffected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before 5cb59db49c9c0fccfd33b2209af4f7ae3c6ddf40Affected
  • 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 to before aaa8736370db1a78f0e8434344a484f9fd20be3bAffected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 4.19.311 through 4.19.*Not affected
  • 5.4.273 through 5.4.*Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.