rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=80dc/1/0x4000000000000000 softirq=48464/48466 fqs=9 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5839/1:b..l rcu: (detected by 0, t=10502 jiffies, g=87825, q=206 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16254 Comm: syz-executor.0 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x10d/0x190 mm/kasan/generic.c:187 Code: 00 00 7c 0b 44 89 c2 e8 c1 ed ff ff 83 f0 01 5b 5d 41 5c c3 48 85 d2 74 4f 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 41 80 38 00 <74> f2 eb b6 41 bc 08 00 00 00 45 29 dc 49 8d 14 2c eb 0c 48 83 c0 RSP: 0018:ffffc900003f8d40 EFLAGS: 00000046 RAX: ffffed100efb7e5d RBX: ffffed100efb7e5e RCX: ffffffff81677973 RDX: ffffed100efb7e5e RSI: 0000000000000004 RDI: ffff888077dbf2e8 RBP: ffffed100efb7e5d R08: 0000000000000000 R09: ffffed100efb7e5d R10: ffff888077dbf2eb R11: 0000000000000001 R12: 0000000000000002 R13: ffff888037d8b000 R14: ffff888077dbf340 R15: ffff888016e94c00 FS: 00007f62a03b36c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f629f798000 CR3: 00000000361b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:57 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline] do_raw_spin_unlock+0x53/0x230 kernel/locking/spinlock_debug.c:140 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1e/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x60e/0xc60 net/sched/sch_taprio.c:992 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 b6 44 e4 f6 48 89 df e8 1e bc e4 f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 35 75 d6 f6 65 8b 05 e6 ff 80 75 85 c0 74 12 5b RSP: 0018:ffffc9000361fcb8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff8880b982b940 RCX: 1ffffffff23e2116 RDX: 0000000000000000 RSI: ffffffff8acca860 RDI: ffffffff8b2ee4a0 RBP: 0000000000000282 R08: 0000000000000001 R09: fffffbfff23e1fd0 R10: ffffffff91f0fe87 R11: 0000000000000002 R12: 0000000000000004 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 clock_was_set+0x592/0x850 kernel/time/hrtimer.c:972 do_settimeofday64+0x3b7/0x5c0 kernel/time/timekeeping.c:1345 do_sys_settimeofday64+0x1dc/0x260 kernel/time/time.c:195 __do_sys_clock_settime kernel/time/posix-timers.c:1129 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1113 [inline] __x64_sys_clock_settime+0x1bc/0x290 kernel/time/posix-timers.c:1113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f629f67cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f62a03b30c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f629f79bf80 RCX: 00007f629f67cae9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f629f6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f629f79bf80 R15: 00007ffebcea9138 task:kworker/u4:10 state:R running task stack:23552 pid:5839 tgid:5839 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1ef/0x520 kernel/locking/lockdep.c:5722 Code: c1 05 5d 77 9b 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 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:ffffc9000504fa08 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000a09f43 RCX: 00000000dd95de58 RDX: 0000000000000001 RSI: ffffffff8accab60 RDI: ffffffff8b2ee4a0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23e1fd0 R10: ffffffff91f0fe87 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cfa81e0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] inet_twsk_purge+0x12f/0x900 net/ipv4/inet_timewait_sock.c:292 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: rcu_preempt kthread starved for 10484 jiffies! g87825 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:28152 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 16258 Comm: syz-executor.3 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e4/0x1550 kernel/smp.c:855 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 3e b8 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 24 0e 00 00 8b 43 08 31 RSP: 0018:ffffc9000350f450 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b99414e0 RCX: ffffc9000b065000 RDX: 0000000000040000 RSI: ffffffff817ac822 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffffed101732829d R13: 0000000000000001 R14: ffff8880b99414e8 R15: ffff8880b983d900 FS: 00007f9cc19ce6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f923000 CR3: 0000000017bad000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 __purge_vmap_area_lazy+0x203/0x2170 mm/vmalloc.c:1749 _vm_unmap_aliases+0x693/0x9b0 mm/vmalloc.c:2306 change_page_attr_set_clr+0x24c/0x490 arch/x86/mm/pat/set_memory.c:1838 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1886 [inline] set_memory_ro+0x7c/0xa0 arch/x86/mm/pat/set_memory.c:2077 bpf_prog_lock_ro include/linux/filter.h:889 [inline] bpf_prog_select_runtime+0x4f7/0x640 kernel/bpf/core.c:2367 bpf_migrate_filter net/core/filter.c:1302 [inline] bpf_prepare_filter+0xd35/0x1100 net/core/filter.c:1350 __get_filter+0x20b/0x2b0 net/core/filter.c:1519 sk_attach_filter+0x1e/0x170 net/core/filter.c:1534 sk_setsockopt+0x2760/0x3b40 net/core/sock.c:1363 do_sock_setsockopt+0x3ed/0x470 net/socket.c:2307 __sys_setsockopt+0x1a6/0x270 net/socket.c:2334 __do_sys_setsockopt net/socket.c:2343 [inline] __se_sys_setsockopt net/socket.c:2340 [inline] __x64_sys_setsockopt+0xbd/0x150 net/socket.c:2340 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f9cc0c7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9cc19ce0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f9cc0d9c050 RCX: 00007f9cc0c7cae9 RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007f9cc0cc847a R08: 0000000000000010 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9cc0d9c050 R15: 00007fff8645cd08