--- x/arch/x86/kernel/dumpstack.c +++ y/arch/x86/kernel/dumpstack.c @@ -192,6 +192,7 @@ static void show_trace_log_lvl(struct ta int graph_idx = 0; bool partial = false; + kasan_disable_current(); printk("%sCall Trace:\n", log_lvl); unwind_start(&state, task, regs, stack); @@ -304,6 +305,7 @@ next: if (stack_name) printk("%s </%s>\n", log_lvl, stack_name); } + kasan_enable_current(); } void show_stack(struct task_struct *task, unsigned long *sp,