rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=0ae4/1/0x4000000000000000 softirq=56464/56466 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P55/1:b..l P5111/1:b..l rcu: (detected by 1, t=10506 jiffies, g=86721, q=12 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4433 Comm: udevd Not tainted 6.2.0-syzkaller-12018-g2fcd07b7ccd5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:304 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007d70 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff888075889340 RCX: ffffffff88464fe9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880b982b900 R14: ffff8880b982b800 R15: ffff888075889340 FS: 00007f0b127c5840(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae729ad988 CR3: 000000007c2fb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: advance_sched+0x779/0xd20 net/sched/sch_taprio.c:932 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x690/0x1010 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x660 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_is_held_type+0x8/0x140 kernel/locking/lockdep.c:5697 Code: c7 c7 20 59 4c 8a 89 44 24 04 e8 93 1a 35 f7 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 57 41 56 <41> 55 41 bd ff ff ff ff 41 54 55 53 48 83 ec 08 8b 0d 42 3d 61 04 RSP: 0018:ffffc900033cf7f0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff92000679f06 RCX: ffffffff81657e20 RDX: 0000000000000003 RSI: 00000000ffffffff RDI: ffffffff8c7932c0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8e778597 R10: fffffbfff1cef0b2 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8c793380 R15: 0000000000000000 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3e/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x537/0x670 kernel/locking/lockdep.c:5640 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] __d_lookup+0xa9/0x4c0 fs/dcache.c:2481 lookup_fast+0x170/0x520 fs/namei.c:1644 walk_component+0x5e/0x5a0 fs/namei.c:1990 link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2321 link_path_walk fs/namei.c:2245 [inline] path_lookupat+0xb7/0x840 fs/namei.c:2474 filename_lookup+0x1d2/0x590 fs/namei.c:2504 vfs_statx+0x14c/0x430 fs/stat.c:238 vfs_fstatat+0x90/0xb0 fs/stat.c:276 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0b123251da Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 69 fc 0c 00 f7 RSP: 002b:00007ffd35a9d1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00005569646d7590 RCX: 00007f0b123251da RDX: 00007ffd35a9d208 RSI: 00007ffd35a9d698 RDI: 00000000ffffff9c RBP: 00007ffd35a9d298 R08: 0000000000000000 R09: 00005569646bcbb0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd35a9d698 R13: 00007ffd35a9d208 R14: 00005569646ae2c0 R15: 0000000000000000 task:syz-executor.5 state:R running task stack:24280 pid:5111 ppid:5101 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xcce/0x5b20 kernel/sched/core.c:6622 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6934 irqentry_exit+0x35/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:lock_acquire+0x227/0x670 kernel/locking/lockdep.c:5637 Code: 0a 9d 7e 83 f8 01 0f 85 76 03 00 00 9c 58 f6 c4 02 0f 85 61 03 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900035af850 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006b5f0d RCX: 1f06470323423f67 RDX: 1ffff11006031d6e RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff914d2b87 R10: fffffbfff229a570 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8c793380 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] percpu_ref_put_many.constprop.0+0x29/0x100 include/linux/percpu-refcount.h:330 slab_post_alloc_hook mm/slab.h:777 [inline] slab_alloc_node mm/slab.c:3257 [inline] slab_alloc mm/slab.c:3266 [inline] __kmem_cache_alloc_lru mm/slab.c:3443 [inline] kmem_cache_alloc+0x1e8/0x350 mm/slab.c:3452 vm_area_dup+0x21/0x1f0 kernel/fork.c:466 dup_mmap+0x67f/0x1230 kernel/fork.c:643 dup_mm kernel/fork.c:1550 [inline] copy_mm kernel/fork.c:1599 [inline] copy_process+0x71bf/0x76c0 kernel/fork.c:2269 kernel_clone+0xeb/0xa10 kernel/fork.c:2684 __do_sys_clone+0xba/0x100 kernel/fork.c:2825 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd492c89e2b RSP: 002b:00007ffc9ce1e610 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd492c89e2b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555557426400 R10: 00005555574266d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc9ce1e6f0 task:kworker/u4:4 state:R running task stack:25984 pid:55 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xcce/0x5b20 kernel/sched/core.c:6622 preempt_schedule_notrace+0x5f/0xd0 kernel/sched/core.c:6884 preempt_schedule_notrace_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:35 rcu_read_unlock_sched_notrace include/linux/rcupdate.h:895 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x52d/0x670 kernel/locking/lockdep.c:5640 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x131/0xfe0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g86721 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=42986 rcu: rcu_preempt kthread starved for 10506 jiffies! g86721 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28024 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xcce/0x5b20 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1608 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1807 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 18576 Comm: syz-executor.4 Not tainted 6.2.0-syzkaller-12018-g2fcd07b7ccd5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x43f/0x10a0 kernel/smp.c:987 Code: e6 e8 05 39 0b 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 93 3c 0b 00 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 RSP: 0018:ffffc9000413fb98 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b98407c0 RCX: ffffc90003af2000 RDX: 0000000000040000 RSI: ffffffff8178e66d RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed10173080f9 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007fae735b7700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4938d56be CR3: 000000002ad87000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x615/0x880 kernel/time/hrtimer.c:974 do_settimeofday64 kernel/time/timekeeping.c:1345 [inline] do_settimeofday64+0x3c4/0x5d0 kernel/time/timekeeping.c:1312 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1e2/0x270 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1088 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1076 [inline] __x64_sys_clock_settime+0x1a5/0x280 kernel/time/posix-timers.c:1076 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fae7288c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fae735b7168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fae729abf80 RCX: 00007fae7288c0f9 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000000 RBP: 00007fae728e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff72a7ed7f R14: 00007fae735b7300 R15: 0000000000022000