summaryrefslogtreecommitdiff
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-09-08 10:57:08 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-09-20 23:32:49 +0300
commitdf04abfd181acc276ba6762c8206891ae10ae00d (patch)
tree03afe92ae5ef3e51035ab871e0b29742d11eb0d1 /include/linux/pagemap.h
parentf5beeb1851ea6f8cfcf2657f26cb24c0582b4945 (diff)
downloadlinux-df04abfd181acc276ba6762c8206891ae10ae00d.tar.xz
fs/proc/kcore.c: Add bounce buffer for ktext data
We hit hardened usercopy feature check for kernel text access by reading kcore file: usercopy: kernel memory exposure attempt detected from ffffffff8179a01f (<kernel text>) (4065 bytes) kernel BUG at mm/usercopy.c:75! Bypassing this check for kcore by adding bounce buffer for ktext data. Reported-by: Steve Best <sbest@redhat.com> Fixes: f5509cc18daa ("mm: Hardened usercopy") Suggested-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pagemap.h')
0 files changed, 0 insertions, 0 deletions