watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.7:6356] Modules linked in: irq event stamp: 6770339 hardirqs last enabled at (6770338): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (6770339): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (6722898): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (6722903): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 6356 Comm: syz-executor.7 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find+0x7e/0xf0 arch/x86/kernel/unwind_orc.c:52 Code: 48 c1 fa 02 48 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> 50 48 63 03 48 01 d8 48 39 c1 73 b0 4c 8d 63 fc 49 39 ec 73 b3 RSP: 0018:ffff88806cf09620 EFLAGS: 00000246 RAX: 0000000000000003 RBX: ffffffff858a9b38 RCX: ffffffff8312dfd0 RDX: 0000000000000000 RSI: ffffffff85c5d28c RDI: ffffffff858a9b28 RBP: ffffffff858a9b28 R08: ffffffff85c5d28c R09: ffffffff85c5d2c8 R10: 0000000000032042 R11: 1ffff1100d9e12d5 R12: ffffffff858a9b4c R13: ffffffff858a9b28 R14: ffffffff858a9b28 R15: dffffc0000000000 FS: 00007f7ccd772700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a2260d3678 CR3: 000000001597e000 CR4: 0000000000350ee0 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:178 [inline] unwind_next_frame+0x2b3/0x1a90 arch/x86/kernel/unwind_orc.c:448 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] __kmalloc_node_track_caller+0x189/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 skb_copy+0x183/0x350 net/core/skbuff.c:1529 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb1d/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1499 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1584 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1648 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1665 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:refill_obj_stock+0x18c/0x320 mm/memcontrol.c:3228 Code: f4 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 45 01 00 00 44 89 65 18 41 81 fc 00 10 00 00 77 56 4d 85 f6 75 4a 41 55 9d <48> 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f e9 71 f1 b1 02 48 b8 00 RSP: 0018:ffff88804e86e9f8 EFLAGS: 00000292 RAX: 0000000000669555 RBX: ffff88806cf38cf8 RCX: 1ffffffff0d0e5aa RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff816e4e88 RBP: ffff88806cf38ce0 R08: 0000000000000001 R09: ffffffff868686ff R10: fffffbfff0d0d0df R11: 0000000000000001 R12: 0000000000000e68 R13: 0000000000000292 R14: 0000000000000200 R15: ffff88806cf38cf0 memcg_slab_free_hook mm/slab.h:382 [inline] memcg_slab_free_hook mm/slab.h:351 [inline] do_slab_free mm/slub.c:3105 [inline] ___cache_free+0x101/0x360 mm/slub.c:3156 qlink_free mm/kasan/quarantine.c:151 [inline] qlist_free_all+0x59/0xe0 mm/kasan/quarantine.c:170 quarantine_reduce+0x184/0x210 mm/kasan/quarantine.c:267 __kasan_kmalloc.constprop.0+0xa2/0xd0 mm/kasan/common.c:442 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x310 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xd4/0x860 fs/kernfs/dir.c:635 kernfs_new_node+0x18d/0x250 fs/kernfs/dir.c:711 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:985 sysfs_add_file_mode_ns+0x221/0x560 fs/sysfs/file.c:306 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x324/0xb30 fs/sysfs/group.c:149 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:185 [inline] sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:215 create_dir lib/kobject.c:100 [inline] kobject_add_internal+0x550/0xa30 lib/kobject.c:263 kobject_add_varg lib/kobject.c:398 [inline] kobject_init_and_add+0x101/0x160 lib/kobject.c:481 netdev_queue_add_kobject net/core/net-sysfs.c:1649 [inline] netdev_queue_update_kobjects+0x13b/0x3e0 net/core/net-sysfs.c:1694 register_queue_kobjects net/core/net-sysfs.c:1755 [inline] netdev_register_kobject+0x2ee/0x3b0 net/core/net-sysfs.c:2001 register_netdevice+0xd6e/0x1480 net/core/dev.c:10029 ieee80211_if_add+0xdfe/0x16b0 net/mac80211/iface.c:2015 ieee80211_register_hw+0x32aa/0x38b0 net/mac80211/main.c:1307 mac80211_hwsim_new_radio+0x1ce0/0x4250 drivers/net/wireless/mac80211_hwsim.c:3300 hwsim_new_radio_nl+0x991/0x1080 drivers/net/wireless/mac80211_hwsim.c:3881 genl_family_rcv_msg_doit+0x22d/0x330 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x33c/0x5a0 net/netlink/genetlink.c:800 netlink_rcv_skb+0x14b/0x430 net/netlink/af_netlink.c:2500 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x549/0x7f0 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x90f/0xdf0 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec net/socket.c:651 [inline] __sock_sendmsg+0x154/0x190 net/socket.c:663 ____sys_sendmsg+0x70d/0x870 net/socket.c:2378 ___sys_sendmsg+0xf3/0x170 net/socket.c:2432 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2461 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f7cd01fcb19 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:00007f7ccd772188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7cd030ff60 RCX: 00007f7cd01fcb19 RDX: 0000000000008000 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f7cd0256f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0be63e8f R14: 00007f7ccd772300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6360 Comm: syz-executor.1 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:rb_erase+0xa/0x1140 lib/rbtree.c:441 Code: 1c 0b 6d ff 48 8b 54 24 08 4c 8b 04 24 e9 19 f5 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 b8 00 00 00 00 00 fc ff df <41> 57 49 89 f7 41 56 41 55 49 89 fd 48 83 c7 08 41 54 48 89 fa 55 RSP: 0018:ffff88806ce09760 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff88804f6e3158 RCX: 1ffff1100d9c5d63 RDX: ffff888049a28000 RSI: ffff88806ce2eb10 RDI: ffff88804f6e3158 RBP: ffff88806ce2eb10 R08: 0000000000000000 R09: ffffffff8567580f R10: ffff88806ce2f400 R11: 0000000000000001 R12: ffff88806ce2eb18 R13: ffff88806ce2eac0 R14: ffff88806ce2ea40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005632a2a0860c CR3: 000000000e2e6000 CR4: 0000000000350ef0 Call Trace: rb_erase_cached include/linux/rbtree.h:149 [inline] timerqueue_del+0x7f/0x140 lib/timerqueue.c:67 __remove_hrtimer kernel/time/hrtimer.c:1015 [inline] __run_hrtimer kernel/time/hrtimer.c:1564 [inline] __hrtimer_run_queues+0x4c7/0xb40 kernel/time/hrtimer.c:1648 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1710 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfb/0x310 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 f0 a5 f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806ce09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a04180 RCX: ffffffff81279957 RDX: fffffbfff0f40831 RSI: 0000000000000004 RDI: ffffffff87a04180 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04183 R10: fffffbfff0f40830 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40830 R14: 0000000000000001 R15: 1ffff1100d9c1348 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1450 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1584 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1648 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1665 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:lock_acquire+0x1b9/0x470 kernel/locking/lockdep.c:5534 Code: 46 db 7e e8 39 91 ff ff b8 ff ff ff ff 48 83 c4 20 65 0f c1 05 d8 46 db 7e 83 f8 01 4c 8b 54 24 08 0f 85 48 02 00 00 41 52 9d <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffff88804f777898 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11009eeef15 RCX: 00000000ef9a6a3d RDX: 1ffff11009345128 RSI: d8b6f51bf2e96ed6 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff868686e7 R10: 0000000000000246 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff84ff8c20 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:717 [inline] pfn_valid include/linux/mmzone.h:1376 [inline] __virt_addr_valid+0x251/0x5d0 arch/x86/mm/physaddr.c:65 free_pages+0x16/0xe0 mm/page_alloc.c:5073 tlb_batch_list_free mm/mmu_gather.c:61 [inline] tlb_finish_mmu+0x24f/0x8f0 mm/mmu_gather.c:329 exit_mmap+0x29f/0x4f0 mm/mmap.c:3237 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x22e0 kernel/signal.c:2751 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fc58e84ca04 Code: Unable to access opcode bytes at RIP 0x7fc58e84c9da. RSP: 002b:00007fc58be0f060 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: fffffffffffffff3 RBX: 00007fc58e9acf60 RCX: 00007fc58e84ca04 RDX: 0000000000000002 RSI: 00007fc58be0f0f0 RDI: 00000000ffffff9c RBP: 00007fc58be0f0f0 R08: 0000000000000000 R09: 00007fc58be0ef70 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffec43e198f R14: 00007fc58be0f300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 48 c1 fa 02 sar $0x2,%rdx 4: 48 01 d0 add %rdx,%rax 7: 48 d1 f8 sar %rax a: 48 8d 5c 85 00 lea 0x0(%rbp,%rax,4),%rbx f: 48 89 d8 mov %rbx,%rax 12: 48 c1 e8 03 shr $0x3,%rax 16: 42 0f b6 14 38 movzbl (%rax,%r15,1),%edx 1b: 48 89 d8 mov %rbx,%rax 1e: 83 e0 07 and $0x7,%eax 21: 83 c0 03 add $0x3,%eax 24: 38 d0 cmp %dl,%al 26: 7c 04 jl 0x2c 28: 84 d2 test %dl,%dl * 2a: 75 50 jne 0x7c <-- trapping instruction 2c: 48 63 03 movslq (%rbx),%rax 2f: 48 01 d8 add %rbx,%rax 32: 48 39 c1 cmp %rax,%rcx 35: 73 b0 jae 0xffffffe7 37: 4c 8d 63 fc lea -0x4(%rbx),%r12 3b: 49 39 ec cmp %rbp,%r12 3e: 73 b3 jae 0xfffffff3