rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=363/1/0x4000000000000000 softirq=247145/247146 fqs=2 (t=10500 jiffies g=191609 q=377) rcu: rcu_preempt kthread starved for 10495 jiffies! g191609 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:26288 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xbfd/0x11d0 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_timeout+0x1aa/0x2f0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1957 rcu_gp_kthread+0xa5/0x340 kernel/rcu/tree.c:2130 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3106 Comm: syz-executor.5 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:174 [inline] RIP: 0010:unwind_next_frame+0x247/0x1fa0 arch/x86/kernel/unwind_orc.c:443 Code: 00 60 49 4c 8e 48 c7 c0 f0 f1 e5 8e 48 39 c2 0f 83 c8 16 00 00 4b 8d 0c 40 48 8d 8c 09 60 49 4c 8e 48 39 c1 0f 87 b3 16 00 00 <45> 29 f8 0f 84 96 01 00 00 4e 8d 34 bd 00 d9 e5 8d 4f 8d 6c 86 fc RSP: 0018:ffffc90000007240 EFLAGS: 00000287 RAX: ffffffff8ee5f1f0 RBX: ffffffff8f07ded8 RCX: ffffffff8edb4af0 RDX: ffffffff8edb4aea RSI: ffffffff897b39c7 RDI: 0000000000000001 RBP: 0000000000087b39 R08: 000000000017d598 R09: ffffc900000073d0 R10: fffff52000000e6c R11: 0000000000000000 R12: ffffffff897b39c6 R13: ffffc90000007301 R14: dffffc0000000000 R15: 000000000017d597 FS: 00007f7f3639b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8fed4dd718 CR3: 0000000156c47000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0xa3/0xd0 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+0x200/0x370 mm/slub.c:2995 __alloc_skb+0xd8/0x580 net/core/skbuff.c:414 __netdev_alloc_skb+0xf6/0x4b0 net/core/skbuff.c:493 netdev_alloc_skb include/linux/skbuff.h:2877 [inline] dev_alloc_skb include/linux/skbuff.h:2890 [inline] __ieee80211_beacon_get+0x8e7/0x2030 net/mac80211/tx.c:5070 ieee80211_beacon_get_tim+0xb7/0x840 net/mac80211/tx.c:5184 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0xe0/0x890 drivers/net/wireless/mac80211_hwsim.c:1808 __iterate_interfaces+0x23e/0x480 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x9b/0x120 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa5/0x160 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x1b7/0x5d0 kernel/time/hrtimer.c:1766 __do_softirq+0x372/0x783 kernel/softirq.c:558 __irq_exit_rcu+0xcf/0x150 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:preempt_schedule_irq+0xde/0x190 kernel/sched/core.c:6687 Code: 11 00 00 00 0f 1f 84 00 00 00 00 00 48 f7 03 08 00 00 00 74 7b bf 01 00 00 00 e8 9d ca 72 f7 e8 08 44 a2 f7 fb bf 01 00 00 00 bd e6 ff ff 9c 8f 44 24 20 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 RSP: 0018:ffffc900095f73a0 EFLAGS: 00000286 RAX: a2bef3fb6b11ff00 RBX: 0000000000000000 RCX: 0000000000040000 RDX: dffffc0000000000 RSI: 00000000000010f0 RDI: 0000000000000001 RBP: ffffc900095f7448 R08: ffffffff81874e40 R09: ffffed1017386492 R10: ffffed1017386492 R11: 0000000000000000 R12: 1ffff920012bee74 R13: 1ffff920012bee78 R14: ffffc900095f73c0 R15: dffffc0000000000 irqentry_exit+0x56/0x90 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:tomoyo_check_acl+0xb1/0x430 security/tomoyo/domain.c:173 Code: 85 05 03 00 00 48 8b 1c 24 4c 8b 23 49 39 dc 0f 84 14 02 00 00 0f 1f 40 00 49 8d 6c 24 18 48 89 e8 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 1d 01 00 00 0f b6 6d 00 31 ff 89 ee e8 5a bc b0 fd 85 RSP: 0018:ffffc900095f7518 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: ffff888022283b90 RCX: 0000000000040000 RDX: ffffc90014109000 RSI: 00000000000010d5 RDI: 00000000000010d6 RBP: ffff88801dcee318 R08: ffffffff83d08015 R09: ffffffff83d1c5a2 R10: 0000000000000002 R11: ffff8880947f9c80 R12: ffff88801dcee300 R13: dffffc0000000000 R14: ffff888022283b80 R15: 0000000000000000 tomoyo_path_permission+0x1af/0x370 security/tomoyo/file.c:586 tomoyo_check_open_permission+0x323/0x460 security/tomoyo/file.c:780 security_file_open+0x50/0x570 security/security.c:1634 do_dentry_open+0x36c/0x1020 fs/open.c:809 do_open fs/namei.c:3426 [inline] path_openat+0x2876/0x3630 fs/namei.c:3559 do_filp_open+0x253/0x4d0 fs/namei.c:3586 do_sys_openat2+0x124/0x4f0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_creat fs/open.c:1290 [inline] __se_sys_creat fs/open.c:1284 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1284 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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:00007f7f3639b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000144 RDI: 0000000020000040 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc1f82ae5f R14: 00007f7f3639b300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 3113 Comm: syz-executor.5 Not tainted 5.14.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+0x1ae/0x29f lib/dump_stack.c:105 nmi_cpu_backtrace+0x405/0x430 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x22d/0x390 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+0x1dc2/0x2b40 kernel/rcu/tree.c:2599 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:157 [inline] RIP: 0010:unwind_next_frame+0x1c9/0x1fa0 arch/x86/kernel/unwind_orc.c:443 Code: 0c 74 0a 8f 48 29 c1 48 8d 41 03 48 85 c9 48 0f 49 c1 44 8a 2d a0 bd ff 0a 48 c1 e8 02 ff c8 45 84 ed b9 ff ff ff ff 0f 45 c8 <39> e9 0f 86 d5 16 00 00 89 e8 48 8d 1c 85 f0 f1 e5 8e 48 89 d8 48 RSP: 0018:ffffc90000dc03e0 EFLAGS: 00000202 RAX: 0000000000092086 RBX: ffffc90000dc04e8 RCX: 0000000000092086 RDX: ffffc90000dc0540 RSI: ffffffff816e6294 RDI: 0000000000000001 RBP: 0000000000006e62 R08: 0000000000000000 R09: ffffc90000dc0570 R10: fffff520001b80a0 R11: 0000000000000000 R12: ffffffff816e6293 R13: ffffc90000dc0401 R14: dffffc0000000000 R15: 1ffff920001b809a arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x3d/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0x10d/0x150 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1628 [inline] slab_free_freelist_hook+0x1e8/0x2a0 mm/slub.c:1653 slab_free mm/slub.c:3213 [inline] kmem_cache_free+0x85/0x170 mm/slub.c:3229 kfree_skb_list+0x41/0x70 net/core/skbuff.c:782 __dev_xmit_skb net/core/dev.c:3867 [inline] __dev_queue_xmit+0x236b/0x34e0 net/core/dev.c:4170 mrp_queue_xmit net/802/mrp.c:364 [inline] mrp_join_timer+0x418/0x820 net/802/mrp.c:608 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x703/0x8f0 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x372/0x783 kernel/softirq.c:558 __irq_exit_rcu+0xcf/0x150 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:finish_lock_switch+0xf0/0x1c0 kernel/sched/core.c:4695 Code: 82 0c 00 74 11 48 89 df be ff ff ff ff e8 28 b8 89 08 85 c0 74 27 4d 85 ff 75 44 4c 89 f7 e8 e7 54 8c 08 e8 22 9f 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 0f 0b 4d 85 ff 75 92 eb a8 0f 0b 4d RSP: 0018:ffffc900019af590 EFLAGS: 00000282 RAX: 13f3851bb14dbc00 RBX: ffff8880779d9cb4 RCX: ffff8880a5533900 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8159aeee RBP: 1ffff110173a63f0 R08: ffffffff81874e40 R09: ffffed10173a6299 R10: ffffed10173a6299 R11: 0000000000000000 R12: ffff8880b9d31f80 R13: dffffc0000000000 R14: ffff8880b9d314c0 R15: 0000000000000000 finish_task_switch+0x140/0x630 kernel/sched/core.c:4812 context_switch kernel/sched/core.c:4943 [inline] __schedule+0xc05/0x11d0 kernel/sched/core.c:6287 preempt_schedule_irq+0xe3/0x190 kernel/sched/core.c:6687 irqentry_exit+0x56/0x90 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:197 Code: c0 ef 01 00 65 8b 15 84 09 81 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 3c 15 00 00 00 74 2c 8b 91 18 15 00 00 <83> fa 02 75 21 48 8b 91 20 15 00 00 48 8b 32 48 8d 7e 01 8b 89 1c RSP: 0018:ffffc900019af8b8 EFLAGS: 00000246 RAX: ffffffff842f4c4a RBX: 0000000000000032 RCX: ffff8880a5533900 RDX: 0000000000000002 RSI: 000000000000109a RDI: 000000000000109b RBP: ffffc900019af9f0 R08: ffffffff842f4ba7 R09: ffffffff842f03ee R10: 0000000000000012 R11: ffff8880a5533900 R12: 0000000000000000 R13: ffffc900019afc82 R14: ffffffff8ab3c462 R15: ffffc900019af963 number+0x44a/0x1060 lib/vsprintf.c:501 vsnprintf+0x1328/0x1d60 lib/vsprintf.c:2863 snprintf+0xc0/0x110 lib/vsprintf.c:2930 tomoyo_audit_path_number_log security/tomoyo/file.c:233 [inline] tomoyo_path_number_perm+0x482/0x790 security/tomoyo/file.c:734 security_file_ioctl+0x55/0xb0 security/security.c:1540 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x48/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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:00007f7f3637a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000020000380 RSI: 0000000000002285 RDI: 0000000000000007 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc1f82ae5f R14: 00007f7f3637a300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 60 49 add %ah,0x49(%rax) 3: 4c 8e 48 c7 rex.WR mov -0x39(%rax),%cs 7: c0 f0 f1 shl $0xf1,%al a: e5 8e in $0x8e,%eax c: 48 39 c2 cmp %rax,%rdx f: 0f 83 c8 16 00 00 jae 0x16dd 15: 4b 8d 0c 40 lea (%r8,%r8,2),%rcx 19: 48 8d 8c 09 60 49 4c lea -0x71b3b6a0(%rcx,%rcx,1),%rcx 20: 8e 21: 48 39 c1 cmp %rax,%rcx 24: 0f 87 b3 16 00 00 ja 0x16dd * 2a: 45 29 f8 sub %r15d,%r8d <-- trapping instruction 2d: 0f 84 96 01 00 00 je 0x1c9 33: 4e 8d 34 bd 00 d9 e5 lea -0x721a2700(,%r15,4),%r14 3a: 8d 3b: 4f 8d 6c 86 fc lea -0x4(%r14,%r8,4),%r13