What’s Vulnerable › Vulnerabilities
CVE-2024-43868: riscv/purgatory: align riscv_kernel_entry
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-21 · updated 2026-06-17
Description
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 kernel: from 5.19 before 6.1.117; from 6.2 before 6.6.61; from 6.7 before 6.10.4; 6.11-rc1 — fixed in 6.1.117, 6.10.4, 6.6.61
How to fix
Upgrade to a fixed version: Linux kernel 6.1.117, 6.10.4, 6.6.61. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/10ffafb456f293976c42f700578ef740467cb569
- https://git.kernel.org/stable/c/5d4aaf16a8255f7c71790e211724ba029609c5ff
- https://git.kernel.org/stable/c/6e62dab357eea12db0fc62dea94c7a892888e6e8
- https://git.kernel.org/stable/c/fb197c5d2fd24b9af3d4697d0cf778645846d6d5
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Get alerted when CVE-2024-43868 or the next vulnerability affects your stack