rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5126/1:b..l rcu: (detected by 0, t=10503 jiffies, g=12481, q=477 ncpus=2) task:syz-executor.1 state:R running task stack:18136 pid:5126 tgid:5126 ppid:5105 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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_stack_info+0x2c/0x180 arch/x86/kernel/dumpstack_64.c:196 Code: 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 ce 49 89 d7 49 89 f5 48 89 fb e8 11 ca 62 00 4d 85 ed 74 7d e8 07 ca 62 00 48 85 db <0f> 84 86 00 00 00 48 89 df 4c 89 ee 4c 89 fa e8 10 00 53 0a 84 c0 RSP: 0018:ffffc900030af320 EFLAGS: 00000282 RAX: ffffffff81335cf9 RBX: ffffc900030af358 RCX: ffff88805cd63c00 RDX: 0000000000000000 RSI: ffff88805cd63c00 RDI: ffffc900030af358 RBP: dffffc0000000000 R08: ffffc900030af41f R09: ffffc900030af3c0 R10: dffffc0000000000 R11: fffff52000615e84 R12: ffffc900030af3e0 R13: ffff88805cd63c00 R14: ffffc900030af3e0 R15: ffffc900030af3c0 __unwind_start+0x481/0x7c0 arch/x86/kernel/unwind_orc.c:729 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 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_folios+0xf23/0x19e0 mm/page_alloc.c:2632 folios_put_refs+0x93a/0xa60 mm/swap.c:1024 folio_batch_release include/linux/pagevec.h:101 [inline] truncate_inode_pages_range+0x47b/0xfc0 mm/truncate.c:362 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0x108/0x250 block/bdev.c:664 blkdev_put_whole block/bdev.c:671 [inline] bdev_release+0x466/0x700 block/bdev.c:1096 blkdev_release+0x15/0x20 block/fops.c:623 __fput+0x408/0x8b0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f55e927e1d7 RSP: 002b:00007ffd13467c08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f55e927e1d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd13467cc0 RBP: 00007ffd13467cc0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd13468d70 R13: 00007f55e92d9636 R14: 0000000000025287 R15: 000000000000000a rcu: rcu_preempt kthread starved for 10543 jiffies! g12481 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:25560 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:need_resched include/linux/sched.h:2110 [inline] RIP: 0010:__schedule_loop kernel/sched/core.c:6824 [inline] RIP: 0010:schedule+0x15a/0x320 kernel/sched/core.c:6837 Code: 48 f7 45 00 08 00 00 00 74 2c bf 01 00 00 00 e8 fc be d5 f5 31 ff e8 85 b4 ff ff bf 01 00 00 00 e8 8b c0 d5 f5 42 80 3c 23 00 <74> d4 48 89 ef e8 9c 10 6c f6 eb ca 4c 8d 75 2c 4d 89 f5 49 c1 ed RSP: 0018:ffffc90000167b68 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11002ed9000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff8880176c8000 R08: ffffffff8fad50af R09: 1ffffffff1f5aa15 R10: dffffc0000000000 R11: fffffbfff1f5aa16 R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8b8fda00 R15: ffff8880176c9278 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 0 PID: 5865 Comm: syz-executor.4 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__sanitizer_cov_trace_switch+0x4/0x120 kernel/kcov.c:317 Code: 44 11 20 e9 a9 14 1a 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <41> 57 41 56 41 54 53 4c 8b 16 48 8b 46 08 48 83 c0 f8 48 c1 c0 3d RSP: 0018:ffffc90000007340 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000010 RSI: ffffffff8e1a1400 RDI: 0000000000000001 RBP: ffffffff90c56c6a R08: ffffc9000000747f R09: ffffc90000007470 R10: dffffc0000000000 R11: fffff52000000e90 R12: ffffc90000007a90 R13: dffffc0000000000 R14: ffffc90000007470 R15: 1ffff92000000e84 FS: 0000555571ed8480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6eee11bf80 CR3: 0000000015bf4000 CR4: 0000000000350ef0 Call Trace: unwind_next_frame+0x196f/0x2a00 arch/x86/kernel/unwind_orc.c:641 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3941 [inline] slab_alloc_node mm/slub.c:4001 [inline] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4044 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:656 __netdev_alloc_skb+0x105/0x560 net/core/skbuff.c:730 netdev_alloc_skb include/linux/skbuff.h:3319 [inline] dev_alloc_skb include/linux/skbuff.h:3332 [inline] __ieee80211_beacon_get+0x998/0x15c0 net/mac80211/tx.c:5471 ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5593 ieee80211_beacon_get include/net/mac80211.h:5562 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2302 __iterate_interfaces+0x225/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2336 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1751 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1768 handle_softirqs+0x2c6/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5282 Code: c9 50 e8 99 c9 0b 00 48 83 c4 08 4c 89 f7 e8 cd 38 00 00 0f 1f 44 00 00 4c 89 f7 e8 40 d7 2a 0a e8 5b f8 36 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc9000232f828 EFLAGS: 00000282 RAX: 66cb4bd5b54d1900 RBX: ffff88801105da00 RCX: ffffffff947a3603 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: ffffffff8c1ff840 RBP: ffffc9000232f870 R08: ffffffff8fad50af R09: 1ffffffff1f5aa15 R10: dffffc0000000000 R11: fffffbfff1f5aa16 R12: 1ffff11017287ea7 R13: dffffc0000000000 R14: ffff8880b943e7c0 R15: ffff8880b943f538 context_switch kernel/sched/core.c:5411 [inline] __schedule+0x17f0/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:185 [inline] RIP: 0010:need_resched include/linux/sched.h:2110 [inline] RIP: 0010:preempt_schedule_common+0x92/0xd0 kernel/sched/core.c:6932 Code: 42 80 3c 38 00 74 08 48 89 df e8 69 0d 6c f6 4c 89 33 bf 01 00 00 00 e8 3c b0 ff ff 65 8b 05 fd f5 73 74 65 ff 0d f6 f5 73 74 <65> 48 8b 1c 25 00 d5 03 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 0f RSP: 0018:ffffc9000232fc00 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff88801105eec8 RCX: 1ffff92000465f5c RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: ffff88801105eff8 RBP: ffffc9000232fcb8 R08: ffffffff8fad50af R09: 1ffffffff1f5aa15 R10: dffffc0000000000 R11: fffffbfff1f5aa16 R12: 1ffff92000465f88 R13: ffff88807b8be028 R14: ffffffff8b8fde61 R15: dffffc0000000000 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __up_write kernel/locking/rwsem.c:1377 [inline] up_write+0x323/0x590 kernel/locking/rwsem.c:1632 mmap_write_unlock include/linux/mmap_lock.h:131 [inline] vm_mmap_pgoff+0x279/0x3d0 mm/util.c:575 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:0x7f6eed47cee3 Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 b0 ff ff ff 64 c7 RSP: 002b:00007ffc5edd3978 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f6eebe006c0 RCX: 00007f6eed47cee3 RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffc5edd3bd0 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000 sched: RT throttling activated