rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=ee54/1/0x4000000000000000 softirq=15500/15501 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=18873, q=178 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6737 Comm: syz.4.404 Not tainted 6.10.0-rc5-syzkaller-00294-g3ffea9a7a6f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:trace_hrtimer_expire_exit include/trace/events/timer.h:306 [inline] RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1692 [inline] RIP: 0010:__hrtimer_run_queues+0x63e/0xd50 kernel/time/hrtimer.c:1753 Code: 00 00 89 de e8 33 a9 12 00 31 ff 89 de e8 2a a9 12 00 45 84 ff 74 1a e8 d0 d2 f8 ff 84 c0 4c 8b 7c 24 40 48 8b 5c 24 20 74 18 0d a6 12 00 eb 23 e8 06 a6 12 00 4c 8b 7c 24 40 48 8b 5c 24 20 RSP: 0018:ffffc90000a18d60 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff8880b952c9c8 RCX: ffffffff81838360 RDX: ffff8880220f5a00 RSI: ffffffff8c1f1760 RDI: ffffffff8c1f1720 RBP: ffffc90000a18ea8 R08: ffffffff81838386 R09: 1ffffffff1f5848d R10: dffffc0000000000 R11: fffffbfff1f5848e R12: 1ffff110172a593b R13: 0000000000000001 R14: ffff888069865340 R15: ffff8880b952c880 FS: 00007f5a855366c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c8000 CR3: 0000000029c5e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 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+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:235 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x8/0x90 kernel/kcov.c:311 Code: 44 0a 20 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 0c 25 80 d4 03 00 65 8b 05 e0 a5 6d 7e a9 00 01 ff 00 74 RSP: 0018:ffffc9000bd26b98 EFLAGS: 00000287 RAX: ffffffff82046bc2 RBX: 00000000000609a0 RCX: 0000000000040000 RDX: ffffc9000a46c000 RSI: 00000000000609a0 RDI: 0010000000000000 RBP: ffffc9000bd26cd0 R08: ffffffff82046bd4 R09: 1ffffd4000304d00 R10: dffffc0000000000 R11: fffff94000304d01 R12: 0000000000000001 R13: 00000000000609a0 R14: 1ffff920017a4d88 R15: 1ffff920017a4d8c pfn_valid+0x24/0x440 include/linux/mmzone.h:2015 page_table_check_set+0x25/0x550 mm/page_table_check.c:110 __page_table_check_ptes_set+0x30f/0x410 mm/page_table_check.c:225 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:267 [inline] do_swap_page+0x310e/0x4600 mm/memory.c:4257 handle_pte_fault+0x63e/0x7090 mm/memory.c:5384 __handle_mm_fault mm/memory.c:5524 [inline] handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5689 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc9000bd27558 EFLAGS: 00050206 RAX: ffffffff84a3f001 RBX: 00000000000101d0 RCX: 000000000000b5d0 RDX: 0000000000000001 RSI: 00000000201c8000 RDI: ffff888067fc4ce8 RBP: ffffc9000bd276d0 R08: ffff888067fd02b7 R09: 1ffff1100cffa056 R10: dffffc0000000000 R11: ffffed100cffa057 R12: 1ffff920017a4fc3 R13: 00000000201c3400 R14: ffffc9000bd27e18 R15: ffff888067fc00e8 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:125 [inline] copy_from_user_iter lib/iov_iter.c:55 [inline] iterate_ubuf include/linux/iov_iter.h:29 [inline] iterate_and_advance2 include/linux/iov_iter.h:245 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] __copy_from_iter lib/iov_iter.c:249 [inline] _copy_from_iter+0x26b/0x1960 lib/iov_iter.c:260 copy_from_iter include/linux/uio.h:204 [inline] copy_from_iter_full include/linux/uio.h:221 [inline] tipc_msg_build+0x488/0x1070 net/tipc/msg.c:408 __tipc_sendstream+0xa39/0x14e0 net/tipc/socket.c:1617 tipc_sendstream+0x55/0x70 net/tipc/socket.c:1548 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2585 ___sys_sendmsg net/socket.c:2639 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2668 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:0x7f5a84775b99 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5a85536048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5a84904228 RCX: 00007f5a84775b99 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 000000000000000b RBP: 00007f5a847f677e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5a84904228 R15: 00007fffdc7bc108 rcu: rcu_preempt kthread starved for 10502 jiffies! g18873 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:24912 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 6729 Comm: syz.4.404 Not tainted 6.10.0-rc5-syzkaller-00294-g3ffea9a7a6f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70 kernel/kcov.c:207 Code: 24 65 48 8b 0c 25 80 d4 03 00 65 8b 15 c0 aa 6d 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c <8b> 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 RSP: 0018:ffffc90002ffed38 EFLAGS: 00000246 RAX: ffffffff818a2158 RBX: 1ffff110172a8891 RCX: ffff888024f48000 RDX: 0000000000000003 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90002ffef20 R08: ffffffff818a2127 R09: 1ffffffff25ee2b0 R10: dffffc0000000000 R11: fffffbfff25ee2b1 R12: dffffc0000000000 R13: ffff8880b9544488 R14: ffff8880b943f880 R15: 0000000000000001 FS: 00007f5a855996c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c8000 CR3: 0000000029c5e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x1878/0x29d0 kernel/smp.c:855 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:941 [inline] flush_tlb_mm_range+0x329/0x5c0 arch/x86/mm/tlb.c:1027 flush_tlb_page arch/x86/include/asm/tlbflush.h:254 [inline] ptep_clear_flush+0x11a/0x170 mm/pgtable-generic.c:101 wp_page_copy mm/memory.c:3351 [inline] do_wp_page+0x1bf0/0x52f0 mm/memory.c:3677 handle_pte_fault+0x117e/0x7090 mm/memory.c:5397 __handle_mm_fault mm/memory.c:5524 [inline] handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5689 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc90002fff958 EFLAGS: 00050206 RAX: ffff888012941001 RBX: 0000000020d08e80 RCX: 0000000000000e80 RDX: 0000000000000000 RSI: ffff888012941180 RDI: 0000000020d08000 RBP: ffffc90002fffad8 R08: ffff888012941fff R09: 1ffff110025283ff R10: dffffc0000000000 R11: ffffed1002528400 R12: dffffc0000000000 R13: 1ffff920005fff40 R14: 0000000000001000 R15: ffff888012941000 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_iovec include/linux/iov_iter.h:51 [inline] iterate_and_advance2 include/linux/iov_iter.h:247 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x4c0/0x1960 lib/iov_iter.c:185 copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:362 process_vm_rw_pages mm/process_vm_access.c:45 [inline] process_vm_rw_single_vec mm/process_vm_access.c:118 [inline] process_vm_rw_core mm/process_vm_access.c:216 [inline] process_vm_rw+0x871/0xcf0 mm/process_vm_access.c:284 __do_sys_process_vm_readv mm/process_vm_access.c:296 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:292 [inline] __x64_sys_process_vm_readv+0xe0/0x100 mm/process_vm_access.c:292 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:0x7f5a84775b99 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5a85599048 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007f5a84903fa0 RCX: 00007f5a84775b99 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 00000000000000d1 RBP: 00007f5a847f677e R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5a84903fa0 R15: 00007fffdc7bc108