rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P18572/1:b..l P18598/1:b..l rcu: (detected by 0, t=10502 jiffies, g=127141, q=458 ncpus=2) task:syz.1.2258 state:R running task stack:24672 pid:18598 tgid:18598 ppid:14531 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6925 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8e e8 7f 2c e3 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90002def750 EFLAGS: 00000207 RAX: 0000000000000002 RBX: ffff88801fd17800 RCX: ffffffff8baf6694 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff95346be0 RBP: ffffc90002def950 R08: ffffffff8baf6662 R09: ffffffff8bb152ab R10: 0000000000000004 R11: ffff888029c60000 R12: 1ffff11003fa2f00 R13: dffffc0000000000 R14: ffff88801fd17e1e R15: 0000000000000003 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_inc include/linux/atomic/atomic-instrumented.h:435 [inline] mas_validate_gaps lib/maple_tree.c:7371 [inline] mt_validate+0x2ea4/0x4aa0 lib/maple_tree.c:7593 validate_mm+0xe7/0x530 mm/mmap.c:329 mmap_region+0x1a61/0x2090 mm/mmap.c:3071 do_mmap+0x8f9/0x1010 mm/mmap.c:1468 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 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:0x7f0efdb773f3 RSP: 002b:00007ffdd4ee6ab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f0efbe006c0 RCX: 00007f0efdb773f3 RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffdd4ee6c10 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000 task:syz.4.2249 state:R running task stack:23224 pid:18572 tgid:18558 ppid:15589 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6925 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5826 Code: 2b 00 74 08 4c 89 f7 e8 4a 9f 8b 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90000a0e780 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000141cfc RCX: b65daaf9bd510300 RDX: dffffc0000000000 RSI: ffffffff8c0ae6e0 RDI: ffffffff8c607c40 RBP: ffffc90000a0e8d8 R08: ffffffff93737807 R09: 1ffffffff26e6f00 R10: dffffc0000000000 R11: fffffbfff26e6f01 R12: 1ffff92000141cf8 R13: dffffc0000000000 R14: ffffc90000a0e7e0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] cond_resched_rcu+0xd4/0x170 include/linux/rcupdate_wait.h:64 hash_netiface6_list+0x308/0x1160 net/netfilter/ipset/ip_set_hash_gen.h:1375 ip_set_dump_do+0xf46/0x1750 net/netfilter/ipset/ip_set_core.c:1655 netlink_dump+0x647/0xd80 net/netlink/af_netlink.c:2325 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2440 netlink_dump_start include/linux/netlink.h:339 [inline] ip_set_dump+0x16d/0x1f0 net/netfilter/ipset/ip_set_core.c:1712 nfnetlink_rcv_msg+0xbec/0x1180 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 nfnetlink_rcv+0x297/0x2a90 net/netfilter/nfnetlink.c:664 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 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:0x7f0729f773b9 RSP: 002b:00007f072ad3b048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f072a106058 RCX: 00007f0729f773b9 RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000007 RBP: 00007f0729fe48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f072a106058 R15: 00007ffc99325028 rcu: rcu_preempt kthread starved for 10560 jiffies! g127141 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:24176 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 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 UID: 0 PID: 17695 Comm: syz-executor Not tainted 6.11.0-rc1-next-20240729-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:check_preemption_disabled+0x19/0x120 lib/smp_processor_id.c:14 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 <65> 8b 1d bc 23 4a 74 65 8b 05 b1 23 4a 74 a9 ff ff ff 7f 74 26 65 RSP: 0018:ffffc90000a17fc8 EFLAGS: 00000082 RAX: bed97395ece0ea00 RBX: 0000000000000001 RCX: ffffffff816fafd4 RDX: 0000000000000000 RSI: ffffffff8c607c20 RDI: ffffffff8c607be0 RBP: ffffc90000a18168 R08: ffffffff9017d76f R09: 1ffffffff202faed R10: dffffc0000000000 R11: fffffbfff202faee R12: 1ffff9200014300c R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000143030 FS: 0000555586b32500(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c30e724 CR3: 000000005d160000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:726 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xe3/0x550 kernel/locking/lockdep.c:5793 seqcount_lockdep_reader_access+0xfc/0x220 include/linux/seqlock.h:72 timekeeping_debug_get_ns kernel/time/timekeeping.c:256 [inline] timekeeping_get_ns+0x5c/0x420 kernel/time/timekeeping.c:401 ktime_get_update_offsets_now+0x90/0x250 kernel/time/timekeeping.c:2449 hrtimer_update_base kernel/time/hrtimer.c:634 [inline] hrtimer_interrupt+0x133/0x990 kernel/time/hrtimer.c:1797 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:memset_orig+0x52/0xb0 arch/x86/lib/memset_64.S:75 Code: 06 74 35 0f 1f 44 00 00 48 ff c9 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 <48> 8d 7f 40 75 d8 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 RSP: 0018:ffffc90000a18508 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffff888049d9baf0 RCX: 0000000000000005 RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffc90000a18590 RBP: ffffc90000a18738 R08: ffffffff897fdfe7 R09: 0000000000000000 R10: ffffc90000a18510 R11: ffff888061465a00 R12: 00000000000000f0 R13: ffff8880196e7780 R14: 0000000000000820 R15: ffffc90000a18510 kasan_save_stack mm/kasan/common.c:44 [inline] kasan_save_track+0x30/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:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4080 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:664 skb_copy+0x12b/0x820 net/core/skbuff.c:2143 mac80211_hwsim_tx_frame_no_nl+0x106b/0x18d0 drivers/net/wireless/virtual/mac80211_hwsim.c:1866 mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x222/0x510 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:2345 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0x2c4/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:5113 Code: c9 50 e8 39 b8 0b 00 48 83 c4 08 4c 89 f7 e8 dd 38 00 00 e9 de 04 00 00 4c 89 f7 e8 e0 b8 5f 0a e8 fb 85 37 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:ffffc900044f7988 EFLAGS: 00000282 RAX: bed97395ece0ea00 RBX: ffff888061465a00 RCX: ffffffff94f2f903 RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: ffffffff8c607c40 RBP: ffffc900044f79d0 R08: ffffffff9017d76f R09: 1ffffffff202faed R10: dffffc0000000000 R11: fffffbfff202faee R12: 1ffff11017267ef3 R13: dffffc0000000000 R14: ffff8880b923ea00 R15: ffff8880b933f798 context_switch kernel/sched/core.c:5242 [inline] __schedule+0x1808/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2030 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2083 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1373 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:0x7ff5cf5a93a5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffce98f5780 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000003d RCX: 00007ff5cf5a93a5 RDX: 00007ffce98f57c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffce98f581c R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000010c22e R14: 000000000010c141 R15: 00007ffce98f5870