rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-....: (1 GPs behind) idle=6df/1/0x4000000000000000 softirq=398013/398014 fqs=3247 (t=10500 jiffies g=587765 q=25841) NMI backtrace for cpu 1 CPU: 1 PID: 31149 Comm: syz-executor.1 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2597 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 c2 c9 bb f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c7 91 45 f7 65 8b 05 d8 eb ed 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90000dc09e0 EFLAGS: 00000206 RAX: 61eecd6bd1a44d00 RBX: 1ffff920001b8140 RCX: ffffffff81665fb1 RDX: dffffc0000000000 RSI: 0000000000000101 RDI: 0000000000000001 RBP: ffffc90000dc0a70 R08: dffffc0000000000 R09: fffffbfff1ff33f9 R10: fffffbfff1ff33f9 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff920001b813c R14: ffffc90000dc0a00 R15: 0000000000000246 __mod_timer+0x98d/0xd20 kernel/time/timer.c:1065 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x71a/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:unwind_next_frame+0x18a9/0x1fc0 arch/x86/kernel/unwind_orc.c:634 Code: 00 00 00 00 00 fc ff df 48 8b 4c 24 18 8a 04 01 84 c0 0f 85 f6 00 00 00 41 c7 45 00 00 00 00 00 31 c0 48 81 c4 88 00 00 00 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 e8 20 9b c5 ff eb c3 80 3d a7 88 b0 RSP: 0018:ffffc900137ef570 EFLAGS: 00000282 RAX: 0000000000000001 RBX: ffffc900137ef5a0 RCX: 0000000080000000 RDX: ffffc900137efde0 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc900137f0000 R08: dffffc0000000000 R09: ffffc900137ef5f0 R10: fffff520026fdec0 R11: 0000000000000000 R12: 1ffff920026fdebb R13: ffffc900137ef5a0 R14: ffffc900137e8000 R15: 1ffff920026fdeb4 arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xdc/0x110 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:269 [inline] __kmalloc+0x253/0x380 mm/slub.c:4423 kmalloc include/linux/slab.h:595 [inline] tomoyo_realpath_from_path+0xd8/0x610 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x219/0x7c0 security/tomoyo/file.c:723 tomoyo_path_mkdir+0xe3/0x120 security/tomoyo/tomoyo.c:166 security_path_mkdir+0xd5/0x160 security/security.c:1141 do_mkdirat+0x1b4/0x530 fs/namei.c:3905 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:3927 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f447a790ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4477d06188 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f447a8a3f60 RCX: 00007f447a790ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000400 RBP: 00007f447a7eaf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd53a33eef R14: 00007f4477d06300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 9c pushfq 1: 8f 44 24 20 popq 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 c2 c9 bb f7 callq 0xf7bbc9d6 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 4e jne 0x69 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 c7 91 45 f7 callq 0xf74591f6 <-- trapping instruction 2f: 65 8b 05 d8 eb ed 75 mov %gs:0x75edebd8(%rip),%eax # 0x75edec0e 36: 85 c0 test %eax,%eax 38: 74 3f je 0x79 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss