rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (8489 ticks this GP) idle=989/1/0x4000000000000000 softirq=97982/97983 fqs=8 (t=10500 jiffies g=158053 q=319) rcu: rcu_preempt kthread starved for 10471 jiffies! g158053 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:28696 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x800 kernel/rcu/tree.c:1957 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2130 kthread+0x3e5/0x4d0 kernel/kthread.c:319 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: 5094 Comm: syz-executor.0 Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x6b/0x70 kernel/kcov.c:286 Code: 00 00 00 48 39 fe 72 22 44 89 c6 48 83 c2 01 48 89 4c 38 f0 48 c7 44 38 e0 05 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 0f 1f 40 00 53 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 RSP: 0018:ffffc90000dc09f0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff888039b1b900 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8eef304f R10: ffffffff817c37a8 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cf21000 CR3: 000000007179c000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x38/0x1c0 kernel/trace/trace_preemptirq.c:43 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:slab_alloc_node mm/slub.c:3162 [inline] RIP: 0010:__kmalloc_node_track_caller+0xed/0x340 mm/slub.c:4936 Code: 00 45 31 f6 48 85 ed 74 f1 0f 1f 44 00 00 48 c7 44 24 10 00 00 00 00 48 8b 4d 00 65 48 03 0d ba a6 44 7e 48 8b 51 08 48 8b 01 <48> 8b 79 10 48 85 c0 48 89 44 24 10 0f 84 c0 01 00 00 48 85 ff 0f RSP: 0018:ffffc90000dc0ac8 EFLAGS: 00000286 RAX: ffff88801eaf1000 RBX: 0000000000000000 RCX: ffff8880b9d355f0 RDX: 000000000014d8f1 RSI: 0000000000000200 RDI: ffffffff8bac7820 RBP: ffff888010c41c80 R08: 0000000000000000 R09: ffff8880b9d32a0b R10: ffffed10173a6541 R11: 0000000000000000 R12: 0000000000082a20 R13: 0000000000000200 R14: 0000000000000000 R15: 0000000000082a20 kmalloc_reserve net/core/skbuff.c:355 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:426 skb_copy+0x137/0x2f0 net/core/skbuff.c:1585 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb17/0x1330 drivers/net/wireless/mac80211_hwsim.c:1565 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766 __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:rcu_preempt_read_enter kernel/rcu/tree_plugin.h:375 [inline] RIP: 0010:__rcu_read_lock+0x0/0xf0 kernel/rcu/tree_plugin.h:398 Code: 5b 00 e9 fc fe ff ff e8 ae a9 5b 00 e9 4d ff ff ff e8 24 aa 5b 00 e9 66 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <48> b8 00 00 00 00 00 fc ff df 55 53 65 48 8b 1c 25 40 f0 01 00 48 RSP: 0018:ffffc90005387700 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffffffffffffffff RSI: ffffffff81b0afcd RDI: ffffea0001011180 RBP: ffffc90005387750 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81ab8781 R11: 0000000000000000 R12: ffffea0001011188 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffea0001011180 rcu_read_lock include/linux/rcupdate.h:685 [inline] lock_page_memcg+0x46/0x7d0 mm/memcontrol.c:1984 page_remove_rmap+0x25/0x1480 mm/rmap.c:1348 zap_pte_range mm/memory.c:1362 [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+0xed5/0x2a10 mm/memory.c:1552 unmap_single_vma+0x198/0x310 mm/memory.c:1597 unmap_vmas+0x16d/0x2f0 mm/memory.c:1629 exit_mmap+0x1d0/0x630 mm/mmap.c:3171 __mmput+0x122/0x4b0 kernel/fork.c:1115 mmput+0x58/0x60 kernel/fork.c:1136 exit_mm kernel/exit.c:501 [inline] do_exit+0xabc/0x2a30 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 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:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3999427739 Code: Unable to access opcode bytes at RIP 0x7f399942770f. RSP: 002b:00007f399697d218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f399952c040 RCX: 00007f3999427739 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f399952c040 RBP: 00007f399952c038 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f399952c044 R13: 00007f3999a5fb1f R14: 00007f399697d300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 5125 Comm: syz-executor.4 Not tainted 5.15.0-rc1-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:3880 [inline] rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2599 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:fq_pie_timer+0x14d/0x2a0 net/sched/sch_fq_pie.c:383 Code: 91 24 fa 48 8b 04 24 80 38 00 0f 85 16 01 00 00 89 de 48 6b f6 70 48 03 75 80 48 8d 7e 44 48 89 f8 48 c1 e8 03 42 0f b6 14 20 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d3 00 00 00 8b RSP: 0018:ffffc90000007cd0 EFLAGS: 00000a03 RAX: 1ffff11011ef8c02 RBX: 00000000000000db RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffff88808f7c5fd0 RDI: ffff88808f7c6014 RBP: ffff88807ba96b50 R08: 0000000000000400 R09: 0000000000000000 R10: ffffffff87517cd5 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000007 R14: 0000000000000400 R15: ffff88807ba96b00 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:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6687 Code: 55 53 65 48 8b 1c 25 40 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 92 60 19 f8 e8 1d f1 45 f8 fb bf 01 00 00 00 d2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 90 4f 19 RSP: 0018:ffffc90005877978 EFLAGS: 00000206 RAX: 00000000000af9b1 RBX: ffff88801b5e9c80 RCX: 1ffffffff1adc3a9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed10036bd390 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817c37a8 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:tomoyo_domain_quota_is_ok+0x2fa/0x550 security/tomoyo/util.c:1093 Code: d4 fd 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 bc 01 00 00 00 31 db e8 0f 14 d4 fd 89 d9 44 89 e0 31 ff d3 f8 <83> e0 01 41 89 c7 89 c6 e8 39 1b d4 fd 45 85 ff 74 09 e8 ef 13 d4 RSP: 0018:ffffc90005877a40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 0000000000000007 RDX: 0000000000040000 RSI: ffffffff83a1f9d1 RDI: 0000000000000000 RBP: ffff88801f4d2200 R08: 0000000000000000 R09: 0000000000000007 R10: ffffffff83a1fa0a R11: 0000000000000010 R12: 0000000000000001 R13: 0000000000000121 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x419/0x590 security/tomoyo/file.c:734 security_file_ioctl+0x50/0xb0 security/security.c:1540 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:860 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:0x7f8b9d051739 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:00007f8b9a5a7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8b9d156038 RCX: 00007f8b9d051739 RDX: 0000000020000100 RSI: 0000000000008923 RDI: 0000000000000005 RBP: 00007f8b9d0abcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8b9d156038 R13: 00007f8b9d689b1f R14: 00007f8b9a5a7300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 48 39 fe cmp %rdi,%rsi 5: 72 22 jb 0x29 7: 44 89 c6 mov %r8d,%esi a: 48 83 c2 01 add $0x1,%rdx e: 48 89 4c 38 f0 mov %rcx,-0x10(%rax,%rdi,1) 13: 48 c7 44 38 e0 05 00 movq $0x5,-0x20(%rax,%rdi,1) 1a: 00 00 1c: 48 89 74 38 e8 mov %rsi,-0x18(%rax,%rdi,1) 21: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 26: 48 89 10 mov %rdx,(%rax) * 29: c3 retq <-- trapping instruction 2a: 0f 1f 40 00 nopl 0x0(%rax) 2e: 53 push %rbx 2f: 41 89 fb mov %edi,%r11d 32: 41 89 f1 mov %esi,%r9d 35: bf 03 00 00 00 mov $0x3,%edi 3a: 65 gs 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 0c 25 or $0x25,%al