CVE-2024-26816
JSON

5.5medium

x86, relocs: Ignore relocations in .notes section

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before 13edb509abc91c72152a11baaf0e7c060a312e03, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before 52018aa146e3cf76569a9b1e6e49a2b7c8d4a088, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before a4e7ff1a74274e59a2de9bb57236542aa990d20a, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before c7cff9780297d55d97ad068b68b703cfe53ef9af, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before 47635b112a64b7b208224962471e7e42f110e723, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before af2a9f98d884205145fd155304a6955822ccca1c, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before ae7079238f6faf1b94accfccf334e98b46a0c0aa, from 5ead97c84fa7d63a6a7a2f4e9f18f452bd109045 before 5cb59db49c9c0fccfd33b2209af4f7ae3c6ddf40 and 2 more
Not affected: before 2.6.23, from 4.19.311 up to 4.19.*, from 5.4.273 up to 5.4.*, from 5.10.214 up to 5.10.*, from 5.15.153 up to 5.15.*, from 6.1.83 up to 6.1.*
CVE List
linux linux_kernelfrom 2.6.23 before 4.19.311, from 4.20 before 5.4.273, from 5.5 before 5.10.214, from 5.11 before 5.15.153, from 5.16 before 6.1.83, from 6.2 before 6.6.23, from 6.7 before 6.7.11, from 6.8 before 6.8.2 and 1 moreNVD
debian debian_linux10.0NVD

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: x86, relocs: ignorar reubicaciones en la sección .notes Al compilar con CONFIG_XEN_PV=y, los símbolos .text se emiten en la sección .notes para que Xen pueda encontrar el punto de entrada "startup_xen" . Esta información se utiliza antes de iniciar el kernel, por lo que las reubicaciones no son útiles. De hecho, realizar reubicaciones en la sección .notes significa que la base KASLR está expuesta ya que /sys/kernel/notes es legible en todo el mundo. Para evitar filtrar la base de KASLR sin dañar las herramientas sin privilegios que esperan leer /sys/kernel/notes, omita realizar reubicaciones en la sección .notes. Los valores legibles en .notes son idénticos a los que se encuentran en System.map.

References

https://git.kernel.org/stable/c/13edb509abc91c72152a11baaf0e7c060a312e03patch
https://git.kernel.org/stable/c/52018aa146e3cf76569a9b1e6e49a2b7c8d4a088patch
https://git.kernel.org/stable/c/a4e7ff1a74274e59a2de9bb57236542aa990d20apatch
https://git.kernel.org/stable/c/c7cff9780297d55d97ad068b68b703cfe53ef9afpatch
https://git.kernel.org/stable/c/47635b112a64b7b208224962471e7e42f110e723patch
https://git.kernel.org/stable/c/af2a9f98d884205145fd155304a6955822ccca1cpatch
https://git.kernel.org/stable/c/ae7079238f6faf1b94accfccf334e98b46a0c0aapatch
https://git.kernel.org/stable/c/5cb59db49c9c0fccfd33b2209af4f7ae3c6ddf40patch
https://git.kernel.org/stable/c/aaa8736370db1a78f0e8434344a484f9fd20be3bpatch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list
https://cert-portal.siemens.com/productcert/html/ssa-265688.html

Sources

SourceRecordLicence
CVE ListCVE-2024-26816 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-26816 changed 2026-10-15Public domain