https://github.com/google/kmsan

sort by:
Revision Author Date Message Commit Date
3b955a4 usb-fuzzer: main usb gadget fuzzer driver 15 May 2019, 14:47:26 UTC
6bb1574 vhost, kcov: annotate vhost_worker Signed-off-by: Andrey Konovalov <andreyknvl@google.com> 15 May 2019, 14:47:26 UTC
9ac20ab usb, kcov: annotate hub_event Signed-off-by: Andrey Konovalov <andreyknvl@google.com> 15 May 2019, 14:47:26 UTC
0985500 kcov: remote coverage support Signed-off-by: Andrey Konovalov <andreyknvl@google.com> 15 May 2019, 14:47:26 UTC
10c154e Updated example config, NFC 15 May 2019, 14:47:26 UTC
f720641 kmsan: fix metadata_is_contiguous() For n-byte accesses to |addr| we used to check bytes from |addr| to |addr+n|, which sometimes hit unmapped memory. Fix this by subtracting 1 from the size. Also fix some compiler warnings in kmsan.c 15 May 2019, 14:47:26 UTC
de058c3 kmsan: fix warnings in kmsan.h 15 May 2019, 14:47:26 UTC
96e5fdc kmsan: don't enter runtime in kmsan_vmap_page_range_noflush() Turns out one can't flush TLBs with interrupts disabled. 15 May 2019, 14:47:26 UTC
34108a3 kmsan: support for vmap in modules region Let KMSAN vmap shadow and origins for [MODULES_VADDR, MODULES_VADDR+MODULES_LEN) at MODULES_SHADOW_START and MODULES_ORIGIN_START Also, make sure page tables for vmalloc/modules metadata are properly synced on every page fault. 15 May 2019, 14:47:26 UTC
9f503f9 kmsan: minor vmalloc refactoring - don't use metadata offsets explicitly 15 May 2019, 14:47:26 UTC
a4a2793 kmsan: fix comment, NFC 15 May 2019, 14:47:26 UTC
d47766f kmsan: don't unpoison memory in dma_map_sg_attrs() Looks like we don't need to do that anymore. 15 May 2019, 14:47:26 UTC
dff012a fix compilation? 15 May 2019, 14:47:26 UTC
ec82891 kmsan: drop an unnecessary call to kmsan_free_page() It's being already called from kmem_freepages() via __free_pages() 15 May 2019, 14:47:25 UTC
f3aef2f kmsan: use set_no_*_page in kmsan_free_page() 15 May 2019, 14:47:25 UTC
78f3376 kmsan: drop kmsan_prep_pages() 15 May 2019, 14:47:25 UTC
0e6b68a kmsan: use __free_pages() in kmsan_iounmap_page_range() 15 May 2019, 14:47:25 UTC
f3c81db kmsan: more warnings fixed 15 May 2019, 14:47:25 UTC
a4dceeb kmsan: more compile warnings 15 May 2019, 14:47:25 UTC
a2a076e kmsan: fixed more warnings 15 May 2019, 14:47:25 UTC
2a86266 kmsan: more casts 15 May 2019, 14:47:25 UTC
bbdd04d void* for kmsan_set_origin_inline 15 May 2019, 14:47:25 UTC
a25f94e __msan_poison_alloca() should accept void* 15 May 2019, 14:47:25 UTC
8f51fcc kmsan_get_shadow_origin_ptr() should accept void* 15 May 2019, 14:47:25 UTC
c650895 kmsan: fix some cast-related compiler warnings 15 May 2019, 14:47:25 UTC
6f19eb4 kmsan: drop the unneeded parameter of kmsan_report() 15 May 2019, 14:47:25 UTC
ea240e6 kmsan: fix compiler warnings in kmsan_init.c 15 May 2019, 14:47:25 UTC
a846d1b fix compile-time warnings in kmsan-checks.h 15 May 2019, 14:47:25 UTC
2cb9a87 kmsan: fix compile-time warnings in virtio_ring.c 15 May 2019, 14:47:25 UTC
9440edd kmsan: fix compile-time warnings in ioremap.c 15 May 2019, 14:47:25 UTC
be0f477 gup: drop unused variables 15 May 2019, 14:47:24 UTC
2b91e92 kmsan: hide accesses to struct page fields behind macros This is a step towards dropping page->{shadow,origin} 15 May 2019, 14:47:24 UTC
e52bd6d unify with codereview tree. NFC 15 May 2019, 14:47:24 UTC
8487350 kmsan: unify uaccess.h with the codereview tree. NFC 15 May 2019, 14:47:24 UTC
cbbc406 kmsan: uaccess.h: fix variable name conflicts This is a bit silly and straightforward, but we'll be throwing away this version of uaccess.h once Clang supports asm-goto properly. The problem is that nested macros declare variables with the same name, which results in constructs like: __pu_val = (signo); do { __typeof__(*((&infop->si_signo))) __pu_val; __pu_val = __pu_val; } while (0) , leading to false positives. 15 May 2019, 14:47:24 UTC
7d6ff17 kmsan: reinstate declaration of __msan_memcpy() in string_64.h 15 May 2019, 14:47:24 UTC
3788bb2 kmsan: call vmap hooks from vmalloc and ioremap functions 15 May 2019, 14:47:24 UTC
2011a03 kmsan: another attempt to fix vmalloc Turned out that metadata_is_contiguous() never checked vmalloc()-ed memory ranges. Moreover, kmsan_get_metadata_or_null() and kmsan_get_shadow_origin_ptr() used to return pointers to physical pages for such memory ranges, which resulted in shadow and origin being non-contiguous. This led to corrupted metadata in certain cases. The new implementation makes vmalloc area 4 times smaller, so it's now possible to keep shadow and origin pages in the two following quarters of the vmalloc area. The shadow and origin addresses are now calculated by simply adding VMALLOC_SHADOW_OFFSET or VMALLOC_ORIGIN_OFFSET to a vmalloc address. We've implemented vmap() and ioremap() support accordingly, but this patch doesn't enable them, so the kernel may be broken here. 15 May 2019, 14:47:24 UTC
3f1742d stackdepot: make sure a valid stack id is passed to depot_fetch_stack() 15 May 2019, 14:47:24 UTC
af8a77c kmsan: divide vmalloc space by 4 KMSAN may not work correctly at this point 15 May 2019, 14:47:24 UTC
bb4dd42 kmsan: remove hooks from drivers/acpi/osl.c KMSAN may not work properly at this point. 15 May 2019, 14:47:24 UTC
113f839 kmsan: fix an uninit (sic!) in kmsan_memcpy_memmove_metadata() 15 May 2019, 14:47:24 UTC
62f7ba3 kmsan: fixup mm/sl[au]b.[ch] after rebase 15 May 2019, 14:47:24 UTC
89a80e8 kmsan: fixup uaccess.h after rebase We still need to revert: "x86/uaccess: Don't leak the AC flag into __put_user() value evaluation" and "Use __put_user_goto in __put_user_size() and unsafe_put_user()" to build with Clang 15 May 2019, 14:47:24 UTC
8d151ec kmsan: fixup page_64_types.h after rebase 15 May 2019, 14:47:24 UTC
324bf0e kmsan: define __no_sanitize_memory for GCC builds 15 May 2019, 14:47:24 UTC
d17bd4d kmsan: fix a warning in a non-KMSAN build 15 May 2019, 14:47:24 UTC
f3856bf kmsan: bail out of kmsan_internal_check_memory() if size <= 0 15 May 2019, 14:47:24 UTC
ac93418 kmsan: fix defconfig build 15 May 2019, 14:47:23 UTC
88eb5bd kmsan: drop a redundant declaration of kmsan_iounmap() 15 May 2019, 14:47:23 UTC
494ed75 kmsan: drop a conflicting __msan_memcpy() declaration 15 May 2019, 14:47:23 UTC
5d901f2 kmsan: (presumably) fix dma_map_page_attrs() 15 May 2019, 14:47:23 UTC
72b8930 kmsan: fix asm-goto build See https://github.com/ClangBuiltLinux/linux/issues/6 for details 15 May 2019, 14:47:23 UTC
faf565d Revert "x86 uaccess: Introduce __put_user_goto" This reverts commit 4a789213c9a54c8b618924d3421e56e98df8a447. 15 May 2019, 14:47:23 UTC
57efaab Revert "Use __put_user_goto in __put_user_size() and unsafe_put_user()" This reverts commit a959dc88f9c8900296ccf13e2f3e1cbc555a8917. 15 May 2019, 14:47:23 UTC
6ef69d4 kmsan: don't unpoison pt_regs before KMSAN starts 15 May 2019, 14:47:23 UTC
c2d5ee3 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. 15 May 2019, 14:47:23 UTC
47b2b1f 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. 15 May 2019, 14:47:23 UTC
224c019 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) 15 May 2019, 14:47:23 UTC
00b7de4 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. 15 May 2019, 14:47:23 UTC
def2302 kmsan: simplify metadata_is_contiguous() 15 May 2019, 14:47:23 UTC
fa103d4 kmsan: remove pr_err 15 May 2019, 14:47:23 UTC
3299c5c init: use kmsan_initialize() and kmsan_initialize_shadow() 15 May 2019, 14:47:23 UTC
1438a2e 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. 15 May 2019, 14:47:23 UTC
9e746f9 kmsan: declare _nosanitize versions of memory functions 15 May 2019, 14:47:23 UTC
e06dcd2 Fix comment style, NFC 15 May 2019, 14:47:22 UTC
a80affe kmsan: highmem: use kmsan_clear_page() in copy_user_highpage() We don't need to copy anything because there're no source shadow pages 15 May 2019, 14:47:22 UTC
f22b82b kmsan: drop kmsan_clear_user_page() User pages don't have shadow. 15 May 2019, 14:47:22 UTC
577fc00 highmem: don't call kmsan_clear_user_page() This function just doesn't make sense, user pages don't have shadow. 15 May 2019, 14:47:22 UTC
b9514a7 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. 15 May 2019, 14:47:22 UTC
32af875 kmsan: make the check in LEAVE_RUNTIME() more verbose hope this will help debug syzbot failures 15 May 2019, 14:47:22 UTC
c0b4606 kmsan: drop our implementation of is_logbuf_locked() 15 May 2019, 14:47:22 UTC
bf793cf printk: add is_logbuf_locked() 15 May 2019, 14:47:22 UTC
295d7c8 Revert "kmsan: stop using is_logbuf_locked()" This reverts commit 802bab94b0437f482f990fdab0fc525e03bbf382. Spurious crashes in LEAVE_RUNTIME started showing up on syzbot 15 May 2019, 14:47:22 UTC
b287755 Revert "kmsan: printk: remove logbuf_lock_is_locked" This reverts commit 7b8a9a55ee5671fd26c5ab9ab27277e7e1c12af0. 15 May 2019, 14:47:22 UTC
bb9ed85 kmsan: fix a comment to trigger build. NFC 15 May 2019, 14:47:22 UTC
c0efcc3 kmsan: page_alloc: remove unnecessary kmsan_unpoison_shadow() These calls were left over from the times when we didn't instrument page_alloc.c 15 May 2019, 14:47:22 UTC
6b8d10a kmsan: page_alloc: kmsan_alloc_page() may return different errors 15 May 2019, 14:47:22 UTC
5ee3056 kmsan: mm: gup: use kmsan_gup_pgd_range() 15 May 2019, 14:47:22 UTC
3672f61 kmsan: add kmsan_gup_pgd_range() 15 May 2019, 14:47:22 UTC
350de9d kmsan: drop a comment from clear_user_highpage() 15 May 2019, 14:47:22 UTC
fbbb89b kmsan: s/kmsan_acpi_/kmsan_io/ 15 May 2019, 14:47:22 UTC
78ce1ec kmsan: skb: fix comment 15 May 2019, 14:47:21 UTC
248046e kmsan: skb: minor fixes 15 May 2019, 14:47:21 UTC
021255d kmsan: virtio: fix comments 15 May 2019, 14:47:21 UTC
43dc532 kmsan: printk: remove logbuf_lock_is_locked 15 May 2019, 14:47:21 UTC
f914773 kmsan: stop using is_logbuf_locked() Looks like is_console_locked() is enough to avoid deadlocks. 15 May 2019, 14:47:21 UTC
5647c35 kmsan: drop kmsan_vprintk_func() declaration 15 May 2019, 14:47:21 UTC
dd28ecd kmsan: docs: don't mention metadata flags, which were removed 15 May 2019, 14:47:21 UTC
f73af53 kmsan: cleanup test_kmsan.c 15 May 2019, 14:47:21 UTC
ded38e1 kmsan: move checks in kmsan_memcpy_memmove_metadata() around 15 May 2019, 14:47:21 UTC
4fdafc7 kmsan: fix comment style in kmsan.c, minor nits 15 May 2019, 14:47:21 UTC
5c32f51 kmsan: fix -Wunused warnings 15 May 2019, 14:47:21 UTC
e95a122 kmsan: fix some review comments 15 May 2019, 14:47:21 UTC
e416178 kmsan: drop KMSAN_CHAIN_MAGIC_ORIGIN_FRAME (which was unused) 15 May 2019, 14:47:21 UTC
e359067 kmsan: drop runtime check for CONFIG_VMAP_STACK It's not necessary, as it's not compatible with CONFIG_KMSAN 15 May 2019, 14:47:21 UTC
92de8dc kmsan: simplify is_module_addr() 15 May 2019, 14:47:21 UTC
90dde8e kmsan: use min() where possible, drop min_num() 15 May 2019, 14:47:21 UTC
d899ea0 kmsan: use ORIGIN_SIZE instead of magic constants 15 May 2019, 14:47:21 UTC
e69494f kmsan: use one dummy page for loads and one for stores No need to distinguish between origins and shadows 15 May 2019, 14:47:20 UTC
back to top