rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=5ab4/1/0x4000000000000000 softirq=11529/11532 fqs=4 rcu: (t=10500 jiffies g=14297 q=803 ncpus=2) rcu: rcu_preempt kthread starved for 10484 jiffies! g14297 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:28352 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1030 Comm: kworker/u4:5 Not tainted 6.5.0-rc1-syzkaller-00178-g8fcd7c7b3a38 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70 kernel/kcov.c:207 Code: dd 4a 7d 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 b9 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 04 16 00 00 <85> c0 74 2b 8b 82 e0 15 00 00 83 f8 02 75 20 48 8b 8a e8 15 00 00 RSP: 0018:ffffc900001e0bb8 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffffc9000cf96310 RCX: 0000000000000100 RDX: ffff888020b53b80 RSI: ffffffff885840d7 RDI: 0000000000000005 RBP: ffff888028024300 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000cbd407f6 R12: 0000000000000000 R13: 0000000000000000 R14: ffffed100500485a R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 000000007bab5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pie_calculate_probability+0x117/0x850 net/sched/sch_pie.c:334 fq_pie_timer+0x1da/0x4f0 net/sched/sch_fq_pie.c:387 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x764/0xb10 kernel/time/timer.c:2022 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__rcu_read_unlock+0x8/0x570 kernel/rcu/tree_plugin.h:419 Code: 8b 7c 24 28 e8 29 f2 69 00 e9 5b fa ff ff 48 8b 7c 24 30 e8 7a f1 69 00 e9 2b fa ff ff 0f 1f 44 00 00 f3 0f 1e fa 41 56 41 55 <41> 54 55 65 48 8b 2c 25 80 b9 03 00 53 48 8d bd 3c 04 00 00 48 b8 RSP: 0018:ffffc90005577bc0 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888020b53b80 RSI: ffffffff89fc232f RDI: 0000000000000001 RBP: 0000000000000217 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880753efd40 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 rcu_read_unlock include/linux/rcupdate.h:781 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x8e7/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 CPU: 0 PID: 5049 Comm: syz-executor110 Not tainted 6.5.0-rc1-syzkaller-00178-g8fcd7c7b3a38 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:div_u64_rem include/linux/math64.h:29 [inline] RIP: 0010:div_u64 include/linux/math64.h:130 [inline] RIP: 0010:pie_calculate_probability+0x284/0x850 net/sched/sch_pie.c:345 Code: 89 c5 48 89 6c 24 38 e8 7a 2c 2e f9 47 8d 24 a4 31 d2 4c 89 ff 43 8d 0c 24 49 c1 ee 02 48 b8 ff ff ff ff ff ff ff 00 48 f7 f1 <48> 89 c5 48 89 c6 48 c1 eb 02 49 89 cc e8 5a 27 2e f9 49 39 ef 73 RSP: 0018:ffffc90000007bc0 EFLAGS: 00000203 RAX: 000000a7c5ac471b RBX: 000000000abcc771 RCX: 00000000000186a0 RDX: 0000000000006d1f RSI: ffffffff88584226 RDI: 0000000000000000 RBP: 0000068db8bac710 R08: 0000000000000005 R09: 00000000000f4240 R10: 0000000000002710 R11: 0000000000000000 R12: 000000000000c350 R13: 0000000000000003 R14: 000000000044b82f R15: 0000000000000000 FS: 0000555556150380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd78f19038 CR3: 000000002af74000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fq_pie_timer+0x1da/0x4f0 net/sched/sch_fq_pie.c:387 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x764/0xb10 kernel/time/timer.c:2022 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:do_nanosleep+0x37/0x500 kernel/time/hrtimer.c:2039 Code: bc 00 00 00 00 00 fc ff df 53 48 89 fb 4c 8d 6b 40 48 81 ec a0 00 00 00 48 8d 44 24 40 89 74 24 3c 48 c7 44 24 40 b3 8a b5 41 <48> c1 e8 03 48 89 44 24 10 4c 01 e0 48 c7 44 24 48 93 07 29 8c 48 RSP: 0018:ffffc90003d6fc80 EFLAGS: 00000282 RAX: ffffc90003d6fcc0 RBX: ffffc90003d6fd90 RCX: 0000000000000000 RDX: ffff888015f5d940 RSI: 0000000000000001 RDI: ffffc90003d6fd90 RBP: ffffc90003d6fd48 R08: 0000000000000006 R09: 000000000000c350 R10: 0000000000100590 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90003d6fdd0 R14: 00000000000f4240 R15: 000000000000c350 hrtimer_nanosleep+0x1ae/0x440 kernel/time/hrtimer.c:2100 common_nsleep+0xa1/0xc0 kernel/time/posix-timers.c:1350 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1373 [inline] __x64_sys_clock_nanosleep+0x344/0x490 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7effa290e473 Code: 00 00 00 00 0f 1f 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 2e cc 04 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007ffd78f190f8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000042500 RCX: 00007effa290e473 RDX: 00007ffd78f19110 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000040 R08: 000000000000010f R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd78f1915c R13: 00007ffd78f19170 R14: 00007ffd78f191b0 R15: 000000000000003e