diff options
author | 2020-12-04 13:42:59 +0800 | |
---|---|---|
committer | 2021-01-07 17:19:19 -0800 | |
commit | 21855cac82d3264aa660deafa9c26b8eef548b7a (patch) | |
tree | 394a5c31efdb214467a3988bb9292cd46ff69b36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | riscv/mm: Introduce a die_kernel_fault() helper function (diff) | |
download | wireguard-linux-21855cac82d3264aa660deafa9c26b8eef548b7a.tar.xz wireguard-linux-21855cac82d3264aa660deafa9c26b8eef548b7a.zip |
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: Eric Lin <tesheng@andestech.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions