+10
−1
Loading
mainline inclusion from mainline-v6.8-rc1 commit 420370f3ae3d3b883813fd3051a38805160b2b9f category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9Q9F3 CVE: CVE-2023-52677 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=420370f3ae3d3b883813fd3051a38805160b2b9f -------------------------------- Otherwise we fall through to vmalloc_to_page() which panics since the address does not lie in the vmalloc region. Fixes: 043cb41a ("riscv: introduce interfaces to patch kernel code") Signed-off-by:Alexandre Ghiti <alexghiti@rivosinc.com> Reviewed-by:
Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20231214091926.203439-1-alexghiti@rivosinc.com Signed-off-by:
Palmer Dabbelt <palmer@rivosinc.com> Conflicts: arch/riscv/include/asm/sections.h arch/riscv/kernel/patch.c arch/riscv/kernel/vmlinux.lds.S [modify context] Signed-off-by:
Yuntao Liu <liuyuntao12@huawei.com>