rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=936c/1/0x4000000000000000 softirq=44042/44046 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P14663/2:b..l P3504/1:b..l rcu: (detected by 1, t=10505 jiffies, g=37965, q=41 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 14682 Comm: syz.0.2281 Not tainted 6.13.0-rc6-syzkaller-00182-gf8c6263347e1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:advance_sched+0x444/0xca0 net/sched/sch_taprio.c:957 Code: 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 ef e8 ca 5a 3d f8 48 03 5d 00 49 89 1e eb 05 e8 1c 82 d9 f7 <48> b8 00 00 00 00 00 fc ff df 48 8b 4c 24 48 80 3c 01 00 48 8b 5c RSP: 0018:ffffc90000007c70 EFLAGS: 00000006 RAX: 1ffff1100495aea6 RBX: 1820dc0c6c000000 RCX: dffffc0000000000 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 1820dc0c68000000 RBP: ffff888024ad7530 R08: ffffffff89c5f000 R09: fffff52000000f7c R10: dffffc0000000000 R11: fffff52000000f7c R12: 0000000000000002 R13: 1820dc0c68000000 R14: ffff888024ad7528 R15: ffff888032446340 FS: 00007efdef20f6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fc1eff8 CR3: 0000000034816000 CR4: 00000000003526f0 DR0: 00000000000000fa DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 6e 8f 3f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 43 c5 a9 f5 65 8b 05 74 17 40 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9001b31f600 EFLAGS: 00000206 RAX: 348231adf1b9ec00 RBX: 1ffff92003663ec4 RCX: ffffffff817b273a RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: 0000000000000001 RBP: ffffc9001b31f690 R08: ffffffff9427193f R09: 1ffffffff284e327 R10: dffffc0000000000 R11: fffffbfff284e328 R12: dffffc0000000000 R13: 1ffff92003663ec0 R14: ffffc9001b31f620 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 __unix_dgram_recvmsg+0x5f4/0x12f0 net/unix/af_unix.c:2463 sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1033 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2801 ___sys_recvmsg net/socket.c:2845 [inline] do_recvmmsg+0x426/0xab0 net/socket.c:2940 __sys_recvmmsg net/socket.c:3014 [inline] __do_sys_recvmmsg net/socket.c:3037 [inline] __se_sys_recvmmsg net/socket.c:3030 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3030 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efdee385d29 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:00007efdef20f038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007efdee576080 RCX: 00007efdee385d29 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007efdee401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efdee576080 R15: 00007fffaae38ae8 task:kworker/u8:7 state:R running task stack:19928 pid:3504 tgid:3504 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:878 [inline] RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] RIP: 0010:batadv_nc_worker+0x1f9/0x610 net/batman-adv/network-coding.c:719 Code: ed 74 17 48 81 c5 38 fe ff ff 74 0e e8 c0 4c 13 f6 eb b8 e8 b9 4c 13 f6 eb 05 e8 b2 4c 13 f6 e8 9d da 34 00 89 c3 31 ff 89 c6 e2 50 13 f6 85 db 74 15 e8 b9 e7 f8 f5 84 c0 74 18 e8 90 4c 13 RSP: 0018:ffffc9000c8a7b58 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff8880329b1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8b8c2621 R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: ffff888070d18d80 R13: 0000000000000284 R14: ffff88807178e6c0 R15: dffffc0000000000 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 task:syz.1.2276 state:R running task stack:23168 pid:14663 tgid:14655 ppid:5823 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:get_offset lib/xarray.c:146 [inline] RIP: 0010:xas_descend lib/xarray.c:206 [inline] RIP: 0010:xas_load+0x114/0x5c0 lib/xarray.c:245 Code: e8 03 48 bd 00 00 00 00 00 fc ff df 80 3c 28 00 74 08 4c 89 ef e8 3c a5 44 f6 4d 8b 6d 00 bf 40 00 00 00 89 de e8 8c cf e0 f5 <80> fb 3f 0f 87 4f 04 00 00 e8 7e cc e0 f5 89 d9 49 d3 ed 41 83 e5 RSP: 0018:ffffc9001b27f088 EFLAGS: 00000297 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffff88806199da00 RDX: ffff88806199da00 RSI: 0000000000000000 RDI: 0000000000000040 RBP: dffffc0000000000 R08: ffffffff8bbea734 R09: ffffffff8bbf276b R10: 0000000000000002 R11: ffff88806199da00 R12: ffffc9001b27f340 R13: 0000000000000640 R14: ffff8880612d2942 R15: 0000000000000000 xas_find+0x13f/0x960 lib/xarray.c:1266 next_uptodate_folio+0x33/0x5f0 mm/filemap.c:3485 filemap_map_pages+0x2ea/0x1900 mm/filemap.c:3637 do_fault_around mm/memory.c:5280 [inline] do_read_fault mm/memory.c:5313 [inline] do_fault mm/memory.c:5456 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault+0x3888/0x5ed0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x1c82/0x49e0 mm/gup.c:1494 populate_vma_page_range+0x264/0x330 mm/gup.c:1932 __mm_populate+0x27a/0x460 mm/gup.c:2035 mm_populate include/linux/mm.h:3397 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:580 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb5d8d85d29 RSP: 002b:00007fb5d9c09038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fb5d8f76080 RCX: 00007fb5d8d85d29 RDX: b635773f06ebbeef RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fb5d8e01b08 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb5d8f76080 R15: 00007ffc1afd0e58 rcu: rcu_preempt kthread starved for 10505 jiffies! g37965 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:26264 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: CPU: 1 UID: 0 PID: 81 Comm: kworker/u8:4 Not tainted 6.13.0-rc6-syzkaller-00182-gf8c6263347e1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 e5 e4 RSP: 0018:ffffc9000217f6e0 EFLAGS: 00000293 RAX: ffffffff81938edb RBX: 1ffff110170c8c65 RCX: ffff88801c725a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000217f8e0 R08: ffffffff81938eaa R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: dffffc0000000000 R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd12ff8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xd2/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate+0x1bf/0x260 mm/kfence/core.c:854 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244