Skip to content

KUNIT: vmalloc_oob: EXPECTATION FAILED at lib/test_kasan.c:1048 [moved to RHELTEST-18]

    # Subtest: kasan
    1..49
    ok 1 - kmalloc_oob_right
    ok 2 - kmalloc_oob_left
    ok 3 - kmalloc_node_oob_right
    ok 4 - kmalloc_pagealloc_oob_right
    ok 5 - kmalloc_pagealloc_uaf
    ok 6 - kmalloc_pagealloc_invalid_free
    ok 7 - pagealloc_oob_right # SKIP Test requires CONFIG_KASAN_GENERIC=n
    ok 8 - pagealloc_uaf
    ok 9 - kmalloc_large_oob_right
    ok 10 - krealloc_more_oob
    ok 11 - krealloc_less_oob
    ok 12 - krealloc_pagealloc_more_oob
    ok 13 - krealloc_pagealloc_less_oob
    ok 14 - krealloc_uaf
    ok 15 - kmalloc_oob_16
    ok 16 - kmalloc_uaf_16
    ok 17 - kmalloc_oob_in_memset
    ok 18 - kmalloc_oob_memset_2
    ok 19 - kmalloc_oob_memset_4
    ok 20 - kmalloc_oob_memset_8
    ok 21 - kmalloc_oob_memset_16
    ok 22 - kmalloc_memmove_negative_size
    ok 23 - kmalloc_memmove_invalid_size
    ok 24 - kmalloc_uaf
    ok 25 - kmalloc_uaf_memset
    ok 26 - kmalloc_uaf2
    ok 27 - kfree_via_page
    ok 28 - kfree_via_phys
    ok 29 - kmem_cache_oob
    ok 30 - kmem_cache_accounted
    ok 31 - kmem_cache_bulk
    ok 32 - kasan_global_oob
    ok 33 - kasan_stack_oob
    ok 34 - kasan_alloca_oob_left
    ok 35 - kasan_alloca_oob_right
    ok 36 - ksize_unpoisons_memory
    ok 37 - ksize_uaf
    ok 38 - kmem_cache_double_free
    ok 39 - kmem_cache_invalid_free
    ok 40 - kasan_memchr # SKIP Test requires CONFIG_AMD_MEM_ENCRYPT=n
    ok 41 - kasan_memcmp # SKIP Test requires CONFIG_AMD_MEM_ENCRYPT=n
    ok 42 - kasan_strings # SKIP Test requires CONFIG_AMD_MEM_ENCRYPT=n
    ok 43 - kasan_bitops_generic
    ok 44 - kasan_bitops_tags # SKIP Test requires CONFIG_KASAN_GENERIC=n
    ok 45 - kmalloc_double_kzfree
    # vmalloc_oob: EXPECTATION FAILED at lib/test_kasan.c:1048
    KASAN failure expected in "((volatile char *)area)[3100]", but none occurred
    not ok 46 - vmalloc_oob
    ok 47 - match_all_not_assigned # SKIP Test requires CONFIG_KASAN_GENERIC=n
    ok 48 - match_all_ptr_tag # SKIP Test requires CONFIG_KASAN_GENERIC=n
    ok 49 - match_all_mem_tag # SKIP Test requires CONFIG_KASAN_GENERIC=n
not ok 1 - kasan

https://datawarehouse.cki-project.org/issue/993

https://datawarehouse.cki-project.org/kcidb/tests/2616034

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information