watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.3:6359] Modules linked in: irq event stamp: 4506105 hardirqs last enabled at (4506104): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4506105): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (4484196): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4484199): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 6359 Comm: syz-executor.3 Not tainted 5.10.228 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:user_mode arch/x86/include/asm/ptrace.h:136 [inline] RIP: 0010:unwind_next_frame+0x132/0x1a90 arch/x86/kernel/unwind_orc.c:436 Code: 85 2e 13 00 00 49 8b 6d 50 48 85 ed 74 2f 48 8d bd 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 11 13 00 00 f6 85 88 00 00 00 03 0f 85 42 03 00 00 48 b8 00 RSP: 0018:ffff88806cf09668 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff85d44601 RDX: 1ffff11008188f7a RSI: ffffffff81d36067 RDI: ffff888040c47bd0 RBP: ffff888040c47b48 R08: ffffffff85d446ad R09: ffff888040c47b48 R10: 0000000000032042 R11: 1ffff1100d9e12d5 R12: ffff88806cf09788 R13: ffff88806cf09740 R14: 1ffff1100d9e12d5 R15: 00000000000000e8 FS: 00007efd4630d700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d80 CR3: 00000000470e8000 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] kmem_cache_alloc_node+0x14b/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: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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:selinux_ipc security/selinux/include/objsec.h:179 [inline] RIP: 0010:selinux_shm_alloc_security+0x107/0x310 security/selinux/hooks.c:6134 Code: 38 d0 7c 08 84 d2 0f 85 df 01 00 00 49 8d 7c 24 68 44 8b 73 04 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 d9 01 00 00 48 63 1d b8 4c 47 03 49 03 5c 24 68 48 b8 00 00 RSP: 0018:ffff888040c47bf0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff88800d9dea00 RCX: ffffc90007827000 RDX: 1ffff1100384df8d RSI: ffffffff81d35fcc RDI: ffff88801c26fc68 RBP: 1ffff11008188f7e R08: 00000000d574595c R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801c26fc00 R13: ffff88800fe62200 R14: 0000000000000001 R15: 0000000000000000 security_shm_alloc+0x9d/0x240 security/security.c:1941 newseg+0x2fb/0xe40 ipc/shm.c:723 ipcget_new ipc/util.c:344 [inline] ipcget+0xf4/0xd90 ipc/util.c:643 ksys_shmget ipc/shm.c:837 [inline] __do_sys_shmget ipc/shm.c:842 [inline] __se_sys_shmget ipc/shm.c:840 [inline] __x64_sys_shmget+0x139/0x1b0 ipc/shm.c:840 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7efd48d97b19 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:00007efd4630d188 EFLAGS: 00000246 ORIG_RAX: 000000000000001d RAX: ffffffffffffffda RBX: 00007efd48eaaf60 RCX: 00007efd48d97b19 RDX: 0000000000000020 RSI: 0000000000001000 RDI: 0000000000000000 RBP: 00007efd48df1f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020ffc000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2a6ba14f R14: 00007efd4630d300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 0 skipped: idling at default_idle+0xe/0x20 arch/x86/kernel/process.c:706 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue FAT-fs (loop0): bogus number of reserved sectors FAT-fs (loop0): Can't find a valid FAT filesystem EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue FAT-fs (loop4): Directory bread(block 3) failed ---------------- Code disassembly (best guess): 0: 85 2e test %ebp,(%rsi) 2: 13 00 adc (%rax),%eax 4: 00 49 8b add %cl,-0x75(%rcx) 7: 6d insl (%dx),%es:(%rdi) 8: 50 push %rax 9: 48 85 ed test %rbp,%rbp c: 74 2f je 0x3d e: 48 8d bd 88 00 00 00 lea 0x88(%rbp),%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: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 11 13 00 00 jne 0x1341 <-- trapping instruction 30: f6 85 88 00 00 00 03 testb $0x3,0x88(%rbp) 37: 0f 85 42 03 00 00 jne 0x37f 3d: 48 rex.W 3e: b8 .byte 0xb8