# CVE-2024-43868: riscv/purgatory: align riscv_kernel_entry

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-08-20T23:50:51.464Z
- Modified: 2026-06-17T07:51:53.347Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 736e30af583fb6e0e2b8211b894ff99dea0f1ee7 before 10ffafb456f293976c42f700578ef740467cb569; from 736e30af583fb6e0e2b8211b894ff99dea0f1ee7 before 6e62dab357eea12db0fc62dea94c7a892888e6e8; from 736e30af583fb6e0e2b8211b894ff99dea0f1ee7 before 5d4aaf16a8255f7c71790e211724ba029609c5ff; from 736e30af583fb6e0e2b8211b894ff99dea0f1ee7 before fb197c5d2fd24b9af3d4697d0cf778645846d6d5; 5.19 (not affected: before 5.19; from 6.1.117 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.10.4 up to 6.10.*; from 6.11 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/10ffafb456f293976c42f700578ef740467cb569> (patch)
- <https://git.kernel.org/stable/c/6e62dab357eea12db0fc62dea94c7a892888e6e8> (patch)
- <https://git.kernel.org/stable/c/5d4aaf16a8255f7c71790e211724ba029609c5ff> (patch)
- <https://git.kernel.org/stable/c/fb197c5d2fd24b9af3d4697d0cf778645846d6d5> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-43868](https://www.cve.org/CVERecord?id=CVE-2024-43868), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43868](https://nvd.nist.gov/vuln/detail/CVE-2024-43868), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43868 · Whole record: https://cve.day/CVE-2024-43868.json · Rebuilt by cve.day 2026-11-25T22:58:44.605Z
