CVE-2024-43868
riscv/purgatory: align riscv_kernel_entry
In the Linux kernel, the following vulnerability has been resolved:
riscv/purgatory: align riscv_kernel_entry
When alignment handling is delegated to the kernel, everything must be
word-aligned in purgatory, since the trap handler is then set to the
kexec one. Without the alignment, hitting the exception would
ultimately crash. On other occasions, the kernel's handler would take
care of exceptions.
This has been tested on a JH7110 SoC with oreboot and its SBI delegating
unaligned access exceptions and the kernel configured to handle them.
Affected products
Linux · LinuxWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://git.kernel.org/stable/c/10ffafb456f293976c42f700578ef740467cb569https://git.kernel.org/stable/c/5d4aaf16a8255f7c71790e211724ba029609c5ffhttps://git.kernel.org/stable/c/6e62dab357eea12db0fc62dea94c7a892888e6e8https://git.kernel.org/stable/c/fb197c5d2fd24b9af3d4697d0cf778645846d6d5https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html