------------[ cut here ]------------ sp->magic != HWSIM_STA_MAGIC WARNING: drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 at hwsim_check_sta_magic drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 [inline], CPU#1: syz.0.2234/12868 WARNING: drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 at hwsim_check_sta_magic drivers/net/wireless/virtual/mac80211_hwsim_main.c:255 [inline], CPU#1: syz.0.2234/12868 WARNING: drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 at mac80211_hwsim_tx+0x1f17/0x29d0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2241, CPU#1: syz.0.2234/12868 Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.0.2234 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:hwsim_check_sta_magic drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 [inline] RIP: 0010:hwsim_check_sta_magic drivers/net/wireless/virtual/mac80211_hwsim_main.c:255 [inline] RIP: 0010:mac80211_hwsim_tx+0x1f17/0x29d0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2241 Code: b6 58 1b 89 de e8 b9 6e a5 fa 84 db 0f 85 e5 ee ff ff e8 9c 74 a5 fa c7 44 24 38 0f 00 00 00 e9 0c ff ff ff e8 8a 74 a5 fa 90 <0f> 0b 90 e9 7c e5 ff ff 48 8b 44 24 10 48 05 70 04 00 00 48 89 44 RSP: 0018:ffffc900037f6f70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000201 RDX: ffff88802c1e4b00 RSI: ffffffff8766e2e6 RDI: ffff88802c1e4b00 RBP: ffff88805ced6c70 R08: 0000000000000005 R09: 000000006d537749 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc900037f7128 R14: ffff888043fd3280 R15: ffff888043737e00 FS: 00007fcc750ea6c0(0000) GS:ffff8880d4a46000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33317ff8 CR3: 000000003737c000 CR4: 0000000000352ef0 Call Trace: drv_tx net/mac80211/driver-ops.h:38 [inline] ieee80211_tx_frags+0x5c9/0xa70 net/mac80211/tx.c:1755 __ieee80211_xmit_fast+0x82b/0x2b70 net/mac80211/tx.c:3853 ieee80211_mesh_xmit_fast+0xbb8/0x1260 net/mac80211/mesh.c:823 __ieee80211_subif_start_xmit+0xa6b/0x1470 net/mac80211/tx.c:4422 ieee80211_subif_start_xmit+0xfb/0x7c0 net/mac80211/tx.c:4665 __netdev_start_xmit include/linux/netdevice.h:5432 [inline] netdev_start_xmit include/linux/netdevice.h:5441 [inline] xmit_one net/core/dev.c:3953 [inline] dev_hard_start_xmit+0x121/0x760 net/core/dev.c:3969 __dev_queue_xmit+0x1c25/0x4a40 net/core/dev.c:4958 dev_queue_xmit include/linux/netdevice.h:3464 [inline] packet_xmit+0x243/0x310 net/packet/af_packet.c:277 packet_snd net/packet/af_packet.c:3149 [inline] packet_sendmsg+0x32ee/0x5040 net/packet/af_packet.c:3181 sock_sendmsg_nosec net/socket.c:800 [inline] __sock_sendmsg net/socket.c:815 [inline] sock_write_iter+0x53a/0x5b0 net/socket.c:1266 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6af/0x1050 fs/read_write.c:687 ksys_write+0x1f8/0x250 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcc7419e559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcc750ea028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fcc74426090 RCX: 00007fcc7419e559 RDX: 000000000000001c RSI: 0000200000000500 RDI: 0000000000000006 RBP: 00007fcc74235ab8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcc74426128 R14: 00007fcc74426090 R15: 00007fff728af578