rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10506 jiffies, g=297233, q=240 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10506 (4295293591-4295283085), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10506 jiffies! g297233 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:28672 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5194 [inline] __schedule+0xbd2/0x55b0 kernel/sched/core.c:6506 schedule+0xda/0x1b0 kernel/sched/core.c:6582 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1658 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1857 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3646 Comm: syz-executor.1 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:rb_insert_color+0x15/0x7a0 lib/rbtree.c:435 Code: eb cf 48 89 3c 24 e8 9a ef 85 f8 48 8b 3c 24 eb 80 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 41 57 48 c1 ea 03 41 56 <41> 55 41 54 49 89 fc 55 53 48 83 ec 08 80 3c 02 00 0f 85 5f 05 00 RSP: 0018:ffffc90000007d90 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 1ffff110040d1368 RSI: ffff8880b9a2a690 RDI: ffff888020689b40 RBP: ffff888020689b40 R08: 0000000000000006 R09: ffff888020689b40 R10: ffff888020689b40 R11: 0000000000000001 R12: ffff8880b9a2a540 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888020689b40 FS: 0000555556a2b400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20c2410110 CR3: 0000000033a9d000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rb_insert_color_cached include/linux/rbtree.h:114 [inline] rb_add_cached include/linux/rbtree.h:183 [inline] timerqueue_add+0x284/0x330 lib/timerqueue.c:40 enqueue_hrtimer+0x1aa/0x470 kernel/time/hrtimer.c:1091 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xc12/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:valid_section include/linux/mmzone.h:1758 [inline] RIP: 0010:pfn_valid include/linux/mmzone.h:1854 [inline] RIP: 0010:__virt_addr_valid+0x199/0x2d0 arch/x86/mm/physaddr.c:65 Code: 83 e5 7f 48 c1 e5 05 4c 01 e5 0f 84 d6 fe ff ff e8 ac fe 45 00 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 fd 00 00 00 4c 8b 6d 00 31 ff 45 31 e4 4d 89 ee 41 83 e6 02 RSP: 0018:ffffc9000445fab0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 000000000de22cd0 RCX: 0000000000000000 RDX: 1ffff11027fff204 RSI: ffffffff81369554 RDI: 0000000000000007 RBP: ffff88813fff9020 R08: 0000000000000007 R09: 000000000007ffff R10: 0000000000000001 R11: 0000000000000000 R12: ffff88813fff9000 R13: 0000000000000000 R14: 00000000ffffff00 R15: 00007ffe0fccdb92 check_heap_object mm/usercopy.c:188 [inline] __check_object_size mm/usercopy.c:250 [inline] __check_object_size+0xe0/0x5a0 mm/usercopy.c:212 check_object_size include/linux/thread_info.h:199 [inline] check_copy_size include/linux/thread_info.h:235 [inline] copy_to_user include/linux/uaccess.h:168 [inline] xt_obj_to_user+0x8e/0x110 net/netfilter/x_tables.c:299 xt_target_to_user+0xa8/0x200 net/netfilter/x_tables.c:343 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:877 [inline] get_entries net/ipv6/netfilter/ip6_tables.c:1041 [inline] do_ip6t_get_ctl+0x84c/0xa10 net/ipv6/netfilter/ip6_tables.c:1672 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x1eb/0x2a0 net/ipv6/ipv6_sockglue.c:1509 tcp_getsockopt+0x95/0xf0 net/ipv4/tcp.c:4398 __sys_getsockopt+0x216/0x690 net/socket.c:2296 __do_sys_getsockopt net/socket.c:2311 [inline] __se_sys_getsockopt net/socket.c:2308 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f444da8bbca Code: 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe0fccda38 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00007f444da8bbca RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007ffe0fccda60 R08: 00007ffe0fccda5c R09: ffffffffffff0000 R10: 00007ffe0fccdac0 R11: 0000000000000212 R12: 00007ffe0fccdac0 R13: 0000000000000003 R14: 00007ffe0fccda5c R15: 00007f444db7fb60