diff options
author | Alexander Potapenko <[email protected]> | 2022-11-02 12:06:08 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-08 15:57:24 -0800 |
commit | 11385b2612004298ac2fbc9877e73f1410cfd3c0 (patch) | |
tree | 6ebf69f3e37db3ae51e8931c3514aece93ad699e /drivers/fpga/fpga-mgr.c | |
parent | cbadaf71f7cf9e67c073eec673c6c050cecd0ec8 (diff) |
x86/uaccess: instrument copy_from_user_nmi()
Make sure usercopy hooks from linux/instrumented.h are invoked for
copy_from_user_nmi(). This fixes KMSAN false positives reported when
dumping opcodes for a stack trace.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions