Revision f2d7b53c0153f2daa8bc8f1ff29b5a1e03a36458 authored by Alexander Potapenko on 02 November 2022, 10:15:00 UTC, committed by Alexander Potapenko on 02 November 2022, 10:55:06 UTC
There is a case in exc_invalid_op handler that is executed outside the irqentry_enter()/irqentry_exit() region when an UD2 instruction is used to encode a call to __warn(). In that case the `struct pt_regs` passed to the interrupt handler is never unpoisoned by KMSAN (this is normally done in irqentry_enter()), which leads to false positives inside handle_bug(). Use kmsan_unpoison_entry_regs() to explicitly unpoison those registers before using them. Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86@kernel.org Signed-off-by: Alexander Potapenko <glider@google.com>
1 parent 4dbc4d5
File | Mode | Size |
---|---|---|
platform | ||
acbuffer.h | -rw-r--r-- | 8.9 KB |
acconfig.h | -rw-r--r-- | 7.4 KB |
acexcep.h | -rw-r--r-- | 16.9 KB |
acnames.h | -rw-r--r-- | 2.2 KB |
acoutput.h | -rw-r--r-- | 16.4 KB |
acpi.h | -rw-r--r-- | 1.3 KB |
acpi_bus.h | -rw-r--r-- | 22.6 KB |
acpi_drivers.h | -rw-r--r-- | 2.6 KB |
acpi_io.h | -rw-r--r-- | 723 bytes |
acpi_lpat.h | -rw-r--r-- | 1.2 KB |
acpi_numa.h | -rw-r--r-- | 944 bytes |
acpiosxf.h | -rw-r--r-- | 11.3 KB |
acpixf.h | -rw-r--r-- | 30.7 KB |
acrestyp.h | -rw-r--r-- | 19.0 KB |
actbl.h | -rw-r--r-- | 18.3 KB |
actbl1.h | -rw-r--r-- | 43.2 KB |
actbl2.h | -rw-r--r-- | 68.9 KB |
actbl3.h | -rw-r--r-- | 22.0 KB |
actypes.h | -rw-r--r-- | 42.0 KB |
acuuid.h | -rw-r--r-- | 3.4 KB |
apei.h | -rw-r--r-- | 1.4 KB |
battery.h | -rw-r--r-- | 594 bytes |
button.h | -rw-r--r-- | 401 bytes |
cppc_acpi.h | -rw-r--r-- | 4.6 KB |
ghes.h | -rw-r--r-- | 3.6 KB |
hed.h | -rw-r--r-- | 370 bytes |
nfit.h | -rw-r--r-- | 351 bytes |
pcc.h | -rw-r--r-- | 807 bytes |
pdc_intel.h | -rw-r--r-- | 1.0 KB |
processor.h | -rw-r--r-- | 11.8 KB |
reboot.h | -rw-r--r-- | 201 bytes |
video.h | -rw-r--r-- | 2.9 KB |
Computing file changes ...