In the Linux kernel, the following vulnerability has been resolved:riscv: Check if the code to patch lies in the exit sectionOtherwise we fall through to vmalloc_to_page() which panics since the
address does not lie in the vmalloc region.