------------[ cut here ]------------ WARNING: CPU: 0 PID: 10293 at drivers/net/wireless/virtual/mac80211_hwsim.c:1445 mac80211_hwsim_config_mac_nl+0x2b2/0x370 drivers/net/wireless/virtual/mac80211_hwsim.c:1445 Modules linked in: CPU: 0 UID: 0 PID: 10293 Comm: syz.4.1232 Not tainted 6.12.0-syzkaller-05536-gf6d7695b5ae2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mac80211_hwsim_config_mac_nl+0x2b2/0x370 drivers/net/wireless/virtual/mac80211_hwsim.c:1445 Code: 48 8b 3c 24 4c 89 fe 44 89 ea 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d e9 eb f8 ff ff e8 66 95 7f fa eb 05 e8 5f 95 7f fa 90 <0f> 0b 90 e9 10 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 90 fd RSP: 0018:ffffc900036b76b0 EFLAGS: 00010293 RAX: ffffffff87156d81 RBX: 0000000000000000 RCX: ffff8880268fbc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff87156b8d R09: 1ffffffff207e736 R10: dffffc0000000000 R11: ffffffff8714dbd0 R12: ffff88807da1ae32 R13: 0000000000000000 R14: 0000000000000001 R15: ffff88805a7330a0 FS: 00007f74687366c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7467965fe0 CR3: 0000000064994000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mac80211_hwsim_add_interface+0x9a/0x320 drivers/net/wireless/virtual/mac80211_hwsim.c:2136 drv_add_interface+0x2f8/0x8e0 net/mac80211/driver-ops.c:73 ieee80211_do_open+0x73d/0x2430 net/mac80211/iface.c:1373 ieee80211_open+0x192/0x200 net/mac80211/iface.c:458 __dev_open+0x2d3/0x450 net/core/dev.c:1476 __dev_change_flags+0x1e2/0x6f0 net/core/dev.c:8943 dev_change_flags+0x8b/0x1a0 net/core/dev.c:9015 devinet_ioctl+0xcce/0x1ac0 net/ipv4/devinet.c:1208 inet_ioctl+0x3d7/0x4f0 net/ipv4/af_inet.c:1001 sock_do_ioctl+0x158/0x460 net/socket.c:1209 sock_ioctl+0x626/0x8e0 net/socket.c:1328 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f746798040b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f7468734e80 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7468734fa0 RCX: 00007f746798040b RDX: 00007f7468734f00 RSI: 0000000000008914 RDI: 0000000000000007 RBP: 0000000000000007 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000024 R13: 0000000000000048 R14: 00007f7468734fc0 R15: 00007f7468734f00