netlink: 'syz-executor.7': attribute type 1 has an invalid length. watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.0:6649] Modules linked in: irq event stamp: 13626249 hardirqs last enabled at (13626248): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (13626249): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (13581254): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (13581257): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 6649 Comm: syz-executor.0 Not tainted 5.10.162 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x795/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1461 Code: bb 8c 26 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 64 09 00 00 44 0f b6 bb 8c 26 00 00 <31> ff 44 89 fe e8 81 bb 7a fe 45 84 ff 0f 84 77 ff ff ff e8 63 c2 RSP: 0018:ffff88806cf09b90 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880443cb1c0 RCX: ffffffff82c563ff RDX: 0000000000000004 RSI: ffffffff82c563c9 RDI: ffff8880443cd84c RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffffff867956af R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800dee6500 R13: ffff888044b9b3f0 R14: ffff888044b9b1c0 R15: 0000000000000000 FS: 00007fc1feace700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3011dc0750 CR3: 00000000433c2000 CR4: 0000000000350ee0 Call Trace: mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1770 __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:1793 __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:mod_node_state mm/vmstat.c:549 [inline] RIP: 0010:mod_node_page_state+0x2d/0x120 mm/vmstat.c:592 Code: 00 00 00 00 fc ff df 41 54 41 89 d0 55 48 89 fd 48 81 c7 80 37 00 00 53 48 89 d3 48 89 fa 48 c1 ea 03 48 83 ec 08 80 3c 02 00 <0f> 85 c5 00 00 00 4c 8b 8d 80 37 00 00 41 89 f2 83 ee 05 4b 8d 54 RSP: 0018:ffff88803e34eb90 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffffffffff8000 RCX: 0000000000000003 RDX: 1ffff1100fffbef0 RSI: 0000000000000006 RDI: ffff88807ffdf780 RBP: ffff88807ffdc000 R08: 00000000ffff8000 R09: ffffffff8679567f R10: fffffbfff0cf2acf R11: 0000000000000001 R12: 0000000000000003 R13: ffffea00005f8200 R14: ffff888007fe5dc0 R15: ffff888043732fc0 unaccount_slab_page mm/slab.h:454 [inline] __free_slab+0xe8/0x1f0 mm/slub.c:1848 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+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:2206 [inline] device_add+0x7a9/0x1bc0 drivers/base/core.c:2916 wiphy_register+0x1da6/0x2850 net/wireless/core.c:915 ieee80211_register_hw+0x23c5/0x38b0 net/mac80211/main.c:1293 mac80211_hwsim_new_radio+0x1f5c/0x4600 drivers/net/wireless/mac80211_hwsim.c:3300 hwsim_new_radio_nl+0x991/0x1080 drivers/net/wireless/mac80211_hwsim.c:3880 genl_family_rcv_msg_doit+0x22d/0x330 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x33c/0x5a0 net/netlink/genetlink.c:800 netlink_rcv_skb+0x14b/0x430 net/netlink/af_netlink.c:2515 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x549/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x905/0xdf0 net/netlink/af_netlink.c:1934 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0x154/0x190 net/socket.c:671 ____sys_sendmsg+0x70d/0x870 net/socket.c:2356 ___sys_sendmsg+0xf3/0x170 net/socket.c:2410 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2439 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fc201558b19 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:00007fc1feace188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc20166bf60 RCX: 00007fc201558b19 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000008 RBP: 00007fc2015b2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe884cd4bf R14: 00007fc1feace300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.162 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 30 e9 f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806ce09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87930ea0 RCX: ffffffff81275657 RDX: fffffbfff0f261d5 RSI: 0000000000000004 RDI: ffffffff87930ea0 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87930ea3 R10: fffffbfff0f261d4 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f261d4 R14: 0000000000000001 R15: 1ffff1100d9c1348 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562a0bad1678 CR3: 0000000016cf2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1450 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1770 __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:1793 __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:default_idle+0xe/0x20 arch/x86/kernel/process.c:707 Code: 89 fd e9 4b ff ff ff 4c 89 e7 e8 0d 01 89 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 e9 07 00 00 00 0f 00 2d 64 6d 5f 00 fb f4 1d 6c 3d 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffffffff84e07e40 EFLAGS: 00000206 RAX: ffffffff83e2d3d0 RBX: ffffffff84e322c0 RCX: ffffffff83e14d5c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e2d793 RBP: fffffbfff09c6458 R08: 0000000000000001 R09: ffff88806ce3c12b R10: ffffed100d9c7825 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff85671148 R14: 0000000000000000 R15: dffffc0000000000 default_idle_call+0x8b/0xd0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x3ad/0x520 kernel/sched/idle.c:300 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 start_kernel+0x469/0x48e init/main.c:1055 secondary_startup_64_no_verify+0xc2/0xcb ---------------- Code disassembly (best guess): 0: bb 8c 26 00 00 mov $0x268c,%ebx 5: 48 89 f8 mov %rdi,%rax 8: 48 89 fa mov %rdi,%rdx b: 48 c1 e8 03 shr $0x3,%rax f: 83 e2 07 and $0x7,%edx 12: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax 16: 38 d0 cmp %dl,%al 18: 7f 08 jg 0x22 1a: 84 c0 test %al,%al 1c: 0f 85 64 09 00 00 jne 0x986 22: 44 0f b6 bb 8c 26 00 movzbl 0x268c(%rbx),%r15d 29: 00 * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 44 89 fe mov %r15d,%esi 2f: e8 81 bb 7a fe callq 0xfe7abbb5 34: 45 84 ff test %r15b,%r15b 37: 0f 84 77 ff ff ff je 0xffffffb4 3d: e8 .byte 0xe8 3e: 63 c2 movslq %edx,%eax