rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=b03/1/0x4000000000000000 softirq=55591/55592 fqs=2 (t=10500 jiffies g=103249 q=400) rcu: rcu_preempt kthread starved for 10494 jiffies! g103249 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:28720 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 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+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: 29518 Comm: syz-executor.0 Not tainted 5.14.0-rc3-next-20210730-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find+0x83/0xf0 arch/x86/kernel/unwind_orc.c:52 Code: 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 <48> 01 d8 48 39 c1 73 b0 4c 8d 63 fc 49 39 ec 73 b3 4d 29 ee 49 c1 RSP: 0018:ffffc90000dc0630 EFLAGS: 00000246 RAX: fffffffff4394236 RBX: ffffffff8d81a0dc RCX: ffffffff81bae3a5 RDX: 0000000000000000 RSI: ffffffff8df2c514 RDI: ffffffff8d81a0cc RBP: ffffffff8d81a0cc R08: 0000000000000000 R09: ffffffff8df2c514 R10: fffff520001b80f5 R11: 0000000000086088 R12: ffffffff8d81a0ec R13: ffffffff8d81a0cc R14: ffffffff8d81a0cc R15: dffffc0000000000 FS: 00007f7cebcbe700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7cebc7c718 CR3: 0000000091aac000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:173 [inline] unwind_next_frame+0x32a/0x1ce0 arch/x86/kernel/unwind_orc.c:443 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 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_slab_alloc+0x84/0xa0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:2959 [inline] kmem_cache_alloc_node+0x266/0x3e0 mm/slub.c:2995 __alloc_skb+0x20b/0x340 net/core/skbuff.c:414 __netdev_alloc_skb+0x73/0x400 net/core/skbuff.c:493 netdev_alloc_skb include/linux/skbuff.h:2876 [inline] dev_alloc_skb include/linux/skbuff.h:2889 [inline] __ieee80211_beacon_get+0xdfa/0x1ac0 net/mac80211/tx.c:5061 ieee80211_beacon_get_tim+0x88/0x930 net/mac80211/tx.c:5175 ieee80211_beacon_get include/net/mac80211.h:4962 [inline] mac80211_hwsim_beacon_tx+0x111/0x930 drivers/net/wireless/mac80211_hwsim.c:1808 __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:1537 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 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:1100 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:6345 Code: 55 53 65 48 8b 1c 25 00 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 b2 50 20 f8 e8 bd a2 4c f8 fb bf 01 00 00 00 92 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 c0 3f 20 RSP: 0018:ffffc90005607978 EFLAGS: 00000202 RAX: 0000000000c44829 RBX: ffff88801897d580 RCX: 1ffffffff1ada649 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed100312fab0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bdce8 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+0x17d/0x550 security/tomoyo/util.c:1059 Code: 19 da d7 fd 48 8d 7d 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 42 0f b6 04 30 38 d0 7f 08 84 c0 0f 85 4a 03 00 00 0f b6 5d 18 <31> ff 89 de e8 2a e0 d7 fd 84 db 0f 85 65 ff ff ff e8 dd d9 d7 fd RSP: 0018:ffffc90005607a40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90002e92000 RDX: 0000000000000000 RSI: ffffffff839dde17 RDI: ffff88801de81718 RBP: ffff88801de81700 R08: 0000000000000000 R09: 0000000000000010 R10: ffffffff839ddfea R11: 0000000000000010 R12: 0000000000000100 R13: 0000000000000223 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:1539 __do_sys_ioctl fs/ioctl.c:860 [inline] __se_sys_ioctl fs/ioctl.c:852 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:852 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:0x4665e9 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:00007f7cebcbe188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000020000780 RSI: 00000000d000943e RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc232a157f R14: 00007f7cebcbe300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 29566 Comm: syz-executor.0 Not tainted 5.14.0-rc3-next-20210730-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:105 nmi_cpu_backtrace.cold+0x28/0x11b 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:1537 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lockdep_copy_map include/linux/lockdep.h:35 [inline] RIP: 0010:call_timer_fn+0xf6/0x6b0 kernel/time/timer.c:1411 Code: c0 84 c1 0f 85 ae 05 00 00 48 c7 44 24 40 00 00 00 00 49 8b 44 24 28 48 c7 44 24 48 00 00 00 00 48 89 44 24 38 49 8b 44 24 40 <48> 89 44 24 50 49 8b 44 24 48 48 89 44 24 58 e8 26 ad 10 00 45 31 RSP: 0018:ffffc90000007d38 EFLAGS: 00000246 RAX: ffffffff8a8e9300 RBX: 0000000000000101 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81650a01 RDI: ffff888072ce5838 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bdce8 R11: 0000000000000000 R12: ffff888072ce5810 R13: 1ffff92000000fa8 R14: ffffffff8735c370 R15: ffff8880b9c20200 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+0x16e/0x1c0 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:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:arch_local_irq_enable arch/x86/include/asm/irqflags.h:81 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:140 [inline] RIP: 0010:put_cpu_partial+0x89/0x230 mm/slub.c:2458 Code: 80 01 00 00 4a 8b 34 fd 80 78 32 8b 4c 89 e7 4c 01 ee e8 ba fd ff ff 9c 58 f6 c4 02 0f 85 c6 00 00 00 4d 85 f6 74 4b fb 31 c0 <89> de 31 ff 31 c9 0f b7 55 2a 89 75 10 44 0f b7 45 28 48 89 4d 08 RSP: 0018:ffffc900066ffad8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 1ffffffff1ada649 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffea000065b600 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bdce8 R11: 000000000000003f R12: ffff888015f9f640 R13: 0000000000039800 R14: 0000000000000200 R15: 0000000000000000 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x8e/0xa0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:2959 [inline] slab_alloc mm/slub.c:2967 [inline] __kmalloc+0x1f4/0x330 mm/slub.c:4111 kmalloc include/linux/slab.h:596 [inline] tomoyo_realpath_from_path+0xc3/0x620 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1d5/0x590 security/tomoyo/file.c:723 security_file_ioctl+0x50/0xb0 security/security.c:1539 __do_sys_ioctl fs/ioctl.c:860 [inline] __se_sys_ioctl fs/ioctl.c:852 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:852 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:0x4665e9 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:00007f7cebc9d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 000000002004c5c0 RSI: 00000000d000943d RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffc232a157f R14: 00007f7cebc9d300 R15: 0000000000022000