rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P9/1:b..l P31473/1:b..l (detected by 0, t=10502 jiffies, g=220221, q=1074) task:syz.3.8363 state:R running task stack:26144 pid:31473 ppid: 30873 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6549 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6574 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] filemap_map_pages+0x122d/0x15c0 mm/filemap.c:3353 do_fault_around mm/memory.c:4213 [inline] do_read_fault mm/memory.c:4228 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4620 [inline] __handle_mm_fault mm/memory.c:4755 [inline] handle_mm_fault+0x341b/0x5960 mm/memory.c:4853 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x7f9745261db6 RSP: 002b:00007ffcf6f23020 EFLAGS: 00010202 RAX: 000000110c334000 RBX: 00007f974606a720 RCX: 0000000000000002 RDX: ffffffff847e71d2 RSI: 00000000000039c7 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007f9745525000 R09: 00007f9745527000 R10: 00000000847e71d6 R11: 0000000000000006 R12: ffffffff847e793e R13: 00007f974553b018 R14: 0000000000000008 R15: 000000000000048f task:kworker/u4:0 state:R running task stack:20448 pid: 9 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 0c 75 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90000ce7a80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200019cf5c RCX: 1ffff9200019cefc RDX: dffffc0000000000 RSI: ffffffff8a8b3da0 RDI: ffffffff8ad904c0 RBP: ffffc90000ce7bd8 R08: dffffc0000000000 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200019cf58 R13: dffffc0000000000 R14: ffffc90000ce7ae0 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: rcu_preempt kthread starved for 10547 jiffies! g220221 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:26304 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 31477 Comm: syz.1.8361 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:irqtime_account_irq+0x16/0x1e0 kernel/sched/cputime.c:52 Code: 00 00 00 00 c6 05 69 25 0e 0e 00 c3 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 50 41 89 f7 48 89 fd e8 6a 78 da 08 <89> c3 83 f8 08 0f 83 9d 01 00 00 49 be 00 00 00 00 00 fc ff df 48 RSP: 0018:ffffc90000dd0230 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffffc90000dd0288 RCX: ffffffff96868f03 RDX: 0000000000000100 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: ffff88807871d940 R08: ffffffff8186ddf5 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000010000 FS: 00007f09ebf806c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3399e7 CR3: 000000001f33f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: sysvec_apic_timer_interrupt+0x36/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:deref_stack_reg+0x1/0x110 arch/x86/kernel/unwind_orc.c:356 Code: d9 80 e1 07 38 c1 0f 8c 81 f4 ff ff 48 89 df e8 85 7c 91 00 48 ba 00 00 00 00 00 fc ff df e9 6a f4 ff ff 66 0f 1f 44 00 00 55 <41> 57 41 56 41 55 41 54 53 49 89 d6 49 89 f7 48 89 fb 49 bc 00 00 RSP: 0018:ffffc90000dd0338 EFLAGS: 00000287 RAX: fffffffffffffff0 RBX: ffffffff8e5fb7d0 RCX: 0000000000000000 RDX: ffffc90000dd04a0 RSI: ffffc90000dd0450 RDI: ffffc90000dd0460 RBP: ffffffff8e5fb7d2 R08: ffffc90000dd0450 R09: ffffc90000dd04b0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cbf6fa R13: 1ffffffff1cbf6fa R14: ffffffff8e5fb7d1 R15: ffffc90000dd0460 unwind_next_frame+0x12f1/0x1fa0 __unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:704 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 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_slab_alloc+0x8e/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 skb_clone+0x1bb/0x350 net/core/skbuff.c:1523 hsr_forward_skb+0xed7/0x1b50 net/hsr/hsr_forward.c:577 send_hsr_supervision_frame+0x540/0xad0 net/hsr/hsr_device.c:326 hsr_announce+0x176/0x300 net/hsr/hsr_device.c:382 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:schedule_debug kernel/sched/core.c:5579 [inline] RIP: 0010:__schedule+0x11e/0x45b0 kernel/sched/core.c:6264 Code: 33 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 a1 c1 8d f7 48 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 88 c1 8d f7 48 81 3b 9d 6e ac 57 0f 85 2e 18 00 RSP: 0018:ffffc900034e7bc0 EFLAGS: 00000246 RAX: 1ffff9200069c000 RBX: ffffc900034e0000 RCX: 0000000000000000 RDX: 0000000000000010 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: ffffc900034e7d90 R08: dffffc0000000000 R09: ffffc900034e7d20 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9100000 R13: dffffc0000000000 R14: ffff88807871d940 R15: 0000000000000001 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:exit_to_user_mode_loop+0x3d/0x130 kernel/entry/common.c:168 Code: 49 89 fe eb 1c e8 33 b3 c6 08 65 48 8b 05 cb c1 94 7e 48 8b 18 f7 c3 0e 30 02 00 0f 84 e6 00 00 00 e8 17 2d 19 00 fb f6 c3 08 <74> 05 e8 7c f9 ce 08 f7 c3 00 10 00 00 74 08 4c 89 f7 e8 fc cf 38 RSP: 0000:ffffc900034e7f10 EFLAGS: 00000202 RAX: d448240444f49100 RBX: 0000000000000008 RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0 RBP: 0000000000000000 R08: ffffffff8186dcf8 R09: ffffed101722765a R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc900034e7f58 R15: ffff88807871d940 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0033:0x7f09edb07ff9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f09ebf80038 EFLAGS: 00000246 RAX: 0000000000000008 RBX: 00007f09edcbff80 RCX: 00007f09edb07ff9 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000680 RBP: 00007f09edb7a296 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f09edcbff80 R15: 00007ffe9f743a88