Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: Suppress KMSAN reports in arch_within_stack_frames()
arch_within_stack_frames() performs stack walking and may confuse KMSAN by stepping on stale shadow values. To prevent false positive reports, disable KMSAN checks in this function. This fixes KMSAN's interoperability with CONFIG_HARDENED_USERCOPY. Signed-off-by: Alexander Potapenko <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Tested-by: Eric Biggers <[email protected]> Link: google/kmsan#89 Link: https://lore.kernel.org/lkml/[email protected]/ Link: https://lore.kernel.org/all/20221118172305.3321253-1-glider%40google.com
- Loading branch information