CVE-2024-26816 x86, relocs: Ignore relocations in .notes section
Local attackers can read world-readable kernel notes to leak KASLR base addresses when Xen PV support is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26816?
CVE-2024-26816 is a medium-severity vulnerability in Debian Debian Linux, published on 10 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-770
Which versions are affected by CVE-2024-26816?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-26816?
Apply the vendor's patch.
Is CVE-2024-26816 being exploited?
There is no known exploitation of CVE-2024-26816 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-26816, DEBIAN-CVE-2024-26816, GHSA-mw3g-jr7f-3gg4, UBUNTU-CVE-2024-26816.