watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.4:4181] Modules linked in: irq event stamp: 4744505 hardirqs last enabled at (4744504): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4744505): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (4739176): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4739179): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4181 Comm: syz-executor.4 Not tainted 5.10.227 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:322 [inline] RIP: 0010:rcu_is_watching+0x33/0x70 kernel/rcu/tree.c:1112 Code: c7 c3 00 c0 03 00 65 48 03 1d a1 04 d4 7e 48 8d bb 28 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 18 8b 83 28 01 00 RSP: 0018:ffff88806ce09620 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: ffff88806ce3c000 RCX: ffffffff81413e0f RDX: 0000000000000000 RSI: ffffffff81413f21 RDI: ffff88806ce3c128 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8686a6e7 R10: 0000000000000000 R11: 0000000000000001 R12: 00007f6d882a4b19 R13: 0000000000000000 R14: ffff88800f569a40 R15: 0000000000000170 FS: 00007f6d8581a700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556b468c58 CR3: 000000000e542000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000dd060a Call Trace: rcu_read_lock include/linux/rcupdate.h:718 [inline] __is_insn_slot_addr+0x166/0x290 kernel/kprobes.c:299 is_kprobe_optinsn_slot include/linux/kprobes.h:336 [inline] kernel_text_address kernel/extable.c:149 [inline] kernel_text_address+0xdf/0x120 kernel/extable.c:120 __kernel_text_address+0x9/0x40 kernel/extable.c:105 unwind_get_return_address arch/x86/kernel/unwind_orc.c:323 [inline] unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0x99/0xf0 arch/x86/kernel/stacktrace.c:26 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/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] __kmalloc_node_track_caller+0x1a6/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:447 netdev_alloc_skb include/linux/skbuff.h:2854 [inline] dev_alloc_skb include/linux/skbuff.h:2867 [inline] __ieee80211_beacon_get+0x3af/0x1440 net/mac80211/tx.c:4876 ieee80211_beacon_get_tim+0x88/0x9f0 net/mac80211/tx.c:4990 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x940 drivers/net/wireless/mac80211_hwsim.c:1740 __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:qlink_to_object mm/kasan/quarantine.c:139 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:144 [inline] RIP: 0010:qlist_free_all+0x35/0xe0 mm/kasan/quarantine.c:170 Code: 89 f3 48 8b 37 48 85 f6 0f 84 a3 00 00 00 49 89 fc 41 bd 00 00 00 80 49 c7 c6 00 00 00 80 48 bd 00 00 00 00 00 fc ff df eb 2c <48> 63 87 c0 00 00 00 4c 8b 3e 48 c7 c2 15 b5 6c 81 48 29 c6 48 89 RSP: 0018:ffff88801ac07508 EFLAGS: 00000202 RAX: ffffea0001163880 RBX: 0000000000000000 RCX: ffffea0001163880 RDX: 0000000000000001 RSI: ffff8880458e3b00 RDI: ffff88800804d640 RBP: dffffc0000000000 R08: 0000000000000011 R09: ffffffff816cb501 R10: ffff88800f521950 R11: 0000000000000001 R12: ffff88801ac07540 R13: 0000000080000000 R14: ffffffff80000000 R15: ffff8880458e3b00 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] __kmalloc+0x16e/0x390 mm/slub.c:3967 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:664 [inline] new_dir fs/proc/proc_sysctl.c:954 [inline] get_subdir fs/proc/proc_sysctl.c:999 [inline] __register_sysctl_table+0x9ef/0x1090 fs/proc/proc_sysctl.c:1348 __devinet_sysctl_register+0x15e/0x280 net/ipv4/devinet.c:2583 devinet_init_net+0x17b/0x650 net/ipv4/devinet.c:2706 ops_init+0xbb/0x6b0 net/core/net_namespace.c:156 setup_net+0x2d8/0x810 net/core/net_namespace.c:354 copy_net_ns+0x2c0/0x5d0 net/core/net_namespace.c:495 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3fb/0x4f0 kernel/nsproxy.c:179 copy_process+0x385b/0x7800 kernel/fork.c:2129 kernel_clone+0xe7/0x980 kernel/fork.c:2506 __do_sys_clone3+0x1e5/0x320 kernel/fork.c:2781 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f6d882a4b19 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:00007f6d8581a188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f6d883b7f60 RCX: 00007f6d882a4b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f6d882fef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff12ba270f R14: 00007f6d8581a300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 1 skipped: idling at default_idle+0xe/0x20 arch/x86/kernel/process.c:706 ---------------- Code disassembly (best guess): 0: c7 c3 00 c0 03 00 mov $0x3c000,%ebx 6: 65 48 03 1d a1 04 d4 add %gs:0x7ed404a1(%rip),%rbx # 0x7ed404af d: 7e e: 48 8d bb 28 01 00 00 lea 0x128(%rbx),%rdi 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 04 jl 0x3b 37: 84 d2 test %dl,%dl 39: 75 18 jne 0x53 3b: 8b .byte 0x8b 3c: 83 28 01 subl $0x1,(%rax)