rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P63/1:b..l P5219/1:b..l rcu: (detected by 0, t=10502 jiffies, g=11845, q=518 ncpus=2) task:syz-executor.0 state:R running task stack:26528 pid:5219 tgid:5218 ppid:5113 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_trace_consume_entry+0xf/0x170 kernel/stacktrace.c:83 Code: 70 00 e9 db fc ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 55 <53> 48 89 fb 48 83 c7 10 48 89 fa 48 83 ec 08 48 c1 ea 03 0f b6 04 RSP: 0018:ffffc90003467600 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffffff81f29e72 RCX: ffffc9000974a000 RDX: 0000000000040000 RSI: ffffffff81f29e72 RDI: ffffc900034676d8 RBP: ffffc900034676a8 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff81f29e72 R11: 0000000000000000 R12: ffffc90003467618 R13: ffffffff81798480 R14: ffffc900034676d8 R15: ffff888023c1bc00 arch_stack_walk+0xe1/0x170 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0x64a/0xe40 mm/page_alloc.c:2565 vfree+0x181/0x7a0 mm/vmalloc.c:3346 __vmalloc_area_node mm/vmalloc.c:3706 [inline] __vmalloc_node_range_noprof+0x11f5/0x1520 mm/vmalloc.c:3823 __bpf_map_area_alloc+0xea/0x190 kernel/bpf/syscall.c:307 xsk_map_alloc+0x1a3/0x230 net/xdp/xskmap.c:78 map_create+0x57b/0x1c50 kernel/bpf/syscall.c:1333 __sys_bpf+0xd73/0x49a0 kernel/bpf/syscall.c:5669 __do_sys_bpf kernel/bpf/syscall.c:5794 [inline] __se_sys_bpf kernel/bpf/syscall.c:5792 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5792 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3b1827cee9 RSP: 002b:00007f3b190dd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3b183b3f80 RCX: 00007f3b1827cee9 RDX: 0000000000000048 RSI: 0000000020004440 RDI: e4ffffff00000000 RBP: 00007f3b182da6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3b183b3f80 R15: 00007ffedb4190e8 task:kworker/u8:5 state:R running task stack:24880 pid:63 tgid:63 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:write_comp_data+0x7d/0x90 kernel/kcov.c:262 Code: 00 00 4a 8d 34 dd 28 00 00 00 48 39 f2 72 1b 48 83 c7 01 48 89 38 4c 89 44 30 e0 4c 89 4c 30 e8 4c 89 54 30 f0 4a 89 4c d8 20 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 RSP: 0018:ffffc900015e7b88 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8aac991b RDX: ffff888017798000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00000000000002e8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffff888077b67940 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 rcu_read_unlock include/linux/rcupdate.h:810 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x8cb/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10562 jiffies! g11845 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:27680 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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: 5232 Comm: syz-executor.2 Not tainted 6.10.0-rc2-syzkaller-00022-g32f88d65f01b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x24b/0x23a0 arch/x86/kernel/unwind_orc.c:494 Code: 89 c7 89 44 24 38 8b 05 c3 28 10 0c 44 8d 70 ff 89 44 24 3c 44 89 f6 e8 53 06 51 00 45 39 f5 0f 83 f8 19 00 00 e8 05 0c 51 00 <45> 89 ee 48 b8 00 00 00 00 00 fc ff df 4a 8d 3c b5 28 34 26 91 48 RSP: 0018:ffffc90000a18988 EFLAGS: 00000046 RAX: 0000000080010003 RBX: ffffc90000a18a08 RCX: ffffffff813cd8dd RDX: ffff888028c21e00 RSI: ffffffff813cd8eb RDI: 0000000000000004 RBP: 0000000000000002 R08: 0000000000000004 R09: 000000000000e98a R10: 00000000000a2000 R11: 0000000000000002 R12: ffffffff81e98a08 R13: 000000000000e98a R14: 00000000000a2000 R15: ffffc90000a18a3d FS: 00007f20695376c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2069536f00 CR3: 0000000023812000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4000 [inline] kmem_cache_alloc_noprof+0x121/0x2f0 mm/slub.c:4007 __sigqueue_alloc+0x244/0x6b0 kernel/signal.c:428 __send_signal_locked+0x138/0x11c0 kernel/signal.c:1119 do_send_sig_info kernel/signal.c:1301 [inline] group_send_sig_info+0x2aa/0x300 kernel/signal.c:1451 do_bpf_send_signal+0x9a/0x1d0 kernel/trace/bpf_trace.c:838 irq_work_single+0x1bc/0x260 kernel/irq_work.c:221 irq_work_run_list+0x92/0xc0 kernel/irq_work.c:252 irq_work_run+0x58/0xd0 kernel/irq_work.c:261 __sysvec_irq_work+0x8c/0x410 arch/x86/kernel/irq_work.c:22 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0x90/0xb0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5282 Code: a9 0a 00 00 44 8b 0d 17 48 86 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 d9 e6 36 00 fb 65 48 8b 1d e0 89 a5 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc900033b78f0 EFLAGS: 00000202 RAX: 0000000000e5941f RBX: ffff888028c21e00 RCX: 1ffffffff1fc8441 RDX: 0000000000000000 RSI: ffffffff8b2cade0 RDI: ffffffff8b900000 RBP: ffffc900033b7938 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8fe46497 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888024f41e00 R14: 0000000000000000 R15: 0000000000000000 context_switch kernel/sched/core.c:5411 [inline] __schedule+0xf1d/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 futex_wait_queue+0xfc/0x1f0 kernel/futex/waitwake.c:370 __futex_wait+0x291/0x3c0 kernel/futex/waitwake.c:669 futex_wait+0xe9/0x380 kernel/futex/waitwake.c:697 do_futex+0x22b/0x350 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex kernel/futex/syscalls.c:160 [inline] __x64_sys_futex+0x1e1/0x4c0 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f206887cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2069537178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f20689b3f88 RCX: 00007f206887cee9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f20689b3f88 RBP: 00007f20689b3f80 R08: 00007f20695376c0 R09: 00007f20695376c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f20689b3f8c R13: 000000000000000b R14: 00007fff4fec5d20 R15: 00007fff4fec5e08