rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=895/1/0x4000000000000000 softirq=22994/22996 fqs=0 (detected by 0, t=10502 jiffies, g=31101, q=52) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7667 Comm: syz-executor.0 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_lock+0x151/0x17b0 kernel/locking/lockdep.c:4566 Code: 12 00 00 48 89 ee 48 23 70 50 41 ba 01 00 00 00 0f 84 79 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 43 08 00 00 00 00 48 c7 43 10 00 00 00 00 48 8b 84 24 10 01 00 RSP: 0018:ffffc90000dc0ab0 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: fffff520001b815d RCX: 1ffffffff1fef60e RDX: dffffc0000000000 RSI: 0000000000000100 RDI: ffffffff8ff7b070 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff8ff76a0f R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000008 R13: ffff88804d3a44b0 R14: 0000000000000058 R15: ffff88804d3a44d0 FS: 00007f8181ec5700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e124000 CR3: 0000000022361000 CR4: 0000000000350ee0 Call Trace: mark_usage kernel/locking/lockdep.c:4526 [inline] __lock_acquire+0x8a7/0x54a0 kernel/locking/lockdep.c:4981 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x243/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0xc/0x70 kernel/kcov.c:286 Code: 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 <89> f1 65 48 8b 34 25 40 70 02 00 e8 14 f9 ff ff 84 c0 74 4b 48 8b RSP: 0018:ffffc900105af540 EFLAGS: 00000202 RAX: 0000000000000040 RBX: ffffffff89fdf466 RCX: ffffc90002e51000 RDX: 0000000000040000 RSI: 0000000000000040 RDI: 0000000000000003 RBP: ffffc900105af660 R08: 0000000000000009 R09: ffffffff840118aa R10: ffffffff84011d01 R11: 0000000000000070 R12: ffffffff89fdf467 R13: ffffffff89fdf466 R14: 1ffff920020b5eac R15: 0000000000000070 format_decode+0x661/0xad0 lib/vsprintf.c:2572 vsnprintf+0x157/0x14f0 lib/vsprintf.c:2757 snprintf+0xbb/0xf0 lib/vsprintf.c:2938 tomoyo_print_ipv4 security/tomoyo/network.c:93 [inline] tomoyo_audit_inet_log+0x2de/0x370 security/tomoyo/network.c:389 tomoyo_inet_entry security/tomoyo/network.c:484 [inline] tomoyo_check_inet_address+0x5db/0x710 security/tomoyo/network.c:532 tomoyo_socket_connect_permission+0x257/0x340 security/tomoyo/network.c:710 security_socket_connect+0x50/0xb0 security/security.c:2192 __sys_connect_file+0xa2/0x1a0 net/socket.c:1892 io_connect+0x15f/0x690 fs/io_uring.c:5250 io_issue_sqe+0xc64/0x7060 fs/io_uring.c:6716 __io_queue_sqe fs/io_uring.c:7022 [inline] io_req_task_submit+0xce/0x450 fs/io_uring.c:2321 tctx_task_work+0x1b3/0x630 fs/io_uring.c:2245 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x256/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f818354fe99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8181ec5168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 00000000000000d0 RBX: 00007f8183662f60 RCX: 00007f818354fe99 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000005 RBP: 00007f81835a9ff1 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd9551906f R14: 00007f8181ec5300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10502 jiffies! g31101 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:28688 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 7672 Comm: syz-executor.5 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x2125/0x2200 kernel/rcu/tree.c:2597 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:969 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 40 78 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 RSP: 0018:ffffc90010587b18 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9d3fca0 RCX: 0000000000000000 RDX: ffff88807d43ba00 RSI: ffffffff816c2a00 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816c2a26 R11: 0000000000000000 R12: ffffed10173a7f95 R13: 0000000000000001 R14: ffff8880b9d3fca8 R15: 0000000000000001 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1297 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_flush arch/x86/kernel/alternative.c:1448 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x632/0xc30 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x51/0xa0 kernel/bpf/syscall.c:2881 bpf_link_free+0xe6/0x1b0 kernel/bpf/syscall.c:2461 bpf_link_put+0x161/0x1b0 kernel/bpf/syscall.c:2487 bpf_link_release+0x33/0x40 kernel/bpf/syscall.c:2495 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1a6943aadb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fff1e904ab0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f1a6943aadb RDX: 00007f1a6959f600 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f1a6959c960 R08: 0000000000000000 R09: 00007f1a6959f608 R10: 00007fff1e904bb0 R11: 0000000000000293 R12: 0000000000042a41 R13: 00007fff1e904bb0 R14: 00007f1a6959af60 R15: 0000000000000032 ---------------- Code disassembly (best guess): 0: 12 00 adc (%rax),%al 2: 00 48 89 add %cl,-0x77(%rax) 5: ee out %al,(%dx) 6: 48 23 70 50 and 0x50(%rax),%rsi a: 41 ba 01 00 00 00 mov $0x1,%r10d 10: 0f 84 79 01 00 00 je 0x18f 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 48 01 c3 add %rax,%rbx 23: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) * 2a: c7 43 08 00 00 00 00 movl $0x0,0x8(%rbx) <-- trapping instruction 31: 48 c7 43 10 00 00 00 movq $0x0,0x10(%rbx) 38: 00 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 84 24 10 test %ah,(%rax,%rdx,1) 3e: 01 00 add %eax,(%rax)