rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10500 ticks this GP) idle=1da/1/0x4000000000000000 softirq=167187/167199 fqs=1 (t=10502 jiffies g=316917 q=56) rcu: rcu_preempt kthread starved for 10501 jiffies! g316917 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:28864 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop kernel/rcu/tree.c:1996 [inline] rcu_gp_kthread+0xd34/0x1980 kernel/rcu/tree.c:2169 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15752 Comm: syz-executor.0 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hrtimer_interrupt+0x0/0xa00 kernel/time/hrtimer.c:1634 Code: 06 64 56 00 48 8b 0c 24 eb cf 48 89 de 48 c7 c7 80 97 99 8b e8 61 4c 8a 02 e9 59 fe ff ff e8 f7 63 56 00 e9 72 fe ff ff 66 90 <41> 57 41 56 49 c7 c6 00 24 04 00 41 55 41 54 55 48 89 fd 53 48 83 RSP: 0018:ffffc90000007948 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8880b9c1f300 RCX: 0000000000000001 RDX: 1ffff11017383e60 RSI: 0000000000010102 RDI: ffff8880b9c1f300 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8d6c8257 R10: fffffbfff1ad904a R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f6406ab0700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c015b84850 CR3: 000000006d9f8000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: 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:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3ba/0xb40 kernel/locking/qspinlock.c:508 Code: eb c6 45 01 01 41 bc 00 80 00 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 <41> 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f RSP: 0018:ffffc90000007a30 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff18efc7c RDX: 0000000000000001 RSI: ffffffff817bd241 RDI: ffffffff81332591 RBP: ffffffff8c77e3e0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bd209 R11: 0000000000000080 R12: 0000000000004b17 R13: fffffbfff18efc7c R14: 0000000000000001 R15: ffff8880b9c52900 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 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: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:6326 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 02 80 23 f8 e8 1d cc 4f 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 10 6f 23 RSP: 0018:ffffc90001b8f4f8 EFLAGS: 00000202 RAX: 0000000000000c5d RBX: ffff88808b7a3880 RCX: 1ffffffff1ad8ad9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed10116f4710 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bd228 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:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x7/0x60 kernel/kcov.c:197 Code: fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 65 8b 05 09 47 8c 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 f0 01 00 a9 RSP: 0018:ffffc90001b8f5c0 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88808b7a3880 RDI: 0000000000000003 RBP: ffff888016e73f80 R08: 0000000000000000 R09: 0000000000000009 R10: ffffffff839f5f47 R11: 0000000000000010 R12: 0000000000000062 R13: 0000000000000381 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_domain_quota_is_ok+0x31a/0x550 security/tomoyo/util.c:1092 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_net_log security/tomoyo/network.c:367 [inline] tomoyo_audit_inet_log+0x26b/0x370 security/tomoyo/network.c:393 tomoyo_inet_entry security/tomoyo/network.c:484 [inline] tomoyo_check_inet_address+0x5db/0x710 security/tomoyo/network.c:532 tomoyo_socket_sendmsg_permission+0x29f/0x3a0 security/tomoyo/network.c:774 security_socket_sendmsg+0x50/0xb0 security/security.c:2206 sock_sendmsg+0x3f/0x120 net/socket.c:720 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2394 ___sys_sendmsg+0xf3/0x170 net/socket.c:2448 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2477 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: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:00007f6406ab0188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020007940 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff14634d6f R14: 00007f6406ab0300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 15758 Comm: syz-executor.4 Not tainted 5.14.0-rc7-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+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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:342 print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] rcu_pending kernel/rcu/tree.c:3922 [inline] rcu_sched_clock_irq.cold+0x9f/0x747 kernel/rcu/tree.c:2641 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:check_kcov_mode+0x22/0x40 kernel/kcov.c:163 Code: fe ff ff cc cc cc cc cc 65 8b 05 59 4f 8c 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 34 15 00 00 <85> d2 74 0b 8b 86 10 15 00 00 39 f8 0f 94 c0 c3 66 66 2e 0f 1f 84 RSP: 0018:ffffc90000dc0b88 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffff88806c83b2a0 RCX: ffff888086660000 RDX: 0000000000000000 RSI: ffff888086660000 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff85327ab9 R11: 0000000000000000 R12: ffff88808a033780 R13: ffff8880201334d0 R14: ffff8880201332a0 R15: 0000000000000000 write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_const_cmp1+0x22/0x80 kernel/kcov.c:270 mac80211_hwsim_tx_frame_no_nl.isra.0+0x799/0x1330 drivers/net/wireless/mac80211_hwsim.c:1527 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: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:unwind_next_frame+0xea5/0x1ce0 arch/x86/kernel/unwind_orc.c:603 Code: 70 02 4d 8d 7e 34 4c 89 f7 4c 01 e6 e8 24 f0 ff ff 84 c0 0f 84 10 f5 ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 90 0a 00 00 41 3b 2e 0f 84 b9 RSP: 0018:ffffc900018ff160 EFLAGS: 00000a06 RAX: dffffc0000000000 RBX: 1ffff9200031fe34 RCX: 1ffff9200031fe4e RDX: 1ffff9200031fe47 RSI: ffffc900018fff58 RDI: ffffc900018ff278 RBP: 0000000000000001 R08: ffffffff8e7cdb58 R09: 0000000000000001 R10: fffff5200031fe52 R11: 0000000000086088 R12: 00000000004bfcc4 R13: ffffc900018fff58 R14: ffffc900018ff238 R15: ffffc900018fff58 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+0x83/0xb0 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] slab_alloc mm/slub.c:2967 [inline] kmem_cache_alloc+0x285/0x4a0 mm/slub.c:2972 mempool_alloc+0x146/0x350 mm/mempool.c:393 bio_alloc_bioset+0x2ff/0x4a0 block/bio.c:433 bio_alloc include/linux/bio.h:422 [inline] iomap_dio_bio_actor+0x5e6/0x1090 fs/iomap/direct-io.c:308 iomap_dio_actor+0x89/0x550 fs/iomap/direct-io.c:419 iomap_apply+0x2a3/0xb50 fs/iomap/apply.c:84 __iomap_dio_rw+0x725/0x1300 fs/iomap/direct-io.c:561 iomap_dio_rw+0x30/0x90 fs/iomap/direct-io.c:649 ext4_dio_write_iter fs/ext4/file.c:568 [inline] ext4_file_write_iter+0xe18/0x14e0 fs/ext4/file.c:678 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x75a/0xa40 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 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: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:00007f3d65614188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000032600 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc09b5cd5f R14: 00007f3d65614300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 64 56 fs push %rsi 2: 00 48 8b add %cl,-0x75(%rax) 5: 0c 24 or $0x24,%al 7: eb cf jmp 0xffffffd8 9: 48 89 de mov %rbx,%rsi c: 48 c7 c7 80 97 99 8b mov $0xffffffff8b999780,%rdi 13: e8 61 4c 8a 02 callq 0x28a4c79 18: e9 59 fe ff ff jmpq 0xfffffe76 1d: e8 f7 63 56 00 callq 0x566419 22: e9 72 fe ff ff jmpq 0xfffffe99 27: 66 90 xchg %ax,%ax * 29: 41 57 push %r15 <-- trapping instruction 2b: 41 56 push %r14 2d: 49 c7 c6 00 24 04 00 mov $0x42400,%r14 34: 41 55 push %r13 36: 41 54 push %r12 38: 55 push %rbp 39: 48 89 fd mov %rdi,%rbp 3c: 53 push %rbx 3d: 48 rex.W 3e: 83 .byte 0x83