2022-10-13 |
Andrey Konovalov | kasan: fix array-bounds warnings in tests Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: better invalid/double-free report header Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: move tests to mm/kasan/ Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: add another use-after-free test Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: better identify bug types for tag-based modes Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: dynamically allocate stack ring entries Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: support kasan.stacktrace for SW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: implement stack ring for tag-based modes Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce kasan_complete_mode_report_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: rework function arguments in report.c Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: fill in cache and object in complete_report_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce complete_report_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: simplify print_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: make kasan_addr_to_page static Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: use kasan_addr_to_slab in print_address_description Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: use virt_addr_valid in kasan_addr_to_page/slab Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: cosmetic changes in report.c Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: move kasan_get_alloc/free_track definitions Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: pass tagged pointers to kasan_save_alloc/free_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: only define kasan_cache_create for Generic mode Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: only define metadata structs for Generic mode Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: only define metadata offsets for Generic mode Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: only define kasan_never_merge for Generic mode Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: only define kasan_metadata_size for Generic... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: drop CONFIG_KASAN_GENERIC check from kasan_init_cache... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce kasan_init_cache_meta Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce kasan_requires_meta Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: move kasan_get_*_meta to generic.c Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: clear metadata functions for tag-based modes Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce kasan_init_object_meta Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce kasan_get_alloc_track Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: introduce kasan_print_aux_stacks Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: drop CONFIG_KASAN_TAGS_IDENTIFY Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: split save_alloc_info implementations Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: move is_kmalloc check out of save_alloc_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: rename kasan_set_*_info to kasan_save_*_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-10-03 |
Andrey Konovalov | kasan: check KASAN_NO_FREE_META in __kasan_metadata_size Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-07-04 |
Andrey Konovalov | kasan: fix zeroing vmalloc memory with HW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-07-04 |
Andrey Konovalov | mm: introduce clear_highpage_kasan_tagged Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-07-04 |
Andrey Konovalov | mm: rename kernel_init_free_pages to kernel_init_pages Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-07-03 |
Andrey Konovalov | arm64: dts: qcom: qcs404: fix default pinctrl settings... Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
|
commit | commitdiff | tree |
2022-06-23 |
Andrey Konovalov | arm64: stacktrace: use non-atomic __set_bit Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-06-23 |
Andrey Konovalov | arm64: kasan: do not instrument stacktrace.c Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-13 |
Andrey Konovalov | kasan: clean-up kconfig options descriptions Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-13 |
Andrey Konovalov | kasan: move boot parameters section in documentation Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-13 |
Andrey Konovalov | kasan: update documentation Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-13 |
Andrey Konovalov | kasan: give better names to shadow values Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-13 |
Andrey Konovalov | kasan: use tabs to align shadow values Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-13 |
Andrey Konovalov | kasan: clean up comments in internal kasan.h Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-02 |
Andrey Konovalov | mm: slab: fix comment for __assume_kmalloc_alignment Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-05-02 |
Andrey Konovalov | mm: slab: fix comment for ARCH_KMALLOC_MINALIGN Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-04-29 |
Andrey Konovalov | kasan: mark KASAN_VMALLOC flags as kasan_vmalloc_flags_t Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com>
|
commit | commitdiff | tree |
2022-04-01 |
Andrey Konovalov | mm, kasan: fix __GFP_BITS_SHIFT definition breaking... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: disable LOCKDEP when printing reports Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: move and hide kasan_save_enable/restore_multi_shot Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: reorder reporting functions Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: respect KASAN_BIT_REPORTED in all reporting... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: add comment about UACCESS regions to kasan_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: rename kasan_access_info to kasan_report_info Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: move and simplify kasan_report_async Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: call print_report from kasan_report_invalid_free Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: merge __kasan_report into kasan_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: restructure kasan_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: simplify kasan_find_first_bad_addr call sites Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: split out print_report from __kasan_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: move disable_trace_on_warning to start_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: move update_kunit_status to start_report Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: check CONFIG_KASAN_KUNIT_TEST instead of CONFIG_KUNIT Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: simplify kasan_update_kunit_status() and call... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: simplify async check in end_report() Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: print basic stack frame info for SW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: improve stack frame info in reports Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: rearrange stack frame info in reports Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: more line breaks in reports Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: drop addr check from describe_object_addr Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: print virtual mapping info in reports Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: test: support async (again) and asymm modes... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: improve vmalloc tests Cc: Andrey Konovalov <andreyknvl@gmail.com> Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: documentation updates Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | arm64: select KASAN_VMALLOC for SW/HW_TAGS modes Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: allow enabling KASAN_VMALLOC and SW/HW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: add kasan.vmalloc command line flag Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: clean up feature flags for HW_TAGS mode Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: mark kasan_arg_stacktrace as __initdata Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, arm64: don't tag executable vmalloc allocations Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc: only tag normal vmalloc allocations Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc: add vmalloc tagging for HW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, page_alloc: allow skipping memory init for HW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, page_alloc: allow skipping unpoisoning for HW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, mm: only define ___GFP_SKIP_KASAN_POISON with... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc: unpoison VM_ALLOC pages after mapping Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc, arm64: mark vmalloc mappings as pgprot_tagged Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc: add vmalloc tagging for SW_TAGS Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, arm64: reset pointer tags of vmapped stacks Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, fork: reset pointer tags of vmapped stacks Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc: reset tags in vmalloc functions Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: add wrappers for vmalloc hooks Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan: reorder vmalloc hooks Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, vmalloc: drop outdated VM_KASAN comment Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
2022-03-25 |
Andrey Konovalov | kasan, x86, arm64, s390: rename functions for modules... Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
|
commit | commitdiff | tree |
next |