summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2026-07-20 18:08:22 +0200
committerMarco Elver <elver@google.com>2026-07-20 18:18:37 +0200
commita8488ecbd7ba44d65b912dfe88a73f438eba2447 (patch)
treef2ce8dc2793642e7c74cba13308b855e0b49faf6 /scripts/Makefile.thinlto
parent1590cf0329716306e948a8fc29f1d3ee87d3989f (diff)
downloadlinux-stable-a8488ecbd7ba44d65b912dfe88a73f438eba2447.tar.gz
linux-stable-a8488ecbd7ba44d65b912dfe88a73f438eba2447.zip
kcsan: avoid unintended access checking in NMIs
If a watcher deliberately disables interrupts (either by user choice, or because we're dealing with a scoped reordered access) to avoid detecting any data races in interrupts, NMIs are still able to fire. When we set up a watchpoint on a scoped reordered access, we disabled interrupts because the same CPU cannot observe reordering of its own accesses. To ensure we observe no false positives from NMIs, disable access checking for interrupt contexts as well. Fixes: 69562e4983d9 ("kcsan: Add core support for a subset of weak memory modeling") Signed-off-by: Marco Elver <elver@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions