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 |
---|---|---|
fse_compress.c | -rw-r--r-- | 22.6 KB |
hist.c | -rw-r--r-- | 6.6 KB |
hist.h | -rw-r--r-- | 3.4 KB |
huf_compress.c | -rw-r--r-- | 37.2 KB |
zstd_compress.c | -rw-r--r-- | 214.7 KB |
zstd_compress_internal.h | -rw-r--r-- | 47.8 KB |
zstd_compress_literals.c | -rw-r--r-- | 6.1 KB |
zstd_compress_literals.h | -rw-r--r-- | 1.2 KB |
zstd_compress_sequences.c | -rw-r--r-- | 19.4 KB |
zstd_compress_sequences.h | -rw-r--r-- | 2.1 KB |
zstd_compress_superblock.c | -rw-r--r-- | 42.5 KB |
zstd_compress_superblock.h | -rw-r--r-- | 1.1 KB |
zstd_cwksp.h | -rw-r--r-- | 16.4 KB |
zstd_double_fast.c | -rw-r--r-- | 24.7 KB |
zstd_double_fast.h | -rw-r--r-- | 1.2 KB |
zstd_fast.c | -rw-r--r-- | 21.8 KB |
zstd_fast.h | -rw-r--r-- | 1.1 KB |
zstd_lazy.c | -rw-r--r-- | 62.1 KB |
zstd_lazy.h | -rw-r--r-- | 3.4 KB |
zstd_ldm.c | -rw-r--r-- | 26.1 KB |
zstd_ldm.h | -rw-r--r-- | 4.2 KB |
zstd_ldm_geartab.h | -rw-r--r-- | 5.8 KB |
zstd_opt.c | -rw-r--r-- | 61.7 KB |
zstd_opt.h | -rw-r--r-- | 1.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...