rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5298/1:b..l P5238/1:b..l P12/1:b..l P5227/1:b..l rcu: (detected by 0, t=10502 jiffies, g=9133, q=585 ncpus=2) task:udevd state:R running task stack:26192 pid:5227 tgid:5227 ppid:4676 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 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:lock_acquire+0x1f2/0x560 kernel/locking/lockdep.c:5727 Code: c1 05 1a ca 98 7e 83 f8 01 0f 85 ea 02 00 00 9c 58 f6 c4 02 0f 85 d5 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900035afaf0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006b5f60 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffffff8b4cda40 RDI: ffffffff8bb0f980 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2d244e0 R10: ffffffff96922707 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8ddb9fe0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] mntput_no_expire+0xa1/0xaf0 fs/namespace.c:1399 mntput+0x6b/0x90 fs/namespace.c:1469 vfs_statx+0x14f/0x1e0 fs/stat.c:316 vfs_fstatat+0x9f/0x160 fs/stat.c:341 __do_sys_newfstatat+0xa2/0x130 fs/stat.c:505 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:0x7f683f9165f4 RSP: 002b:00007fff636ab3b8 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055e084326830 RCX: 00007f683f9165f4 RDX: 00007fff636ab3c8 RSI: 00007fff636ab458 RDI: 00000000ffffff9c RBP: 000055e04eabb7b4 R08: 000055e04eabb7b4 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 0000000000000000 R13: 000055e084326920 R14: 00007fff636ab458 R15: 000055e084335ef0 task:kworker/u8:1 state:R running task stack:23184 pid:12 tgid:12 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 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:lockdep_enabled kernel/locking/lockdep.c:121 [inline] RIP: 0010:lock_acquire kernel/locking/lockdep.c:5735 [inline] RIP: 0010:lock_acquire+0x138/0x560 kernel/locking/lockdep.c:5724 Code: 0f 85 1d 01 00 00 65 48 8b 15 44 1a 9a 7e 48 8d ba dc 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 b3 03 00 00 8b RSP: 0018:ffffc90000117aa0 EFLAGS: 00000a03 RAX: dffffc0000000000 RBX: 1ffff92000022f56 RCX: 0000000000000000 RDX: ffff88801d2c5a00 RSI: ffffffff8bb0f900 RDI: ffff88801d2c64dc RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff202886b R10: ffffffff9014435f R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8ddb9fe0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16a/0x1060 net/batman-adv/network-coding.c:719 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389 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 task:udevd state:R running task stack:26192 pid:5238 tgid:5238 ppid:4676 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 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:__seqprop_spinlock_sequence include/linux/seqlock.h:227 [inline] RIP: 0010:set_root+0x189/0x610 fs/namei.c:954 Code: 6a ff 48 8b 75 08 48 89 df e8 33 47 6a ff 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 c1 59 8c ff 48 85 db 58 0f 85 b2 03 00 00 42 57 8c ff 48 8b 45 c0 0f b6 00 41 38 c6 7c 08 84 c0 0f 85 ce RSP: 0018:ffffc9000366f908 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81ff6b8a RDX: ffff8880329cbc00 RSI: ffffffff81ff6b99 RDI: 0000000000000007 RBP: ffffc9000366f990 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000040 R13: 0000000000000000 R14: 0000000000000003 R15: ffff88803266dc00 nd_jump_root+0x3d5/0x580 fs/namei.c:975 path_init+0x1098/0x1a90 fs/namei.c:2468 path_lookupat+0x33/0x770 fs/namei.c:2556 filename_lookup+0x1e5/0x5b0 fs/namei.c:2595 vfs_statx+0x11e/0x1e0 fs/stat.c:312 vfs_fstatat+0x9f/0x160 fs/stat.c:341 __do_sys_newfstatat+0xa2/0x130 fs/stat.c:505 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:0x7f683f9165f4 RSP: 002b:00007fff636b14c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007fff636b1568 RCX: 00007f683f9165f4 RDX: 00007fff636b14d8 RSI: 00007fff636b1e88 RDI: 00000000ffffff9c RBP: 00007fff636b1e88 R08: 0000000000000000 R09: 00007fff636b1748 R10: 0000000000000100 R11: 0000000000000206 R12: 0000000000000005 R13: 000055e08431d090 R14: 000055e084330df0 R15: 00007fff636b1e99 task:udevd state:R running task stack:27408 pid:5298 tgid:5298 ppid:4676 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 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:write_comp_data+0x6/0x90 kernel/kcov.c:239 Code: d0 73 07 48 89 01 48 89 34 c1 c3 cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 <49> 89 f1 65 48 8b 15 1f 1a 78 7e 65 8b 05 20 1a 78 7e a9 00 01 ff RSP: 0018:ffffc900039bf848 EFLAGS: 00000246 RAX: 0000000080000001 RBX: 0000000080000000 RCX: ffffffff813cf0ff RDX: 0000000080000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc900039bfd18 R08: 0000000000000005 R09: ffffc900039bfcc0 R10: 0000000080000000 R11: 0000000000000000 R12: ffffc900039b8000 R13: ffffc900039c0000 R14: ffffc900039bfd20 R15: ffffc900039bfcc0 unwind_next_frame+0x11ff/0x23a0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 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:1094 [inline] free_unref_page+0x64a/0xe40 mm/page_alloc.c:2612 __put_partials+0x14c/0x170 mm/slub.c:3051 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] kmem_cache_alloc_noprof+0x121/0x2f0 mm/slub.c:4044 getname_flags.part.0+0x4c/0x550 fs/namei.c:139 getname_flags+0x93/0xf0 include/linux/audit.h:322 vfs_fstatat+0x86/0x160 fs/stat.c:340 __do_sys_newfstatat+0xa2/0x130 fs/stat.c:505 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:0x7f683f9165f4 RSP: 002b:00007fff636b14c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007fff636b1568 RCX: 00007f683f9165f4 RDX: 00007fff636b14d8 RSI: 00007fff636b1e88 RDI: 00000000ffffff9c RBP: 00007fff636b1e88 R08: 0000000000000000 R09: 00007fff636b1748 R10: 0000000000000100 R11: 0000000000000206 R12: 0000000000000005 R13: 000055e084324560 R14: 000055e08431d840 R15: 00007fff636b1e99 rcu: rcu_preempt kthread starved for 2056 jiffies! g9133 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:28176 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 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: CPU: 0 UID: 0 PID: 5255 Comm: kworker/0:3 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:430 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x425/0xc90 kernel/locking/qspinlock.c:508 Code: 00 01 00 00 66 89 8c 24 80 00 00 00 41 0f b6 07 44 38 e0 7f 08 84 c0 0f 85 0b 07 00 00 0f b6 03 84 c0 0f 84 b0 00 00 00 f3 90 <41> 83 ed 01 75 cf 48 b8 00 00 00 00 00 fc ff df 48 8b 74 24 20 48 RSP: 0018:ffffc90000007970 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffffff8ef77ea0 RCX: 0000000000000100 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8ef77ea2 RBP: dffffc0000000000 R08: 0000000000000001 R09: fffffbfff1deefd4 R10: ffffffff8ef77ea3 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000007a65 R14: ffff8880b883fc80 R15: fffffbfff1deefd4 FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e084315d48 CR3: 0000000079186000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x210/0x2c0 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x738/0x12f0 drivers/net/wireless/virtual/mac80211_hwsim.c:1817 mac80211_hwsim_tx_frame+0x1eb/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 __mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2232 [inline] mac80211_hwsim_beacon_tx+0x592/0xa00 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x2d0/0x5d0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:808 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1770 handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 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+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 f6 1f 50 f6 48 89 df e8 0e 9d 50 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 35 10 42 f6 65 8b 05 b6 4a ea 74 85 c0 74 16 5b RSP: 0018:ffffc9000377f808 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88801ac40600 RCX: 1ffffffff2d26b9f RDX: 0000000000000000 RSI: ffffffff8b4cd740 RDI: ffffffff8bb0f980 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff2d244e6 R10: ffffffff96922737 R11: 0000000000000000 R12: ffff888055c4a000 R13: 0000000000000000 R14: ffffc9000377f858 R15: ffff888055c49f00 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] __do_kmalloc_node mm/slub.c:4157 [inline] __kmalloc_noprof+0x199/0x400 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [inline] usb_alloc_urb+0x69/0xa0 drivers/usb/core/urb.c:75 usb_internal_control_msg drivers/usb/core/message.c:96 [inline] usb_control_msg+0x1d4/0x4b0 drivers/usb/core/message.c:154 get_port_status drivers/usb/core/hub.c:604 [inline] hub_ext_port_status+0x14e/0x670 drivers/usb/core/hub.c:621 usb_hub_port_status drivers/usb/core/hub.c:671 [inline] port_event drivers/usb/core/hub.c:5714 [inline] hub_event+0x6e0/0x4e10 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389 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