watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.4:6228] Modules linked in: irq event stamp: 9381045 hardirqs last enabled at (9381044): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (9381045): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (9373528): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (9373531): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 6228 Comm: syz-executor.4 Not tainted 5.10.155 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:169 [inline] RIP: 0010:unwind_next_frame+0x227/0x1a90 arch/x86/kernel/unwind_orc.c:448 Code: c1 e8 03 45 0f b6 04 10 48 89 fa 83 e2 07 83 c2 03 44 38 c2 7c 09 45 84 c0 0f 85 67 12 00 00 44 8d 46 01 8b 0c 8d f0 73 d5 85 <48> ba 00 00 00 00 00 fc ff df 4a 8d 3c 85 f0 73 d5 85 49 89 f9 49 RSP: 0018:ffff88806cf095d0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000028789 RDX: 0000000000000007 RSI: 000000000000945d RDI: ffffffff85d7c564 RBP: ffff88806cf096dd R08: 000000000000945e R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9e12c2 R12: ffff88806cf096f0 R13: ffff88806cf096a8 R14: 1ffff1100d9e12c2 R15: ffffffff81945d82 FS: 00007f7b346fc700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005576c3cacb60 CR3: 0000000017f86000 CR4: 0000000000350ee0 Call Trace: 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] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x360 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] kmem_cache_alloc_node+0x169/0x370 mm/slub.c:2932 __alloc_skb+0x6d/0x620 net/core/skbuff.c:198 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:446 netdev_alloc_skb include/linux/skbuff.h:2836 [inline] dev_alloc_skb include/linux/skbuff.h:2849 [inline] __ieee80211_beacon_get+0x3af/0x13a0 net/mac80211/tx.c:4874 ieee80211_beacon_get_tim+0x88/0x910 net/mac80211/tx.c:4988 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1735 __iterate_interfaces+0x1f0/0x530 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x72/0x180 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1788 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x5e8/0xb50 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __do_softirq+0x1b8/0x86b 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:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:compound_head include/linux/page-flags.h:188 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:862 [inline] RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:130 [inline] RIP: 0010:qlist_free_all+0x98/0xe0 mm/kasan/quarantine.c:167 Code: e8 72 5a 4c 89 f2 48 2b 15 35 b5 5c 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 13 b5 5c 03 48 8b 50 08 48 8d 4a ff 83 e2 01 <48> 0f 45 c1 48 8b 78 18 eb 93 49 c7 44 24 08 00 00 00 00 49 c7 04 RSP: 0018:ffff888045e1f260 EFLAGS: 00000246 RAX: ffffea0000385680 RBX: 0000000000000000 RCX: ffffea000038477f RDX: 0000000000000000 RSI: ffff88800e15aa20 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000011 R09: ffffffff816bd001 R10: ffff88804632aa20 R11: 0000000000000001 R12: ffff888045e1f298 R13: 0000000080000000 R14: ffffffff80000000 R15: ffff88800e15aa20 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/0x360 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xd4/0x850 fs/kernfs/dir.c:635 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:697 __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 device_add_groups drivers/base/core.c:2058 [inline] device_add_attrs drivers/base/core.c:2217 [inline] device_add+0x1314/0x1bc0 drivers/base/core.c:2916 netdev_register_kobject+0x17a/0x3b0 net/core/net-sysfs.c:1997 register_netdevice+0xd6e/0x1480 net/core/dev.c:10014 register_netdev+0x2d/0x50 net/core/dev.c:10138 loopback_net_init+0x73/0x170 drivers/net/loopback.c:216 ops_init+0xbb/0x680 net/core/net_namespace.c:153 setup_net+0x2d8/0x810 net/core/net_namespace.c:351 copy_net_ns+0x2ca/0x5e0 net/core/net_namespace.c:492 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x39e/0x480 kernel/nsproxy.c:179 copy_process+0x2463/0x66f0 kernel/fork.c:2109 kernel_clone+0xe7/0xa20 kernel/fork.c:2467 __do_sys_clone3+0x1e5/0x320 kernel/fork.c:2742 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f7b37186b19 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:00007f7b346fc188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f7b37299f60 RCX: 00007f7b37186b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 0000000020000200 RBP: 00007f7b371e0f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd302b0edf R14: 00007f7b346fc300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 71 Comm: kmemleak Not tainted 5.10.155 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:49 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:121 [inline] RIP: 0010:lock_release+0x144/0x6b0 kernel/locking/lockdep.c:5581 Code: 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 11 05 00 00 45 8b 8e ac 08 00 00 45 85 c9 0f 85 74 02 00 00 9c 8f 04 24 48 89 da c7 44 24 40 01 00 00 00 83 e3 07 48 b8 00 00 00 00 00 RSP: 0018:ffff88800e46fd20 EFLAGS: 00000046 RAX: 0000000000000007 RBX: ffffffff85671cbc RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff84ff80e0 RDI: ffff888008e7bbac RBP: 1ffff11001c8dfa6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff850a58f8 R13: ffff8880111e28b0 R14: ffff888008e7b300 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000619000 CR3: 000000000f6ec000 CR4: 0000000000350ef0 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x16/0x40 kernel/locking/spinlock.c:191 scan_object mm/kmemleak.c:1348 [inline] scan_gray_list+0x1f1/0x3f0 mm/kmemleak.c:1386 kmemleak_scan+0x520/0x11b0 mm/kmemleak.c:1495 kmemleak_scan_thread+0x8f/0xb1 mm/kmemleak.c:1578 kthread+0x38f/0x470 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:299 hpet: Lost 1 RTC interrupts ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 45 0f b6 04 10 movzbl (%r8,%rdx,1),%r8d 8: 48 89 fa mov %rdi,%rdx b: 83 e2 07 and $0x7,%edx e: 83 c2 03 add $0x3,%edx 11: 44 38 c2 cmp %r8b,%dl 14: 7c 09 jl 0x1f 16: 45 84 c0 test %r8b,%r8b 19: 0f 85 67 12 00 00 jne 0x1286 1f: 44 8d 46 01 lea 0x1(%rsi),%r8d 23: 8b 0c 8d f0 73 d5 85 mov -0x7a2a8c10(,%rcx,4),%ecx * 2a: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx <-- trapping instruction 31: fc ff df 34: 4a 8d 3c 85 f0 73 d5 lea -0x7a2a8c10(,%r8,4),%rdi 3b: 85 3c: 49 89 f9 mov %rdi,%r9 3f: 49 rex.WB