Memory Management Flaw in Linux Kernel Affecting RISC-V Architecture
CVE-2026-80688
What is CVE-2026-80688?
A memory management issue in the Linux kernel's RISC-V implementation arises from an improper handling of the vec_check_unaligned_access_speed_all_cpus function. This function executes within a kernel thread (kthread), which may not complete before the system finishes booting and the free_initmem() function unmaps the memory section containing the initialized text. Consequently, if the probing for unaligned access speed is delayed—potentially due to debug prints added to the system's SBI (Supervisor Binary Interface)—the kthread may still be active when the system accesses freed memory, resulting in instruction page faults. This flaw emphasizes the need for careful memory management in kernel development.
Affected Version(s)
Linux a00e022be5315c5a1f47521a1cc6d3b71c8e9c44 < 01bd01b61ad9ea917e5629a7f14f57a8af0543bb
Linux a00e022be5315c5a1f47521a1cc6d3b71c8e9c44 < 25f228e6ac573884a3d7078cc2b3312b8db59eea
Linux a00e022be5315c5a1f47521a1cc6d3b71c8e9c44