rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10469 ticks this GP) idle=43a/1/0x4000000000000000 softirq=264356/264361 fqs=0 (t=10502 jiffies g=525117 q=89) rcu: rcu_preempt kthread starved for 10503 jiffies! g525117 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: 14689 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 RIP: 0010:__lock_acquire+0x168/0x54a0 kernel/locking/lockdep.c:4914 Code: a0 37 22 90 41 8b b5 e8 09 00 00 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 0f b6 0c 11 48 c7 c2 a0 37 22 90 83 e2 07 83 c2 03 <89> 74 24 18 38 ca 7c 08 84 c9 0f 85 db 13 00 00 8b 15 12 75 c7 0e RSP: 0018:ffffc90000007300 EFLAGS: 00000006 RAX: ffffffff8fcd8e80 RBX: ffffffff8b99b6c8 RCX: 0000000000000004 RDX: 0000000000000003 RSI: 0000000000000005 RDI: ffffffff8b99b6d0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880562d9c40 R14: 0000000000000002 R15: 0000000000000001 FS: 00007f9fa6024700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff7b294990 CR3: 0000000076194000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline] timekeeping_get_delta kernel/time/timekeeping.c:252 [inline] timekeeping_get_ns kernel/time/timekeeping.c:386 [inline] ktime_get+0x147/0x470 kernel/time/timekeeping.c:829 hrtimer_forward_now include/linux/hrtimer.h:510 [inline] perf_swevent_hrtimer+0x246/0x3f0 kernel/events/core.c:10545 __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:pv_wait_node kernel/locking/qspinlock_paravirt.h:301 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5c4/0xb40 kernel/locking/qspinlock.c:473 Code: 32 84 c0 75 23 41 0f b6 14 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 <83> e8 01 0f 84 93 00 00 00 0f b6 16 84 d2 74 09 80 fa 03 0f 8e 96 RSP: 0018:ffffc90000007a30 EFLAGS: 00000282 RAX: 00000000000019e5 RBX: ffff8880b9d52900 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed101738a521 RDI: ffff8880b9c52914 RBP: ffff8880b9c52914 R08: 0000000000000001 R09: ffff8880b9c52914 R10: ffffed101738a522 R11: 0000000000000080 R12: ffffed10173aa522 R13: ffff8880b9d52914 R14: dffffc0000000000 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:ffffc9000197f688 EFLAGS: 00000206 RAX: 0000000000008de1 RBX: ffff8880562d9c40 RCX: 1ffffffff1fa1dda RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed100ac5b388 R08: 0000000000000001 R09: ffffffff8fcd597f R10: 0000000000000001 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:ext4_do_update_inode fs/ext4/inode.c:5139 [inline] RIP: 0010:ext4_mark_iloc_dirty+0x19b8/0x38d0 fs/ext4/inode.c:5724 Code: 0f 85 f4 0a 00 00 e8 c7 10 65 ff 4c 8b 44 24 08 31 c9 be 13 14 00 00 48 8b 54 24 10 48 c7 c7 60 3c a0 89 e8 8a b2 f8 ff 31 ff <41> 89 c4 89 c6 e8 de 17 65 ff 45 85 e4 0f 85 27 02 00 00 e8 90 10 RSP: 0018:ffffc9000197f750 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888091b3dcf0 RCX: ffffc900100a1000 RDX: 0000000000040000 RSI: ffffffff82094d0b RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81d76493 R11: 0000000000000000 R12: 00000000000000a0 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc9000197f870 __ext4_mark_inode_dirty+0x222/0x8d0 fs/ext4/inode.c:5918 ext4_dirty_inode+0xd4/0x110 fs/ext4/inode.c:5947 __mark_inode_dirty+0x45b/0xfe0 fs/fs-writeback.c:2398 mark_inode_dirty include/linux/fs.h:2403 [inline] generic_write_end+0x31b/0x500 fs/buffer.c:2198 ext4_da_write_end+0x20f/0xb50 fs/ext4/inode.c:3110 generic_perform_write+0x2bd/0x500 mm/filemap.c:3667 ext4_buffered_write_iter+0x244/0x4d0 fs/ext4/file.c:269 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:680 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:00007f9fa6024188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000043408 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd2e74495f R14: 00007f9fa6024300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 14692 Comm: syz-executor.3 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: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:ffffc90000dc0a30 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffffffff18efc7c RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffffff8c77e3e2 RBP: ffffffff8c77e3e0 R08: 0000000000000001 R09: ffffffff8c77e3e3 R10: fffffbfff18efc7c R11: 0000000000000080 R12: 0000000000006455 R13: fffffbfff18efc7c R14: 0000000000000001 R15: ffff8880b9d52900 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:on_stack arch/x86/include/asm/stacktrace.h:45 [inline] RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:342 [inline] RIP: 0010:deref_stack_reg+0x56/0x150 arch/x86/kernel/unwind_orc.c:352 Code: 3c 03 0f 8e d7 00 00 00 41 8b 04 24 85 c0 74 62 49 8d 7c 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 c3 00 00 00 49 8d 7c 24 10 4d 8b 6c 24 08 48 b8 00 00 00 00 RSP: 0018:ffffc900019ae8c0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffc900019aea08 RCX: 0000000000000000 RDX: 1ffff92000335d3a RSI: ffffc900019aedd0 RDI: ffffc900019ae9d0 RBP: ffffc900019aedd0 R08: ffffffff8e681e30 R09: 0000000000000001 R10: fffff52000335d44 R11: 0000000000086088 R12: ffffc900019ae9c8 R13: ffffc900019ae9fd R14: ffffc900019ae9c8 R15: ffffc900019ae9fc unwind_next_frame+0x13e0/0x1ce0 arch/x86/kernel/unwind_orc.c:587 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] kmem_cache_alloc_node+0x266/0x3e0 mm/slub.c:2995 __alloc_skb+0x20b/0x340 net/core/skbuff.c:414 alloc_skb include/linux/skbuff.h:1112 [inline] nlmsg_new include/net/netlink.h:953 [inline] br_info_notify+0x10d/0x2d0 net/bridge/br_netlink.c:599 del_nbp+0x165/0xd50 net/bridge/br_if.c:339 br_del_if+0xf3/0x440 net/bridge/br_if.c:755 do_set_master+0xe1/0x220 net/core/rtnetlink.c:2510 do_setlink+0x9e5/0x3960 net/core/rtnetlink.c:2729 __rtnl_newlink+0xddb/0x1760 net/core/rtnetlink.c:3394 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3509 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5575 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:723 ____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:00007f41f8563188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020000600 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffec9b6168f R14: 00007f41f8563300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: a0 37 22 90 41 8b b5 movabs 0x9e8b58b41902237,%al 7: e8 09 9: 00 00 add %al,(%rax) b: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 12: fc ff df 15: 48 c1 e9 03 shr $0x3,%rcx 19: 0f b6 0c 11 movzbl (%rcx,%rdx,1),%ecx 1d: 48 c7 c2 a0 37 22 90 mov $0xffffffff902237a0,%rdx 24: 83 e2 07 and $0x7,%edx 27: 83 c2 03 add $0x3,%edx * 2a: 89 74 24 18 mov %esi,0x18(%rsp) <-- trapping instruction 2e: 38 ca cmp %cl,%dl 30: 7c 08 jl 0x3a 32: 84 c9 test %cl,%cl 34: 0f 85 db 13 00 00 jne 0x1415 3a: 8b 15 12 75 c7 0e mov 0xec77512(%rip),%edx # 0xec77552