watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.2:4484] Modules linked in: irq event stamp: 4811485 hardirqs last enabled at (4811484): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4811485): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (4742228): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4742231): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4484 Comm: syz-executor.2 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_done arch/x86/include/asm/unwind.h:46 [inline] RIP: 0010:unwind_get_return_address+0xe/0xa0 arch/x86/kernel/unwind_orc.c:320 Code: f8 23 5c 00 eb ac e8 f1 23 5c 00 e9 75 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 <48> c1 ea 03 53 48 89 fb 0f b6 04 02 84 c0 74 04 3c 03 7e 59 8b 03 RSP: 0018:ffff88806ce09698 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: ffffffff81300720 RCX: 1ffff1100d9c1201 RDX: ffff88806ce096a8 RSI: ffff88804cd0fe60 RDI: ffff88806ce096a8 RBP: ffff88806ce09730 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c12c2 R12: ffff88806ce09760 R13: 0000000000000000 R14: ffff88804cbf8000 R15: 0000000000000170 FS: 00007ff0b8b5c700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fec87de0540 CR3: 0000000049782000 CR4: 0000000000350ef0 Call Trace: 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] kmem_cache_alloc_node+0x169/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:447 netdev_alloc_skb include/linux/skbuff.h:2857 [inline] dev_alloc_skb include/linux/skbuff.h:2870 [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: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:__might_sleep+0x35/0x190 kernel/sched/core.c:7248 Code: 55 41 89 d5 41 54 41 89 f4 55 48 89 fd 53 65 48 8b 1c 25 80 6f 02 00 48 8d 7b 10 48 89 fa 48 83 ec 10 48 c1 ea 03 80 3c 02 00 <0f> 85 0b 01 00 00 48 8b 43 10 48 85 c0 74 3e 65 48 8b 1c 25 80 6f RSP: 0018:ffff88804cd0fc50 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff88804cbf8000 RCX: ffff88804cd0fc10 RDX: 1ffff1100997f002 RSI: 0000000000000201 RDI: ffff88804cbf8010 RBP: ffffffff84beab76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000201 R13: 0000000000000000 R14: 0000000000000dc0 R15: 0000000000000dc0 slab_pre_alloc_hook mm/slab.h:513 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x297/0x310 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] lsm_file_alloc security/security.c:571 [inline] security_file_alloc+0x34/0x170 security/security.c:1472 __alloc_file+0xb7/0x320 fs/file_table.c:106 alloc_empty_file+0x6d/0x170 fs/file_table.c:151 alloc_file+0x5e/0x5a0 fs/file_table.c:193 alloc_file_pseudo+0x16a/0x250 fs/file_table.c:233 sock_alloc_file+0x4f/0x1a0 net/socket.c:411 sock_map_fd net/socket.c:435 [inline] __sys_socket+0x13d/0x200 net/socket.c:1532 __do_sys_socket net/socket.c:1537 [inline] __se_sys_socket net/socket.c:1535 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1535 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7ff0bb5e6b19 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:00007ff0b8b5c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007ff0bb6f9f60 RCX: 00007ff0bb5e6b19 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 00007ff0bb640f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd77adc35f R14: 00007ff0b8b5c300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 318 Comm: kworker/u4:4 Not tainted 5.10.223 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Workqueue: phy9 ieee80211_iface_work RIP: 0010:compound_head include/linux/page-flags.h:187 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:862 [inline] RIP: 0010:kmem_cache_free+0x8b/0x2d0 mm/slub.c:3165 Code: 04 48 8d 74 24 08 4c 89 f7 48 c1 ed 0c 4c 89 64 24 08 48 c1 e5 06 48 03 2d a2 5f 5c 03 48 c7 44 24 10 00 00 00 00 48 8b 45 08 44 24 04 01 00 00 00 48 8d 50 ff a8 01 48 0f 45 ea 48 8d 54 24 RSP: 0018:ffff8880467d7c20 EFLAGS: 00000286 RAX: dead000000000100 RBX: ffff8880d19d7640 RCX: ffff8880467d7c24 RDX: ffff88804661cec0 RSI: ffff8880467d7c28 RDI: ffff888008805a00 RBP: ffffea00014675c0 R08: 0000000000000001 R09: ffffffff86868797 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880519d7640 R13: ffffffff8312e5bf R14: ffff888008805a00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff0b8b3b718 CR3: 000000003d434000 CR4: 0000000000350ee0 Call Trace: kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:637 __kfree_skb net/core/skbuff.c:694 [inline] kfree_skb net/core/skbuff.c:711 [inline] kfree_skb+0x122/0x2c0 net/core/skbuff.c:705 ieee80211_iface_work+0x2d3/0x930 net/mac80211/iface.c:1466 process_one_work+0x9a9/0x14b0 kernel/workqueue.c:2282 worker_thread+0x61d/0x1310 kernel/workqueue.c:2428 kthread+0x38f/0x470 kernel/kthread.c:328 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: f8 clc 1: 23 5c 00 eb and -0x15(%rax,%rax,1),%ebx 5: ac lods %ds:(%rsi),%al 6: e8 f1 23 5c 00 callq 0x5c23fc b: e9 75 ff ff ff jmpq 0xffffff85 10: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 17: 00 00 00 00 1b: 90 nop 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 89 fa mov %rdi,%rdx 29: 55 push %rbp * 2a: 48 c1 ea 03 shr $0x3,%rdx <-- trapping instruction 2e: 53 push %rbx 2f: 48 89 fb mov %rdi,%rbx 32: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 36: 84 c0 test %al,%al 38: 74 04 je 0x3e 3a: 3c 03 cmp $0x3,%al 3c: 7e 59 jle 0x97 3e: 8b 03 mov (%rbx),%eax