summaryrefslogtreecommitdiff
path: root/arch/xtensa/lib/pci-auto.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-02-07 15:57:58 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2021-03-29 21:25:11 +0300
commit7b9acbb6aad4f54623dcd4bd4b1a60fe0c727b09 (patch)
tree370431fbaa75e42e1c97d2dec184de46005ddd9b /arch/xtensa/lib/pci-auto.c
parentab5eb336411f18fd449a1fb37d36a55ec422603f (diff)
downloadlinux-7b9acbb6aad4f54623dcd4bd4b1a60fe0c727b09.tar.xz
xtensa: fix uaccess-related livelock in do_page_fault
If a uaccess (e.g. get_user()) triggers a fault and there's a fault signal pending, the handler will return to the uaccess without having performed a uaccess fault fixup, and so the CPU will immediately execute the uaccess instruction again, whereupon it will livelock bouncing between that instruction and the fault handler. https://lore.kernel.org/lkml/20210121123140.GD48431@C02TD0UTHF1T.local/ Cc: stable@vger.kernel.org Reported-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/lib/pci-auto.c')
0 files changed, 0 insertions, 0 deletions