github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/dashboard/config/linux/bits/kasan.yml (about) 1 # Copyright 2020 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 config: 5 - KASAN 6 - KASAN_GENERIC: [v4.16] 7 - KASAN_INLINE: [-arm, -cuttlefish] 8 - KASAN_STACK_ENABLE: [clang, v4.16, -v5.11] 9 - KASAN_STACK: [clang, v5.11] 10 - KASAN_VMALLOC: [v5.5, -arm, -arm64, -s390] 11 # This was historically enabled in the KASAN section without explanation. 12 - SPARSEMEM_VMEMMAP: [-arm, -riscv] 13 # This is required to enable SPARSEMEM_VMEMMAP. 14 - SPARSEMEM_MANUAL: [-arm, -arm64, -s390, -v5.17] 15 # This allows to get alloc/free stacks for UAFs on freed pages. 16 # This also needs page_owner=on in cmdline. 17 - PAGE_OWNER 18 # Allow to catch more use after free cases. 19 - SLUB_RCU_DEBUG: [v6.12] 20 21 - UBSAN: [v5.8] 22 - UBSAN_SANITIZE_ALL: [v5.8, -arm, -riscv, -v6.9] 23 - UBSAN_TRAP: n 24 - UBSAN_MISC: n 25 - UBSAN_BOUNDS: [v5.8] 26 - UBSAN_SHIFT: [v5.11] 27 # Already detected well by the exception handler. 28 - UBSAN_DIV_ZERO: n 29 # Produces too many reports: 30 # https://groups.google.com/forum/#!msg/syzkaller-bugs/i0xhp3rFSmo/KwZ0r9IIBQAJ 31 - UBSAN_BOOL: n 32 # Produces too many reports: 33 # https://groups.google.com/g/syzkaller-bugs/c/b_y3xw0wvOI/m/L074F0v3BQAJ 34 - UBSAN_OBJECT_SIZE: n 35 # This does not produce any reports, which suggests that it does not work somehow. 36 - UBSAN_SIGNED_OVERFLOW: n 37 - UBSAN_UNSIGNED_OVERFLOW: n 38 # This does not produce any reports, which suggests that it does not work somehow. 39 - UBSAN_ENUM: n 40 # Presumably can produce lots of working-as-intended reports, but this wasn't checked. 41 - UBSAN_ALIGNMENT: [n, v5.8] 42 # Depends on STACK_VALIDATION=n which we have enabled. 43 - UBSAN_UNREACHABLE: n