rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=bd5/1/0x4000000000000000 softirq=196962/196962 fqs=8 (t=10500 jiffies g=377929 q=427) rcu: rcu_preempt kthread starved for 9700 jiffies! g377929 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28264 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6481 Comm: syz-fuzzer Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:visit_lock_entry kernel/locking/lockdep.c:1479 [inline] RIP: 0010:__bfs+0x3ad/0x720 kernel/locking/lockdep.c:1759 Code: c1 ee 03 42 80 3c 36 00 0f 85 77 01 00 00 48 8b 00 4c 39 c0 0f 84 4e fd ff ff 48 8d 78 30 48 89 fe 48 c1 ee 03 42 80 3c 36 00 <74> cc 4c 89 44 24 20 48 89 44 24 18 e8 a2 2b 61 00 4c 8b 44 24 20 RSP: 0018:ffffc900029475f0 EFLAGS: 00000046 RAX: ffffffff8ff367d8 RBX: 0000000000000030 RCX: 1ffffffff204c538 RDX: 0000000000000111 RSI: 1ffffffff1fe6d01 RDI: ffffffff8ff36808 RBP: ffffffff815ad8c0 R08: ffffffff8fd1c710 R09: ffffffff8fea5598 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc90002947740 R13: ffffc900029477d0 R14: dffffc0000000000 R15: ffffc900029477c0 FS: 000000c00002e490(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557548848 CR3: 00000000237b1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bfs_backwards kernel/locking/lockdep.c:1803 [inline] check_irq_usage+0x183/0xac0 kernel/locking/lockdep.c:2743 check_prev_add kernel/locking/lockdep.c:3055 [inline] check_prevs_add kernel/locking/lockdep.c:3174 [inline] validate_chain kernel/locking/lockdep.c:3789 [inline] __lock_acquire+0x2a1f/0x54a0 kernel/locking/lockdep.c:5015 lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 _raw_spin_lock_nested+0x30/0x40 kernel/locking/spinlock.c:368 raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 raw_spin_rq_lock kernel/sched/sched.h:1315 [inline] rq_lock kernel/sched/sched.h:1613 [inline] ttwu_queue kernel/sched/core.c:3791 [inline] try_to_wake_up+0x4a0/0x15a0 kernel/sched/core.c:4116 signal_wake_up_state+0x2b/0x60 kernel/signal.c:770 signal_wake_up include/linux/sched/signal.h:419 [inline] complete_signal+0x818/0x950 kernel/signal.c:1052 __send_signal+0x65c/0x10b0 kernel/signal.c:1182 do_send_sig_info kernel/signal.c:1294 [inline] group_send_sig_info+0x26a/0x2d0 kernel/signal.c:1432 kill_pid_info+0x9f/0x200 kernel/signal.c:1466 kill_proc_info+0x6e/0x180 kernel/signal.c:1483 kill_something_info+0x2ab/0x320 kernel/signal.c:1580 __do_sys_kill kernel/signal.c:3770 [inline] __se_sys_kill kernel/signal.c:3764 [inline] __x64_sys_kill+0x1b6/0x240 kernel/signal.c:3764 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+0x44/0xae RIP: 0033:0x4b1376 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 1b 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c00b516e98 EFLAGS: 00000206 ORIG_RAX: 000000000000003e RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004b1376 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00000000000019a7 RBP: 000000c00b516ed8 R08: 000000c010b3e240 R09: 000000c010b3e240 R10: 0000000000000000 R11: 0000000000000206 R12: 000000c00b516f68 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000005a4c NMI backtrace for cpu 0 CPU: 0 PID: 25357 Comm: syz-executor.5 Not tainted 5.15.0-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq.cold+0x9d/0x746 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:1421 __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+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__kernel_text_address+0x8/0xc0 kernel/extable.c:104 Code: 00 00 31 c0 48 81 ff 00 00 60 8b 72 0c 31 c0 48 81 ff 40 bd 70 8d 0f 92 c0 c3 0f 1f 84 00 00 00 00 00 48 81 ff 00 00 00 81 53 <48> 89 fb 72 09 48 81 ff 35 87 60 89 72 73 48 c7 c0 04 7f 6e 8d 48 RSP: 0018:ffffc90000007790 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: ffffc900000077b8 RCX: 0000000000000000 RDX: 1ffff92000000f00 RSI: ffffc90009c57b48 RDI: ffffffff81433182 RBP: ffffc90000007800 R08: ffffffff8df39e04 R09: 0000000000000001 R10: fffff52000000f02 R11: 0000000000086089 R12: ffffc90000007870 R13: 0000000000000000 R14: ffff8880a3a980c0 R15: 00000000000001c0 unwind_get_return_address arch/x86/kernel/unwind_orc.c:318 [inline] unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:313 arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa1/0xd0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:269 [inline] kmem_cache_alloc_node_trace+0x20b/0x5c0 mm/slab.c:3619 __do_kmalloc_node mm/slab.c:3639 [inline] __kmalloc_node_track_caller+0x38/0x60 mm/slab.c:3654 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:427 __netdev_alloc_skb+0x73/0x400 net/core/skbuff.c:494 netdev_alloc_skb include/linux/skbuff.h:2877 [inline] dev_alloc_skb include/linux/skbuff.h:2890 [inline] hsr_init_skb+0x126/0x540 net/hsr/hsr_device.c:247 send_hsr_supervision_frame+0x102/0x8d0 net/hsr/hsr_device.c:291 hsr_announce+0x109/0x330 net/hsr/hsr_device.c:382 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_region_inline mm/kasan/generic.c:175 [inline] RIP: 0010:kasan_check_range+0x27/0x180 mm/kasan/generic.c:189 Code: 0f 1f 00 48 85 f6 0f 84 70 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 53 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff <48> 39 c7 0f 86 05 01 00 00 49 83 e9 01 48 89 fd 48 b8 00 00 00 00 RSP: 0018:ffffc90009c57638 EFLAGS: 00000282 RAX: ffff7fffffffffff RBX: ffff88806e189040 RCX: ffffffff819f4a20 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea0000bbb6f4 RBP: ffffea0000bbb6c0 R08: 0000000000000000 R09: ffffea0000bbb6f8 R10: ffffffff819f4776 R11: 0000000000000000 R12: ffffea0000bbb6f4 R13: 0000000000000006 R14: ffffea0000bbb6c0 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] page_ref_count include/linux/page_ref.h:67 [inline] put_page_testzero include/linux/mm.h:737 [inline] release_pages+0x450/0x1480 mm/swap.c:938 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:249 zap_pte_range mm/memory.c:1432 [inline] zap_pmd_range mm/memory.c:1481 [inline] zap_pud_range mm/memory.c:1510 [inline] zap_p4d_range mm/memory.c:1531 [inline] unmap_page_range+0x1c58/0x2a10 mm/memory.c:1552 unmap_single_vma+0x198/0x310 mm/memory.c:1597 unmap_vmas+0x16b/0x2f0 mm/memory.c:1629 exit_mmap+0x1d0/0x630 mm/mmap.c:3171 __mmput+0x122/0x4b0 kernel/fork.c:1114 mmput+0x56/0x60 kernel/fork.c:1135 exit_mm kernel/exit.c:502 [inline] do_exit+0xab8/0x2a20 kernel/exit.c:813 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47d/0x21d0 kernel/signal.c:2855 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/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:0x7fcfeae6aae9 Code: Unable to access opcode bytes at RIP 0x7fcfeae6aabf. RSP: 002b:00007fcfe83e0188 EFLAGS: 00000246 ORIG_RAX: 00000000000000c8 RAX: 0000000000000000 RBX: 00007fcfeaf7df60 RCX: 00007fcfeae6aae9 RDX: 0000000000000000 RSI: 0000000000000034 RDI: 0000000000000d23 RBP: 00007fcfeaec4f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe415fa01f R14: 00007fcfe83e0300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: c1 ee 03 shr $0x3,%esi 3: 42 80 3c 36 00 cmpb $0x0,(%rsi,%r14,1) 8: 0f 85 77 01 00 00 jne 0x185 e: 48 8b 00 mov (%rax),%rax 11: 4c 39 c0 cmp %r8,%rax 14: 0f 84 4e fd ff ff je 0xfffffd68 1a: 48 8d 78 30 lea 0x30(%rax),%rdi 1e: 48 89 fe mov %rdi,%rsi 21: 48 c1 ee 03 shr $0x3,%rsi 25: 42 80 3c 36 00 cmpb $0x0,(%rsi,%r14,1) * 2a: 74 cc je 0xfffffff8 <-- trapping instruction 2c: 4c 89 44 24 20 mov %r8,0x20(%rsp) 31: 48 89 44 24 18 mov %rax,0x18(%rsp) 36: e8 a2 2b 61 00 callq 0x612bdd 3b: 4c 8b 44 24 20 mov 0x20(%rsp),%r8