02f2d5a | Alexander Potapenko | 10 January 2019, 13:03:00 UTC | kmsan: (presumably) fix dma_map_page_attrs() | 10 January 2019, 13:03:00 UTC |
ad802ec | Alexander Potapenko | 10 January 2019, 12:47:32 UTC | kmsan: fix asm-goto build See https://github.com/ClangBuiltLinux/linux/issues/6 for details | 10 January 2019, 12:47:32 UTC |
fa2048b | Alexander Potapenko | 10 January 2019, 12:36:32 UTC | Revert "x86 uaccess: Introduce __put_user_goto" This reverts commit 4a789213c9a54c8b618924d3421e56e98df8a447. | 10 January 2019, 12:36:32 UTC |
05ae42d | Alexander Potapenko | 10 January 2019, 12:35:31 UTC | Revert "Use __put_user_goto in __put_user_size() and unsafe_put_user()" This reverts commit a959dc88f9c8900296ccf13e2f3e1cbc555a8917. | 10 January 2019, 12:35:31 UTC |
d169234 | Alexander Potapenko | 04 January 2019, 09:54:02 UTC | kmsan: don't unpoison pt_regs before KMSAN starts | 10 January 2019, 12:24:31 UTC |
4e6fffb | Alexander Potapenko | 09 January 2019, 17:39:16 UTC | kmsan: reimplement metadata_is_contiguous() and memcpy/memmove impl Make sure metadata_is_contiguous() really checks for metadata pages being contiguous. Rewrite kmsan_memcpy_memmove_metadata() assuming the metadata is always contiguous. | 10 January 2019, 12:24:31 UTC |
298053f | Alexander Potapenko | 09 January 2019, 17:33:39 UTC | block: kmsan: don't merge physical pages in scatterlists We're trying to move away from non-consequent metadata, and merged physical pages break the assumption that memory accesses may only touch consequent metadata ranges. | 10 January 2019, 12:24:31 UTC |
32736fb | Alexander Potapenko | 07 January 2019, 09:49:38 UTC | kmsan: fix a minor nit, NFC kmsan_get_metadata_or_null() was incorrectly called for origin instead of shadow. Fortunately we didn't use the result except for checking it for being NULL (which doesn't differ for shadow and origin) | 10 January 2019, 12:24:31 UTC |
13f1d11 | Alexander Potapenko | 04 January 2019, 13:36:28 UTC | kmsan: BUG_ON(!metadata_is_contiguous()) Now that every metadata range is allocated contiguous, non-contiguous accesses can only happen in the case of an error. | 10 January 2019, 12:24:31 UTC |
e0406e3 | Alexander Potapenko | 04 January 2019, 13:24:26 UTC | kmsan: simplify metadata_is_contiguous() | 10 January 2019, 12:24:31 UTC |
379bafd | Alexander Potapenko | 04 January 2019, 13:18:01 UTC | kmsan: remove pr_err | 10 January 2019, 12:24:31 UTC |
613e266 | Alexander Potapenko | 04 January 2019, 13:02:04 UTC | init: use kmsan_initialize() and kmsan_initialize_shadow() | 10 January 2019, 12:24:31 UTC |
1cbeb92 | Alexander Potapenko | 04 January 2019, 12:59:43 UTC | kmsan: improve init Split kmsan_initialize_shadow() into two parts: - kmsan_initialize_shadow() that's called from mm_init() and allocates shadow for memblock regions and kernel .data using the memblock allocator itself; - kmsan_initialize() that just sets up the init task and turns KMSAN on. | 10 January 2019, 12:24:31 UTC |
dab3e1b | Alexander Potapenko | 31 December 2018, 11:27:25 UTC | kmsan: declare _nosanitize versions of memory functions | 10 January 2019, 12:24:31 UTC |
f38a116 | Alexander Potapenko | 30 December 2018, 13:11:43 UTC | Fix comment style, NFC | 10 January 2019, 12:24:31 UTC |
c9c32ba | Alexander Potapenko | 24 December 2018, 13:11:59 UTC | kmsan: highmem: use kmsan_clear_page() in copy_user_highpage() We don't need to copy anything because there're no source shadow pages | 10 January 2019, 12:24:31 UTC |
1531478 | Alexander Potapenko | 24 December 2018, 12:58:26 UTC | kmsan: drop kmsan_clear_user_page() User pages don't have shadow. | 10 January 2019, 12:24:30 UTC |
e7bfcd3 | Alexander Potapenko | 24 December 2018, 12:57:34 UTC | highmem: don't call kmsan_clear_user_page() This function just doesn't make sense, user pages don't have shadow. | 10 January 2019, 12:24:30 UTC |
170abe1 | Alexander Potapenko | 24 December 2018, 10:56:27 UTC | kmsan: use per-cpu variable for runtime reentrancy counter Storing in_runtime in task_struct may lead to errors when accessing it from interrupts or scheduler code. Because interrupts are disabled between ENTER_RUNTIME/LEAVE_RUNTIME, keeping one counter per CPU should be enough. | 10 January 2019, 12:24:30 UTC |
d38550f | Alexander Potapenko | 21 December 2018, 16:15:32 UTC | kmsan: make the check in LEAVE_RUNTIME() more verbose hope this will help debug syzbot failures | 10 January 2019, 12:24:30 UTC |
dc8c53c | Alexander Potapenko | 21 December 2018, 10:51:12 UTC | kmsan: drop our implementation of is_logbuf_locked() | 10 January 2019, 12:24:30 UTC |
3b41cc8 | Alexander Potapenko | 21 December 2018, 10:50:24 UTC | printk: add is_logbuf_locked() | 10 January 2019, 12:24:30 UTC |
df2f2df | Alexander Potapenko | 21 December 2018, 09:48:00 UTC | Revert "kmsan: stop using is_logbuf_locked()" This reverts commit 802bab94b0437f482f990fdab0fc525e03bbf382. Spurious crashes in LEAVE_RUNTIME started showing up on syzbot | 10 January 2019, 12:24:30 UTC |
918b885 | Alexander Potapenko | 21 December 2018, 09:47:51 UTC | Revert "kmsan: printk: remove logbuf_lock_is_locked" This reverts commit 7b8a9a55ee5671fd26c5ab9ab27277e7e1c12af0. | 10 January 2019, 12:24:30 UTC |
1cacce4 | Alexander Potapenko | 20 December 2018, 16:58:48 UTC | kmsan: fix a comment to trigger build. NFC | 10 January 2019, 12:24:30 UTC |
4159906 | Alexander Potapenko | 20 December 2018, 15:35:29 UTC | kmsan: page_alloc: remove unnecessary kmsan_unpoison_shadow() These calls were left over from the times when we didn't instrument page_alloc.c | 10 January 2019, 12:24:30 UTC |
4c8e422 | Alexander Potapenko | 20 December 2018, 15:22:33 UTC | kmsan: page_alloc: kmsan_alloc_page() may return different errors | 10 January 2019, 12:24:30 UTC |
e99905b | Alexander Potapenko | 20 December 2018, 15:17:45 UTC | kmsan: mm: gup: use kmsan_gup_pgd_range() | 10 January 2019, 12:24:30 UTC |
26d7d97 | Alexander Potapenko | 20 December 2018, 15:17:02 UTC | kmsan: add kmsan_gup_pgd_range() | 10 January 2019, 12:24:30 UTC |
070220f | Alexander Potapenko | 20 December 2018, 14:47:28 UTC | kmsan: drop a comment from clear_user_highpage() | 10 January 2019, 12:24:29 UTC |
d28bcb4 | Alexander Potapenko | 20 December 2018, 14:41:11 UTC | kmsan: s/kmsan_acpi_/kmsan_io/ | 10 January 2019, 12:24:29 UTC |
341f5b8 | Alexander Potapenko | 20 December 2018, 13:54:10 UTC | kmsan: skb: fix comment | 10 January 2019, 12:24:29 UTC |
05ddeb1 | Alexander Potapenko | 20 December 2018, 13:43:33 UTC | kmsan: skb: minor fixes | 10 January 2019, 12:24:29 UTC |
11d37de | Alexander Potapenko | 20 December 2018, 13:42:24 UTC | kmsan: virtio: fix comments | 10 January 2019, 12:24:29 UTC |
9440447 | Alexander Potapenko | 20 December 2018, 13:00:58 UTC | kmsan: printk: remove logbuf_lock_is_locked | 10 January 2019, 12:24:29 UTC |
d3cfe9c | Alexander Potapenko | 20 December 2018, 13:00:17 UTC | kmsan: stop using is_logbuf_locked() Looks like is_console_locked() is enough to avoid deadlocks. | 10 January 2019, 12:24:29 UTC |
9686737 | Alexander Potapenko | 20 December 2018, 12:03:33 UTC | kmsan: drop kmsan_vprintk_func() declaration | 10 January 2019, 12:24:29 UTC |
0e41866 | Alexander Potapenko | 20 December 2018, 12:00:35 UTC | kmsan: docs: don't mention metadata flags, which were removed | 10 January 2019, 12:24:29 UTC |
35c03fb | Alexander Potapenko | 20 December 2018, 11:57:46 UTC | kmsan: cleanup test_kmsan.c | 10 January 2019, 12:24:29 UTC |
11aa13d | Alexander Potapenko | 20 December 2018, 11:48:41 UTC | kmsan: move checks in kmsan_memcpy_memmove_metadata() around | 10 January 2019, 12:24:29 UTC |
08285db | Alexander Potapenko | 19 December 2018, 16:33:11 UTC | kmsan: fix comment style in kmsan.c, minor nits | 10 January 2019, 12:24:29 UTC |
232b278 | Alexander Potapenko | 19 December 2018, 16:16:01 UTC | kmsan: fix -Wunused warnings | 10 January 2019, 12:24:29 UTC |
7bfc359 | Alexander Potapenko | 19 December 2018, 15:51:46 UTC | kmsan: fix some review comments | 10 January 2019, 12:24:29 UTC |
f64cba7 | Alexander Potapenko | 19 December 2018, 15:44:56 UTC | kmsan: drop KMSAN_CHAIN_MAGIC_ORIGIN_FRAME (which was unused) | 10 January 2019, 12:24:28 UTC |
beac792 | Alexander Potapenko | 19 December 2018, 15:36:06 UTC | kmsan: drop runtime check for CONFIG_VMAP_STACK It's not necessary, as it's not compatible with CONFIG_KMSAN | 10 January 2019, 12:24:28 UTC |
287cc7f | Alexander Potapenko | 19 December 2018, 15:31:00 UTC | kmsan: simplify is_module_addr() | 10 January 2019, 12:24:28 UTC |
b89d10a | Alexander Potapenko | 19 December 2018, 15:29:06 UTC | kmsan: use min() where possible, drop min_num() | 10 January 2019, 12:24:28 UTC |
e8e6516 | Alexander Potapenko | 19 December 2018, 15:24:03 UTC | kmsan: use ORIGIN_SIZE instead of magic constants | 10 January 2019, 12:24:28 UTC |
73ee19d | Alexander Potapenko | 19 December 2018, 15:14:26 UTC | kmsan: use one dummy page for loads and one for stores No need to distinguish between origins and shadows | 10 January 2019, 12:24:28 UTC |
ecc6f7f | Alexander Potapenko | 19 December 2018, 15:09:54 UTC | kmsan: minor changes to kmsan_get_shadow_origin_ptr() - no need to export kmsan_get_shadow_origin_ptr() - in the case size is too big, crash immediately instead of deferring to instrumented code | 10 January 2019, 12:24:28 UTC |
09e8d5a | Alexander Potapenko | 19 December 2018, 15:07:17 UTC | kmsan: more kmsan_ready checks removed from kmsan.c | 10 January 2019, 12:24:28 UTC |
ef1dcf5 | Alexander Potapenko | 19 December 2018, 14:56:10 UTC | kmsan: move kmsan_[un]poison_shadow() to kmsan_hooks.c | 10 January 2019, 12:24:28 UTC |
34a7ede | Alexander Potapenko | 19 December 2018, 14:50:22 UTC | kmsan: move kmsan_clear_page(), kmsan_clear_user_page() to kmsan_hooks.c | 10 January 2019, 12:24:28 UTC |
d953f01 | Alexander Potapenko | 19 December 2018, 14:35:04 UTC | kmsan: remove some kmsan_ready checks | 10 January 2019, 12:24:28 UTC |
c18894f | Alexander Potapenko | 18 December 2018, 15:33:00 UTC | kmsan: re-enable kmsan_acpi_unmap() For some reason it was short-circuited | 10 January 2019, 12:24:28 UTC |
c9cf8d2 | Alexander Potapenko | 18 December 2018, 15:28:00 UTC | kmsan: fix comments, consolidate checks in kmsan_hooks.c | 10 January 2019, 12:24:28 UTC |
4bd3243 | Alexander Potapenko | 18 December 2018, 15:14:12 UTC | kmsan: fix comments, consolidate checks in kmsan_instr.c | 10 January 2019, 12:24:28 UTC |
5cfa4a0 | Alexander Potapenko | 13 December 2018, 17:59:14 UTC | kmsan: random: another take at unpoisoning CRNG state earlier This will save us some origins | 10 January 2019, 12:24:27 UTC |
9bd38db | Alexander Potapenko | 13 December 2018, 17:52:14 UTC | kmsan: vmalloc: drop is_kmsan_tracked | 10 January 2019, 12:24:27 UTC |
0819e56 | Alexander Potapenko | 13 December 2018, 17:51:54 UTC | kmsan: don't use is_kmsan_tracked | 10 January 2019, 12:24:27 UTC |
b72f385 | Alexander Potapenko | 13 December 2018, 17:45:21 UTC | kmsan: drop is_kmsan_tracked_page | 10 January 2019, 12:24:27 UTC |
ecc8527 | Alexander Potapenko | 13 December 2018, 17:45:05 UTC | kmsan: don't use is_kmsan_tracked_page in runtime | 10 January 2019, 12:24:27 UTC |
8f3325a | Alexander Potapenko | 13 December 2018, 17:44:34 UTC | kmsan: don't use is_kmsan_tracked_page in mm/compaction.c | 10 January 2019, 12:24:27 UTC |
b26bea9 | Alexander Potapenko | 13 December 2018, 16:35:39 UTC | kmsan: net: 9p: move unpoisoning earlier | 10 January 2019, 12:24:27 UTC |
e43a8d4 | Alexander Potapenko | 13 December 2018, 17:32:04 UTC | Revert "kmsan: random: unpoison CRNG state earlier" This reverts commit 88e11d8562af8d51d8d96537ea3f3e20d1dd73b4. | 10 January 2019, 12:24:27 UTC |
2f884b9 | Alexander Potapenko | 13 December 2018, 15:49:40 UTC | Revert "kmsan: suppress (true) reports on self-XORed BPF registers" This reverts commit 22f4bcbe1e59756db1c186e42391559402baaa94. | 10 January 2019, 12:24:27 UTC |
3a18c03 | Alexander Potapenko | 13 December 2018, 15:39:26 UTC | kmsan: random: unpoison CRNG state earlier Let's save some origins by not copying around uninits. | 10 January 2019, 12:24:27 UTC |
80856a1 | Alexander Potapenko | 13 December 2018, 13:13:40 UTC | random: kmsan: add #include | 10 January 2019, 12:24:27 UTC |
ecd0f6a | Alexander Potapenko | 13 December 2018, 12:49:40 UTC | kmsan: arch: use size_t instead of u64 | 10 January 2019, 12:24:27 UTC |
403efb6 | Alexander Potapenko | 13 December 2018, 12:40:49 UTC | kmsan: block: use SECTOR_SIZE instead of a magic constant | 10 January 2019, 12:24:27 UTC |
cb193d6 | Alexander Potapenko | 13 December 2018, 12:31:42 UTC | block: fix comment style | 10 January 2019, 12:24:27 UTC |
04ef487 | Alexander Potapenko | 13 December 2018, 11:28:44 UTC | kmsan: kcov: remove KMSAN_CHECK_ATOMIC_PARAMS from kcov.c It's not needed now that we don't add KMSAN hooks for atomics | 10 January 2019, 12:24:26 UTC |
689a689 | Alexander Potapenko | 13 December 2018, 10:41:33 UTC | kmsan: bpf: fix comment style | 10 January 2019, 12:24:26 UTC |
549cdd7 | Alexander Potapenko | 11 December 2018, 15:41:55 UTC | kmsan: revert atomic hooks LLVM compiler instrumentation should be enough | 10 January 2019, 12:24:26 UTC |
905ac63 | Alexander Potapenko | 07 December 2018, 16:43:52 UTC | kmsan: remove excessive KMSAN wrappers from atomic-instrumented.h KMSAN compiler instrumentation should be taking care of unpoisoning the outputs. | 10 January 2019, 12:24:26 UTC |
27f7a3d | Alexander Potapenko | 07 December 2018, 16:43:07 UTC | kmsan: change kmsan_[un]poison_shadow() to accept const volatile void* | 10 January 2019, 12:24:26 UTC |
d414d73 | Alexander Potapenko | 07 December 2018, 14:02:41 UTC | kmsan: fixed ReST documentation | 10 January 2019, 12:24:26 UTC |
5f4d081 | Alexander Potapenko | 07 December 2018, 12:52:04 UTC | csum: also enable CONFIG_GENERIC_CSUM for KASAN | 10 January 2019, 12:24:26 UTC |
333e2b5 | Alexander Potapenko | 07 December 2018, 11:46:01 UTC | kmsan: traps.c: fix comments | 10 January 2019, 12:24:26 UTC |
c891f76 | Alexander Potapenko | 07 December 2018, 12:05:55 UTC | kmsan: revert changes to syscalls.h | 10 January 2019, 12:24:26 UTC |
22b0858 | Alexander Potapenko | 07 December 2018, 11:59:10 UTC | kmsan: revert changes to fault.c | 10 January 2019, 12:24:26 UTC |
d727d12 | Alexander Potapenko | 07 December 2018, 11:47:43 UTC | kmsan: use the correct header in uprobes.c | 10 January 2019, 12:24:26 UTC |
e20de11 | Alexander Potapenko | 07 December 2018, 11:31:40 UTC | kmsan: revert changes to arch/x86/kernel/irq.c | 10 January 2019, 12:24:26 UTC |
ecd365f | Alexander Potapenko | 07 December 2018, 11:31:17 UTC | kmsan: remove the header from arch/x86/kernel/traps.c | 10 January 2019, 12:24:26 UTC |
ef1be28 | Alexander Potapenko | 07 December 2018, 11:18:06 UTC | kmsan: sched.h: replace spaces with tabs | 10 January 2019, 12:24:26 UTC |
239ce19 | Alexander Potapenko | 07 December 2018, 11:13:29 UTC | kmsan: serial: remove the unneeded attribute disabling KASAN | 10 January 2019, 12:24:26 UTC |
f659565 | Alexander Potapenko | 06 December 2018, 17:38:22 UTC | kmsan: use KMSAN_INIT_VALUE() in READ_ONCE_TASK_STACK() | 10 January 2019, 12:24:25 UTC |
9ec4cdf | Alexander Potapenko | 06 December 2018, 16:27:11 UTC | kmsan: add __no_sanitize_memory for non-Clang builds | 10 January 2019, 12:24:25 UTC |
834f0d2 | Alexander Potapenko | 06 December 2018, 14:47:39 UTC | kmsan: actually revert KMSAN changes to arch/x86/mm/init.c | 10 January 2019, 12:16:43 UTC |
6480c3e | Alexander Potapenko | 06 December 2018, 13:53:40 UTC | kmsan: make kmsan_record_future_shadow_range() static | 10 January 2019, 12:16:43 UTC |
5bdbcd9 | Alexander Potapenko | 06 December 2018, 13:49:43 UTC | kmsan: remove the remaining call to kmsan_record_future_shadow_range() | 10 January 2019, 12:16:43 UTC |
964081a | Alexander Potapenko | 06 December 2018, 13:02:47 UTC | memblock: drop the call to kmsan_record_future_shadow_range() Memory ranges are now handled automatically by KMSAN initialization code. | 10 January 2019, 12:16:42 UTC |
a17aa8e | Alexander Potapenko | 06 December 2018, 12:59:20 UTC | kmsan: use memblock API to obtain boot memory shadow ranges | 10 January 2019, 12:16:04 UTC |
f11a1ed | Alexander Potapenko | 06 December 2018, 12:42:38 UTC | kmsan: drop kmsan_vprintk_func() | 10 January 2019, 12:16:04 UTC |
b73b95e | Alexander Potapenko | 06 December 2018, 12:41:48 UTC | kmsan: printk: drop the call to kmsan_vprintk_func() | 10 January 2019, 12:16:04 UTC |
841486b | Alexander Potapenko | 06 December 2018, 11:05:07 UTC | setup_percpu: don't call kmsan_record_future_shadow_range() memblock allocator already takes care of it. | 10 January 2019, 12:16:04 UTC |
83f868a | Alexander Potapenko | 06 December 2018, 10:59:24 UTC | kmsan_init.c: fix comments, add more checks | 10 January 2019, 12:16:04 UTC |
fef215a | Alexander Potapenko | 06 December 2018, 10:14:02 UTC | kmsan: slub: use KMSAN_INIT_VALUE() instead of INIT_PTR() | 10 January 2019, 12:16:04 UTC |
2ab41b1 | Alexander Potapenko | 06 December 2018, 10:12:46 UTC | kmsan: use KMSAN_INIT_VALUE to instrument atomics | 10 January 2019, 12:16:04 UTC |
3fdf25f | Alexander Potapenko | 06 December 2018, 10:11:34 UTC | kmsan: replace INIT_xxx() with KMSAN_INIT_VALUE() This change breaks the users of INIT_xxx(). | 10 January 2019, 12:16:03 UTC |