watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.6:4544] Modules linked in: irq event stamp: 5689763 hardirqs last enabled at (5689762): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5689763): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (5620408): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5620413): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4544 Comm: syz-executor.6 Not tainted 5.10.225 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:filter_irq_stacks+0x26/0x60 lib/stackdepot.c:337 Code: 6f ff eb bf 89 f1 85 f6 74 47 41 89 f0 31 c0 48 8b 14 c7 89 c6 48 81 fa 30 02 00 84 72 11 48 81 fa d0 0e 00 84 73 08 8d 46 01 d5 b5 22 02 48 81 fa 00 00 20 84 72 09 48 81 fa c9 07 20 84 72 RSP: 0018:ffff88806ce09868 EFLAGS: 00000293 RAX: 000000000000000e RBX: ffff88804a6feae8 RCX: 000000000000002b RDX: ffffffff842001b8 RSI: 000000000000000d RDI: ffff88806ce09870 RBP: 0000000000000a20 R08: 000000000000002b R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000a20 R13: 0000000000000000 R14: ffff888008805a00 R15: 00000000000000e8 FS: 00007f546208c700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d121000 CR3: 000000001ac1e000 CR4: 0000000000350ef0 Call Trace: kasan_save_stack+0x25/0x40 mm/kasan/common.c:49 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] kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 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:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __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 a1 f3 b1 02 48 b8 00 RSP: 0018:ffff888019e0f958 EFLAGS: 00000292 RAX: 000000000055c2bb RBX: ffff88806ce38cf8 RCX: 1ffffffff0d0db12 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff816e4c58 RBP: ffff88806ce38ce0 R08: 0000000000000001 R09: ffffffff868686ef R10: fffffbfff0d0d0dd R11: 0000000000000001 R12: 0000000000001258 R13: 0000000000000292 R14: 0000000000000200 R15: ffff88806ce38cf0 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 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc_trace+0x151/0x320 mm/slub.c:2921 kmalloc include/linux/slab.h:552 [inline] __memcg_init_list_lru_node+0x7f/0x1e0 mm/list_lru.c:339 memcg_init_list_lru_node mm/list_lru.c:362 [inline] memcg_init_list_lru mm/list_lru.c:448 [inline] __list_lru_init+0x44d/0x890 mm/list_lru.c:615 alloc_super+0x8e2/0xa90 fs/super.c:274 sget_fc+0x110/0x860 fs/super.c:542 vfs_get_super fs/super.c:1207 [inline] get_tree_nodev+0x24/0x1d0 fs/super.c:1242 mqueue_get_tree+0xf2/0x130 ipc/mqueue.c:434 vfs_get_tree+0x8e/0x300 fs/super.c:1570 fc_mount+0x13/0xc0 fs/namespace.c:978 mq_create_mount ipc/mqueue.c:484 [inline] mq_init_ns+0x39e/0x530 ipc/mqueue.c:1700 create_ipc_ns ipc/namespace.c:58 [inline] copy_ipcs+0x2f5/0x480 ipc/namespace.c:84 create_new_namespaces+0x210/0xb20 kernel/nsproxy.c:90 unshare_nsproxy_namespaces+0xbd/0x1f0 kernel/nsproxy.c:231 ksys_unshare+0x449/0x8a0 kernel/fork.c:3003 __do_sys_unshare kernel/fork.c:3071 [inline] __se_sys_unshare kernel/fork.c:3069 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3069 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f5464b16b19 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:00007f546208c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f5464c29f60 RCX: 00007f5464b16b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000048020200 RBP: 00007f5464b70f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff589b06af R14: 00007f546208c300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4540 Comm: syz-executor.7 Not tainted 5.10.225 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:mark_lock+0x6/0x2df0 kernel/locking/lockdep.c:4494 Code: f9 02 66 90 be 00 00 01 00 48 c7 c7 c0 23 1f 86 e8 2f ba c9 00 48 98 e9 a8 a6 f9 02 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 <41> 54 55 89 d5 48 ba 00 00 00 00 00 fc ff df 53 48 81 ec 38 01 00 RSP: 0018:ffff88806cf09510 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff888048f557ec RCX: 1ffffffff0d0d97a RDX: 0000000000000004 RSI: ffff888048f55858 RDI: ffff888048f54ec0 RBP: ffff888048f5587a R08: 0000000000000000 R09: ffffffff868686ef R10: fffffbfff0d0d0dd R11: 0000000000000001 R12: ffff888048f54ec0 R13: ffff888048f55858 R14: 0000000000000002 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560e7cdef100 CR3: 0000000045d94000 CR4: 0000000000350ee0 Call Trace: mark_usage kernel/locking/lockdep.c:4428 [inline] __lock_acquire+0x11cc/0x5b00 kernel/locking/lockdep.c:4909 lock_acquire kernel/locking/lockdep.c:5566 [inline] lock_acquire+0x197/0x470 kernel/locking/lockdep.c:5531 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0x2f/0x40 kernel/locking/spinlock.c:167 __run_hrtimer kernel/time/hrtimer.c:1590 [inline] __hrtimer_run_queues+0x230/0xb40 kernel/time/hrtimer.c:1650 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1712 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 10 a4 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:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a04100 RCX: ffffffff81279b37 RDX: fffffbfff0f40821 RSI: 0000000000000004 RDI: ffffffff87a04100 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04103 R10: fffffbfff0f40820 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40820 R14: 0000000000000001 R15: 1ffff1100d9e1348 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:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __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:check_memory_region+0x17d/0x1f0 mm/kasan/generic.c:193 Code: 48 29 c2 e9 20 ff ff ff 48 89 d0 49 39 c2 75 92 49 0f be 02 41 83 e1 07 49 39 c1 7d 85 41 bb 01 00 00 00 5b 5d 44 89 d8 41 5c 2e b1 b3 02 48 85 d2 74 e9 48 01 ea eb 09 48 83 c0 01 48 39 d0 RSP: 0018:ffff88803625f628 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8156cc95 RDX: fffff94000209b7f RSI: 0000000000000004 RDI: ffffea000104dbf4 RBP: 0000000000000093 R08: 0000000000000000 R09: ffffea000104dbf7 R10: fffff94000209b7e R11: 0000000000000001 R12: ffffea000104dbf4 R13: dffffc0000000000 R14: ffff888047a854b0 R15: ffffea000104dbc0 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/asm-generic/atomic-instrumented.h:27 [inline] page_ref_count include/linux/page_ref.h:67 [inline] put_page_testzero include/linux/mm.h:707 [inline] release_pages+0x115/0xc20 mm/swap.c:914 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu+0xe9/0x6e0 mm/mmu_gather.c:247 zap_pte_range mm/memory.c:1355 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x17d9/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __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/0x2350 kernel/signal.c:2759 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:0x7fcf26b5ac27 Code: Unable to access opcode bytes at RIP 0x7fcf26b5abfd. RSP: 002b:00007fcf240d0fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fcf26b5ac27 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000100 RBP: 00007fcf240d1040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000020000100 R14: 00007fcf240d1000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: eb bf jmp 0xffffffc1 2: 89 f1 mov %esi,%ecx 4: 85 f6 test %esi,%esi 6: 74 47 je 0x4f 8: 41 89 f0 mov %esi,%r8d b: 31 c0 xor %eax,%eax d: 48 8b 14 c7 mov (%rdi,%rax,8),%rdx 11: 89 c6 mov %eax,%esi 13: 48 81 fa 30 02 00 84 cmp $0xffffffff84000230,%rdx 1a: 72 11 jb 0x2d 1c: 48 81 fa d0 0e 00 84 cmp $0xffffffff84000ed0,%rdx 23: 73 08 jae 0x2d 25: 8d 46 01 lea 0x1(%rsi),%eax * 28: e9 d5 b5 22 02 jmpq 0x222b602 <-- trapping instruction 2d: 48 81 fa 00 00 20 84 cmp $0xffffffff84200000,%rdx 34: 72 09 jb 0x3f 36: 48 81 fa c9 07 20 84 cmp $0xffffffff842007c9,%rdx 3d: 72 .byte 0x72