Home
last modified time | relevance | path

Searched refs:bug_type (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/mm/kasan/
Dreport_generic.c48 const char *bug_type = "unknown-crash"; in get_shadow_bug_type() local
66 bug_type = "out-of-bounds"; in get_shadow_bug_type()
70 bug_type = "slab-out-of-bounds"; in get_shadow_bug_type()
73 bug_type = "global-out-of-bounds"; in get_shadow_bug_type()
79 bug_type = "stack-out-of-bounds"; in get_shadow_bug_type()
84 bug_type = "use-after-free"; in get_shadow_bug_type()
88 bug_type = "alloca-out-of-bounds"; in get_shadow_bug_type()
91 bug_type = "vmalloc-out-of-bounds"; in get_shadow_bug_type()
95 return bug_type; in get_shadow_bug_type()
100 const char *bug_type = "unknown-crash"; in get_wild_bug_type() local
[all …]
Dreport_tags.c40 if ((!info->cache || !info->object) && !info->bug_type) { in kasan_complete_mode_report_info()
41 info->bug_type = get_common_bug_type(info); in kasan_complete_mode_report_info()
91 if (!info->bug_type) in kasan_complete_mode_report_info()
92 info->bug_type = "use-after-free"; in kasan_complete_mode_report_info()
106 if (!info->bug_type) in kasan_complete_mode_report_info()
107 info->bug_type = "slab-out-of-bounds"; in kasan_complete_mode_report_info()
114 if (!info->bug_type) in kasan_complete_mode_report_info()
115 info->bug_type = get_common_bug_type(info); in kasan_complete_mode_report_info()
Dreport.c178 pr_err("BUG: KASAN: %s in %pS\n", info->bug_type, (void *)info->ip); in print_error_description()
422 info->bug_type = "invalid-free"; in complete_report_info()
425 info->bug_type = "double-free"; in complete_report_info()
538 const char *bug_type; in kasan_non_canonical_hook() local
556 bug_type = "null-ptr-deref"; in kasan_non_canonical_hook()
558 bug_type = "probably user-memory-access"; in kasan_non_canonical_hook()
560 bug_type = "maybe wild-memory-access"; in kasan_non_canonical_hook()
561 pr_alert("KASAN: %s in range [0x%016lx-0x%016lx]\n", bug_type, in kasan_non_canonical_hook()
Dkasan.h185 const char *bug_type; member
/linux-6.1.9/mm/kmsan/
Dreport.c154 char *bug_type = NULL; in kmsan_report() local
172 bug_type = is_uaf ? "use-after-free" : "uninit-value"; in kmsan_report()
175 bug_type = is_uaf ? "kernel-infoleak-after-free" : in kmsan_report()
179 bug_type = is_uaf ? "kernel-usb-infoleak-after-free" : in kmsan_report()
188 pr_err("BUG: KMSAN: %s in %pSb\n", bug_type, in kmsan_report()
/linux-6.1.9/arch/arm/kernel/
Dtraps.c361 enum bug_trap_type bug_type = BUG_TRAP_TYPE_NONE; in die() local
366 bug_type = report_bug(regs->ARM_pc, regs); in die()
367 if (bug_type != BUG_TRAP_TYPE_NONE) in die()