netlink: 4 bytes leftover after parsing attributes in process `syz-executor.7'. watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.7:5283] Modules linked in: irq event stamp: 5404893 hardirqs last enabled at (5404892): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5404893): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (5346712): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5346715): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5283 Comm: syz-executor.7 Not tainted 5.10.233 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0xa7/0x1a90 arch/x86/kernel/unwind_orc.c:424 Code: 0a 00 00 41 8b 5d 00 31 c0 85 db 0f 84 2b 04 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8d 65 48 4c 89 e2 48 c1 ea 03 80 3c 02 00 <0f> 85 81 13 00 00 49 8b 45 48 48 89 44 24 10 49 8d 45 38 48 89 c2 RSP: 0018:ffff88806ce095d0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffff1100d9c1201 RDX: 1ffff1100d9c12de RSI: ffffffff831f769c RDI: ffff88806ce096a8 RBP: ffff88806ce09730 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c12c2 R12: ffff88806ce096f0 R13: ffff88806ce096a8 R14: 1ffff1100d9c12c2 R15: 0000000000000170 FS: 00007fe016eaf700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d431000 CR3: 000000000e178000 CR4: 0000000000350ef0 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/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:144 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:212 skb_copy+0x183/0x350 net/core/skbuff.c:1530 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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:do_slab_free mm/slub.c:3115 [inline] RIP: 0010:___cache_free+0x1e7/0x360 mm/slub.c:3156 Code: 7e e8 4d 91 c1 ff 48 c7 c7 20 9a ff 84 48 c7 c6 e7 7a 6c 81 e8 1a cb ba ff 48 89 ef e8 02 82 ff ff 49 8b 04 24 65 48 8b 50 08 <65> 48 03 05 59 9a 95 7e 48 8b 3c 24 48 39 78 10 0f 85 20 01 00 00 RSP: 0018:ffff88804c00e8b8 EFLAGS: 00000282 RAX: 000000000003e710 RBX: ffff88801adec640 RCX: ffff88804c00e840 RDX: 000000000000cb27 RSI: 0000000000000000 RDI: ffff88800e0d2378 RBP: ffff88800ce9f780 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008041a00 R13: 0000000000000246 R14: 0000000000000006 R15: 00000000ffffffb8 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_trace+0x133/0x320 mm/slub.c:2921 kmalloc include/linux/slab.h:552 [inline] kmalloc_array include/linux/slab.h:591 [inline] kcalloc include/linux/slab.h:603 [inline] cfg80211_sinfo_alloc_tid_stats+0x8f/0x110 net/wireless/util.c:2061 sta_set_sinfo+0x2040/0x35c0 net/mac80211/sta_info.c:2441 __sta_info_destroy_part2+0x2ce/0x4f0 net/mac80211/sta_info.c:1118 __sta_info_flush+0x3a0/0x520 net/mac80211/sta_info.c:1240 sta_info_flush net/mac80211/sta_info.h:838 [inline] ieee80211_ibss_disconnect+0x115/0x750 net/mac80211/ibss.c:706 ieee80211_ibss_leave+0x12/0x160 net/mac80211/ibss.c:1875 rdev_leave_ibss net/wireless/rdev-ops.h:545 [inline] __cfg80211_leave_ibss+0x183/0x4f0 net/wireless/ibss.c:212 __cfg80211_leave+0x14b/0x370 net/wireless/core.c:1177 cfg80211_leave net/wireless/core.c:1228 [inline] cfg80211_netdev_notifier_call+0x385/0x10c0 net/wireless/core.c:1341 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xb3/0x110 kernel/notifier.c:410 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2047 call_netdevice_notifiers_extack net/core/dev.c:2059 [inline] call_netdevice_notifiers net/core/dev.c:2073 [inline] __dev_close_many+0xf3/0x2f0 net/core/dev.c:1593 __dev_close net/core/dev.c:1631 [inline] __dev_change_flags+0x299/0x6e0 net/core/dev.c:8524 dev_change_flags+0x8a/0x160 net/core/dev.c:8597 do_setlink+0x90c/0x3ac0 net/core/rtnetlink.c:2729 __rtnl_newlink+0xc39/0x1700 net/core/rtnetlink.c:3407 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3527 rtnetlink_rcv_msg+0x41e/0xbb0 net/core/rtnetlink.c:5607 netlink_rcv_skb+0x14b/0x430 net/netlink/af_netlink.c:2485 netlink_unicast_kernel net/netlink/af_netlink.c:1307 [inline] netlink_unicast+0x549/0x7f0 net/netlink/af_netlink.c:1333 netlink_sendmsg+0x90f/0xdf0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:651 [inline] __sock_sendmsg+0x154/0x190 net/socket.c:663 ____sys_sendmsg+0x70d/0x870 net/socket.c:2378 ___sys_sendmsg+0xf3/0x170 net/socket.c:2432 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2461 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fe01997bb19 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:00007fe016eaf188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe019a8f0e0 RCX: 00007fe01997bb19 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007fe0199d5f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea56e064f R14: 00007fe016eaf300 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: 0a 00 or (%rax),%al 2: 00 41 8b add %al,-0x75(%rcx) 5: 5d pop %rbp 6: 00 31 add %dh,(%rcx) 8: c0 85 db 0f 84 2b 04 rolb $0x4,0x2b840fdb(%rbp) f: 00 00 add %al,(%rax) 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4d 8d 65 48 lea 0x48(%r13),%r12 1f: 4c 89 e2 mov %r12,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 81 13 00 00 jne 0x13b1 <-- trapping instruction 30: 49 8b 45 48 mov 0x48(%r13),%rax 34: 48 89 44 24 10 mov %rax,0x10(%rsp) 39: 49 8d 45 38 lea 0x38(%r13),%rax 3d: 48 89 c2 mov %rax,%rdx