------------[ 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#0: syz.0.6382/30999 WARNING: drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 at mac80211_hwsim_tx+0x1d04/0x25b0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2248, CPU#0: syz.0.6382/30999 Modules linked in: CPU: 0 UID: 0 PID: 30999 Comm: syz.0.6382 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:hwsim_check_sta_magic drivers/net/wireless/virtual/mac80211_hwsim_main.c:258 [inline] RIP: 0010:mac80211_hwsim_tx+0x1d04/0x25b0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2248 Code: e8 03 42 0f b6 04 20 84 c0 0f 85 0b 08 00 00 45 0f b6 8d 71 08 00 00 4c 89 ee 67 48 0f b9 3a e9 c4 f4 ff ff e8 8d 05 7a fa 90 <0f> 0b 90 e9 27 f5 ff ff e8 7f 05 7a fa 90 0f 0b 90 48 8b 7c 24 20 RSP: 0018:ffffc90004346b60 EFLAGS: 00010293 RAX: ffffffff874f1043 RBX: 0000000000000000 RCX: ffff88802710be80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006d537749 RBP: ffffc90004346cf0 R08: ffff888052da4c8f R09: 0000000000000000 R10: ffff888052da4c80 R11: ffffffff874ef340 R12: dffffc0000000000 R13: 00000000ffffffff R14: 0000000000000000 R15: 1ffff92000868db8 FS: 00007f0570aa46c0(0000) GS:ffff888123620000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c266d23 CR3: 000000002b1f0000 CR4: 00000000003526f0 Call Trace: drv_tx net/mac80211/driver-ops.h:38 [inline] ieee80211_tx_frags+0x3df/0x890 net/mac80211/tx.c:1801 __ieee80211_xmit_fast+0xabf/0x2160 net/mac80211/tx.c:3879 ieee80211_mesh_xmit_fast+0xa6d/0xe20 net/mac80211/mesh.c:823 __ieee80211_subif_start_xmit+0x663/0x1840 net/mac80211/tx.c:4469 ieee80211_subif_start_xmit+0xee/0x560 net/mac80211/tx.c:4726 __netdev_start_xmit include/linux/netdevice.h:5455 [inline] netdev_start_xmit include/linux/netdevice.h:5464 [inline] xmit_one net/core/dev.c:4068 [inline] dev_hard_start_xmit+0x2cd/0x830 net/core/dev.c:4084 __dev_queue_xmit+0x14d1/0x3920 net/core/dev.c:5086 packet_snd net/packet/af_packet.c:3157 [inline] packet_sendmsg+0x406f/0x5330 net/packet/af_packet.c:3189 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] sock_write_iter+0x2de/0x3e0 net/socket.c:1269 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f056fb9f559 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:00007f0570aa4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f056fe26090 RCX: 00007f056fb9f559 RDX: 000000000000001c RSI: 0000200000001180 RDI: 000000000000000c RBP: 00007f056fc36b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f056fe26128 R14: 00007f056fe26090 R15: 00007ffc745abb58