rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (0 ticks this GP) idle=d28c/1/0x4000000000000000 softirq=27593/27593 fqs=2
(detected by 1, t=10502 jiffies, g=36909, q=226 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5279 Comm: syz-executor.4 Not tainted 6.1.0-rc3-next-20221104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:check_preemption_disabled+0x3d/0x170 lib/smp_processor_id.c:56
Code: 65 44 8b 25 01 21 64 76 65 8b 1d f6 20 64 76 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 <5b> 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c 5b 81 e3 00 02 00 00
RSP: 0018:ffffc90000007c80 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 0000000000010001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000010001 RDI: 0000000000000000
RBP: ffffffff8a499ce0 R08: 0000000000000000 R09: ffffffff8de2f357
R10: fffffbfff1bc5e6a R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff89eca540 R14: ffff888076b89300 R15: 0000000000000000
FS: 0000555555ed0400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9470d7f1b8 CR3: 000000003d49b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline]
lock_acquire kernel/locking/lockdep.c:5667 [inline]
lock_acquire+0x1a4/0x630 kernel/locking/lockdep.c:5633
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:350 [inline]
advance_sched+0x53/0x9a0 net/sched/sch_taprio.c:700
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x690/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:task_stack_page include/linux/sched/task_stack.h:21 [inline]
RIP: 0010:check_stack_object+0x36/0xb0 mm/usercopy.c:39
Code: 65 4c 8b 24 25 40 99 03 00 e8 e6 67 a7 ff 49 8d 7c 24 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 6c <4d> 8b 64 24 20 48 01 eb 4c 39 e3 76 45 e8 b8 67 a7 ff 4d 8d ac 24
RSP: 0018:ffffc90003fbfab8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 1ffff1100fa62754 RSI: ffffffff81d5682a RDI: ffff88807d313aa0
RBP: ffff88801d1dc330 R08: 0000000000000007 R09: 0000000000000010
R10: ffff88801d1dc330 R11: 0000000000000001 R12: ffff88807d313a80
R13: 0000000000000001 R14: ffff88801d1dc333 R15: ffff88801d1dc330
__check_object_size mm/usercopy.c:226 [inline]
__check_object_size+0x96/0x5a0 mm/usercopy.c:213
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_data_to_user+0x65/0x1e0 net/netfilter/x_tables.c:316
xt_target_to_user net/netfilter/x_tables.c:344 [inline]
xt_target_to_user+0x165/0x200 net/netfilter/x_tables.c:340
copy_entries_to_user net/ipv4/netfilter/ip_tables.c:861 [inline]
get_entries net/ipv4/netfilter/ip_tables.c:1024 [inline]
do_ipt_get_ctl+0x819/0x9d0 net/ipv4/netfilter/ip_tables.c:1663
nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116
ip_getsockopt+0x185/0x1e0 net/ipv4/ip_sockglue.c:1796
tcp_getsockopt+0x95/0xf0 net/ipv4/tcp.c:4407
__sys_getsockopt+0x216/0x690 net/socket.c:2290
__do_sys_getsockopt net/socket.c:2305 [inline]
__se_sys_getsockopt net/socket.c:2302 [inline]
__x64_sys_getsockopt+0xba/0x150 net/socket.c:2302
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:0x7f9470c8cbca
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:00007ffce91db758 EFLAGS: 00000212 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9470c8cbca
RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffce91db780 R08: 00007ffce91db77c R09: feff646b666d606c
R10: 00007ffce91db7e0 R11: 0000000000000212 R12: 00007ffce91db7e0
R13: 0000000000000003 R14: 00007ffce91db77c R15: 00007f9470d83aa0
rcu: rcu_preempt kthread timer wakeup didn't happen for 10489 jiffies! g36909 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=1 timer-softirq=18416
rcu: rcu_preempt kthread starved for 10490 jiffies! g36909 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28600 pid:16 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5211 [inline]
__schedule+0xb8a/0x5450 kernel/sched/core.c:6523
schedule+0xda/0x1b0 kernel/sched/core.c:6599
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935
rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1654
rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1853
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 6474 Comm: kworker/u4:16 Not tainted 6.1.0-rc3-next-20221104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline]
RIP: 0010:smp_call_function_many_cond+0x444/0x10a0 kernel/smp.c:987
Code: 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 a3 e3 0a 00 f3 90 41 0f b6 45 00 <41> 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 ff 83 e0 01 41
RSP: 0018:ffffc9000653f970 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff8880b9a42a20 RCX: 0000000000000000
RDX: ffff88801e4e1d40 RSI: ffffffff8171ec6d RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003
R13: ffffed1017348545 R14: 0000000000000001 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fedb4f2d718 CR3: 000000000bc8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1155
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1772 [inline]
text_poke_bp_batch+0x22e/0x6b0 arch/x86/kernel/alternative.c:1963
text_poke_flush arch/x86/kernel/alternative.c:2131 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2128 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32f/0x410 kernel/jump_label.c:797
static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:173
static_key_enable+0x16/0x20 kernel/jump_label.c:186
toggle_allocation_gate mm/kfence/core.c:800 [inline]
toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:792
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308