[PATCH 5.15 250/356] riscv: fix overlap of allocated page and PTR_ERR