rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=cf3/1/0x4000000000000000 softirq=101438/101439 fqs=0 (detected by 1, t=10502 jiffies, g=177105, q=34) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2934 Comm: jbd2/sda1-8 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:91 [inline] RIP: 0010:lock_acquire kernel/locking/lockdep.c:5613 [inline] RIP: 0010:lock_acquire+0x13b/0x510 kernel/locking/lockdep.c:5602 Code: 85 14 01 00 00 65 48 8b 14 25 40 70 02 00 48 8d ba 5c 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 70 03 00 00 8b RSP: 0018:ffffc90000007cd0 EFLAGS: 00000017 RAX: dffffc0000000000 RBX: 1ffff92000000f9c RCX: 0000000000000000 RDX: ffff888023c28000 RSI: 0000000000010002 RDI: ffff888023c28a5c RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d913757 R10: fffffbfff1b226ea R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801eb26300 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f17b3ece000 CR3: 000000001c16d000 CR4: 0000000000350ef0 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] advance_sched+0x53/0x9a0 net/sched/sch_taprio.c:714 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/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+0x8e/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_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 b1 22 46 00 5d be 03 00 00 00 e9 96 36 63 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 99 c4 8a 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc9000b26f678 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000000000 RDX: ffff888023c28000 RSI: ffffffff8167abe4 RDI: 0000000000000003 RBP: 00000000000454fc R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8167abda R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000fffffffe R15: ffff8881470f740c __seqprop_raw_spinlock_sequence include/linux/seqlock.h:276 [inline] timekeeping_get_delta kernel/time/timekeeping.c:252 [inline] timekeeping_get_ns kernel/time/timekeeping.c:386 [inline] ktime_get+0x19a/0x470 kernel/time/timekeeping.c:829 ktime_get_ns include/linux/timekeeping.h:154 [inline] bio_issue_init include/linux/blk_types.h:226 [inline] blkcg_bio_issue_init include/linux/blk-cgroup.h:531 [inline] submit_bio_checks+0x911/0x1c80 block/blk-core.c:818 blk_mq_get_request block/blk-mq.c:2589 [inline] blk_mq_submit_bio+0x16c5/0x22b0 block/blk-mq.c:2633 __submit_bio block/blk-core.c:851 [inline] __submit_bio_noacct_mq block/blk-core.c:926 [inline] submit_bio_noacct block/blk-core.c:952 [inline] submit_bio_noacct+0x82c/0xa20 block/blk-core.c:941 submit_bio block/blk-core.c:1013 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:971 submit_bh_wbc+0x5e8/0x7e0 fs/buffer.c:3054 jbd2_journal_commit_transaction+0x25a3/0x6be0 fs/jbd2/commit.c:775 kjournald2+0x1d0/0x930 fs/jbd2/journal.c:213 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: rcu_preempt kthread starved for 10502 jiffies! g177105 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:28688 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 23850 Comm: syz-executor.1 Not tainted 5.16.0-rc4-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_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x2125/0x2200 kernel/rcu/tree.c:2597 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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:969 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 80 75 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 RSP: 0018:ffffc90002d3fc08 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9c41d40 RCX: ffffc900054e1000 RDX: 0000000000040000 RSI: ffffffff816c35e0 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff816c3606 R11: 0000000000000000 R12: ffffed10173883a9 R13: 0000000000000000 R14: ffff8880b9c41d48 R15: 0000000000000001 clock_was_set+0x599/0x790 kernel/time/hrtimer.c:974 do_settimeofday64 kernel/time/timekeeping.c:1327 [inline] do_settimeofday64+0x3e2/0x5c0 kernel/time/timekeeping.c:1293 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1de/0x260 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1079 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1067 [inline] __x64_sys_clock_settime+0x1a1/0x280 kernel/time/posix-timers.c:1067 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:0x7f17b39b6e99 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:00007f17b232c168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f17b3ac9f60 RCX: 00007f17b39b6e99 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007f17b3a11031 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0d0b64ff R14: 00007f17b232c300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 85 14 01 test %edx,(%rcx,%rax,1) 3: 00 00 add %al,(%rax) 5: 65 48 8b 14 25 40 70 mov %gs:0x27040,%rdx c: 02 00 e: 48 8d ba 5c 0a 00 00 lea 0xa5c(%rdx),%rdi 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 f9 mov %rdi,%rcx 22: 48 c1 e9 03 shr $0x3,%rcx 26: 0f b6 0c 01 movzbl (%rcx,%rax,1),%ecx * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 c8 cmp %cl,%al 35: 7c 08 jl 0x3f 37: 84 c9 test %cl,%cl 39: 0f 85 70 03 00 00 jne 0x3af 3f: 8b .byte 0x8b