Skip to content
Unverified Commit 21855cac authored by Eric Lin's avatar Eric Lin Committed by Palmer Dabbelt
Browse files

riscv/mm: Prevent kernel module to access user memory without uaccess routines



We found this issue in an legacy out-of-tree kernel module
which didn't properly access user space pointer by get/put_user().
Such an illegal access loops in the page fault handler.
To resolve this, let it die here.

Signed-off-by: default avatarEric Lin <tesheng@andestech.com>
Reviewed-by: default avatarPekka Enberg <penberg@kernel.org>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 21733cb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment