rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10685/1:b..l P28823/1:b..l rcu: (detected by 1, t=10503 jiffies, g=286837, q=1076703 ncpus=2) task:syz-executor state:R running task stack:25392 pid:28823 tgid:28823 ppid:5214 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6997 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:strnlen+0x35/0x80 lib/string.c:414 Code: 2c 37 53 48 83 ec 08 48 85 f6 74 3c 48 bb 00 00 00 00 00 fc ff df 49 89 fc 48 89 f8 eb 09 48 83 c0 01 48 39 e8 74 1e 48 89 c2 <48> 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 15 RSP: 0018:ffffc900048176f8 EFLAGS: 00000283 RAX: ffff888029e844b8 RBX: dffffc0000000000 RCX: 0000000000000007 RDX: ffff888029e844b8 RSI: 0000000000000010 RDI: ffff888029e844b0 RBP: ffff888029e844c0 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888029e844b0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 strnlen include/linux/fortify-string.h:233 [inline] sized_strscpy include/linux/fortify-string.h:309 [inline] __update_page_owner_handle+0x1d5/0x320 mm/page_owner.c:251 __set_page_owner+0x13f/0x560 mm/page_owner.c:325 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x101e/0x3070 mm/page_alloc.c:3457 __alloc_pages_noprof+0x223/0x25c0 mm/page_alloc.c:4733 alloc_pages_mpol_noprof+0x2c9/0x610 mm/mempolicy.c:2265 vm_area_alloc_pages mm/vmalloc.c:3568 [inline] __vmalloc_area_node mm/vmalloc.c:3646 [inline] __vmalloc_node_range_noprof+0x724/0x15a0 mm/vmalloc.c:3828 vmalloc_user_noprof+0x6b/0x90 mm/vmalloc.c:3982 kcov_ioctl+0x4c/0x730 kernel/kcov.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 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:0x7fb37077dbfb RSP: 002b:00007ffd3147e260 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007fb37077dbfb RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000e0 RBP: 00007fb3709366d8 R08: 00000000000000da R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 task:kworker/u8:5 state:R running task stack:22320 pid:10685 tgid:10685 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6997 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:memory_is_poisoned_n mm/kasan/generic.c:130 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x5a/0x1a0 mm/kasan/generic.c:189 Code: b3 00 00 00 4c 8d 54 37 ff 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 49 c1 e9 03 48 01 c5 49 01 c1 48 89 e8 <49> 8d 59 01 48 89 da 48 29 ea 48 83 fa 10 0f 8e 8d 00 00 00 41 89 RSP: 0018:ffffc900032dfaa8 EFLAGS: 00000286 RAX: fffffbfff20be571 RBX: 1ffff9200065bf5b RCX: ffffffff816aa689 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff905f2b88 RBP: fffffbfff20be571 R08: 0000000000000000 R09: fffffbfff20be571 R10: ffffffff905f2b8f R11: 0000000000000000 R12: ffffffff8e1b8340 R13: 000000000003dbcc R14: 000000000003dbcc R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1117 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xa9/0x6f0 kernel/locking/lockdep.c:5836 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x88c/0x1060 net/batman-adv/network-coding.c:719 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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 10465 jiffies! g286837 f0x2 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:26048 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8195 Comm: kworker/0:0 Not tainted 6.12.0-rc1-syzkaller-00031-ge32cde8d2bd7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:lookup_object lib/debugobjects.c:193 [inline] RIP: 0010:debug_object_deactivate+0x170/0x370 lib/debugobjects.c:765 Code: 42 80 3c 28 00 0f 85 ca 01 00 00 48 8b 9b 20 10 9a 9a 45 31 e4 48 85 db 0f 84 36 01 00 00 49 bd 00 00 00 00 00 fc ff df eb 1e <48> 89 d8 48 c1 e8 03 42 80 3c 28 00 0f 85 7f 01 00 00 48 8b 1b 48 RSP: 0018:ffffc90000007c80 EFLAGS: 00000087 RAX: 1ffff1102e1d7df4 RBX: ffff888170ebef88 RCX: 0000000000000002 RDX: 1ffffffff3541ecf RSI: 0000000000000004 RDI: ffff888170ebefa0 RBP: ffffc90000007d58 R08: 0000000000000001 R09: fffff52000000f7e R10: 0000000000000003 R11: 0000000000000000 R12: 000000000000002d R13: dffffc0000000000 R14: ffff88805dae2c10 R15: 1ffff92000000f92 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9526134b8 CR3: 0000000065dee000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_timer_deactivate kernel/time/timer.c:841 [inline] debug_deactivate kernel/time/timer.c:885 [inline] detach_timer kernel/time/timer.c:932 [inline] expire_timers kernel/time/timer.c:1828 [inline] __run_timers+0x5de/0x930 kernel/time/timer.c:2419 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2423 [inline] run_timer_base+0x111/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 do_softirq kernel/softirq.c:455 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:442 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382 spin_unlock_bh include/linux/spinlock.h:396 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x870/0xc80 drivers/net/netdevsim/dev.c:850 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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