aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-07-22 08:39:54 +0000
committerThomas Gleixner <[email protected]>2020-07-22 21:47:48 +0000
commitd181d2da0141371bbc360eaea78719203e165e1c (patch)
tree4fe696be8b7938abbfa180a0dcef84e3c9616789 /drivers/net/xen-netfront.c
parentx86/stacktrace: Fix reliable check for empty user task stacks (diff)
downloadkernel-d181d2da0141371bbc360eaea78719203e165e1c.tar.gz
kernel-d181d2da0141371bbc360eaea78719203e165e1c.zip
x86/dumpstack: Dump user space code correctly again
H.J. reported that post 5.7 a segfault of a user space task does not longer dump the Code bytes when /proc/sys/debug/exception-trace is enabled. It prints 'Code: Bad RIP value.' instead. This was broken by a recent change which made probe_kernel_read() reject non-kernel addresses. Update show_opcodes() so it retrieves user space opcodes via copy_from_user_nmi(). Fixes: 98a23609b103 ("maccess: always use strict semantics for probe_kernel_read") Reported-by: H.J. Lu <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions