rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=933/1/0x4000000000000000 softirq=34796/34797 fqs=7 (t=10500 jiffies g=62809 q=307) NMI backtrace for cpu 0 CPU: 0 PID: 10022 Comm: syz-executor.4 Not tainted 5.16.0-rc4-next-20211210-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x262/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:604 [inline] check_cpu_stall kernel/rcu/tree_stall.h:688 [inline] rcu_pending kernel/rcu/tree.c:3922 [inline] rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2620 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_kcov_mode+0x1c/0x40 kernel/kcov.c:166 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc 65 8b 05 29 79 8a 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 <8b> 96 ac 15 00 00 85 d2 74 0b 8b 86 88 15 00 00 39 f8 0f 94 c0 c3 RSP: 0018:ffffc90000007c40 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 000000000abcc771 RCX: 0000068db8bac710 RDX: 0000000000000100 RSI: ffff8880406b3a80 RDI: 0000000000000003 RBP: 000000000112e0be R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff876b692f R11: 0000000000000000 R12: 0000000000002710 R13: 0000068db8bac710 R14: 0000000000000004 R15: 0000000000000000 write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_cmp8+0x1d/0x70 kernel/kcov.c:267 pie_calculate_probability+0x28f/0x7c0 net/sched/sch_pie.c:348 fq_pie_timer+0x170/0x2a0 net/sched/sch_fq_pie.c:383 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_latency_start kernel/sched/core.c:5430 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:5425 [inline] RIP: 0010:preempt_count_add+0x88/0x140 kernel/sched/core.c:5453 Code: ff 7f 39 c3 74 03 5b 5d c3 48 8b 5c 24 10 48 89 df e8 1c 0b 0d 00 85 c0 75 35 65 48 8b 2c 25 40 70 02 00 48 8d bd 60 14 00 00 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f RSP: 0018:ffffc90004a3f5d8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff81340ab0 RCX: 1ffffffff209df18 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880406b4ee0 RBP: ffff8880406b3a80 R08: ffffffff8e1a7db4 R09: 0000000000000001 R10: fffff52000947ee4 R11: 000000000008808a R12: ffffc90004a3f710 R13: 0000000000000000 R14: ffffc90004a3f6c8 R15: 0000000000000dc0 unwind_next_frame+0x120/0x1ce0 arch/x86/kernel/unwind_orc.c:428 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:260 [inline] slab_post_alloc_hook mm/slab.h:766 [inline] slab_alloc_node mm/slub.c:3231 [inline] slab_alloc mm/slub.c:3239 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3244 kmem_cache_zalloc include/linux/slab.h:705 [inline] __alloc_file+0x21/0x280 fs/file_table.c:132 alloc_empty_file+0x6d/0x170 fs/file_table.c:181 path_openat+0xe4/0x2940 fs/namei.c:3595 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fda528f2e99 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:00007fda51268168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fda52a05f60 RCX: 00007fda528f2e99 RDX: 0000000000000002 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fda5294cff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe30fe50bf R14: 00007fda51268300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: cc int3 e: 65 8b 05 29 79 8a 7e mov %gs:0x7e8a7929(%rip),%eax # 0x7e8a793e 15: 89 c2 mov %eax,%edx 17: 81 e2 00 01 00 00 and $0x100,%edx 1d: a9 00 01 ff 00 test $0xff0100,%eax 22: 74 10 je 0x34 24: 31 c0 xor %eax,%eax 26: 85 d2 test %edx,%edx 28: 74 15 je 0x3f * 2a: 8b 96 ac 15 00 00 mov 0x15ac(%rsi),%edx <-- trapping instruction 30: 85 d2 test %edx,%edx 32: 74 0b je 0x3f 34: 8b 86 88 15 00 00 mov 0x1588(%rsi),%eax 3a: 39 f8 cmp %edi,%eax 3c: 0f 94 c0 sete %al 3f: c3 retq