------------[ cut here ]------------ intf 08:02:11:00:00:00 [link=0]: bad STA 08:02:11:00:00:01 bandwidth 20 MHz (0) > channel config 2 MHz (9) WARNING: CPU: 1 PID: 13774 at drivers/net/wireless/virtual/mac80211_hwsim.c:2651 mac80211_hwsim_sta_rc_update+0x60b/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2651 Modules linked in: CPU: 1 UID: 0 PID: 13774 Comm: syz.2.2175 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:mac80211_hwsim_sta_rc_update+0x60b/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2651 Code: 8b 44 24 20 89 da 48 c7 c7 60 44 6c 8c 44 8b 89 b8 01 00 00 41 54 48 8d b0 72 04 00 00 41 55 44 8b 44 24 14 e8 26 4a 67 fa 90 <0f> 0b 90 90 58 5a e9 36 fc ff ff e8 b5 4f a8 fa e8 f0 18 7f 04 31 RSP: 0018:ffffc9000393f178 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9002ae98000 RDX: 0000000000080000 RSI: ffffffff817a0305 RDI: 0000000000000001 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000009 R13: 0000000000000002 R14: ffff88804ea79080 R15: ffff8880240230a0 FS: 0000000000000000(0000) GS:ffff8880975b9000(0063) knlGS:00000000f5406b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000080001080 CR3: 0000000064bd0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000e08e120c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: mac80211_hwsim_sta_add+0xc9/0x2c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2671 drv_sta_add net/mac80211/driver-ops.h:470 [inline] drv_sta_state+0xa08/0x1940 net/mac80211/driver-ops.c:155 sta_info_insert_drv_state net/mac80211/sta_info.c:824 [inline] sta_info_insert_finish net/mac80211/sta_info.c:932 [inline] sta_info_insert_rcu+0xc8d/0x1b70 net/mac80211/sta_info.c:1009 sta_info_insert+0x16/0xd0 net/mac80211/sta_info.c:1014 ieee80211_add_station+0x46d/0x6c0 net/mac80211/cfg.c:2291 rdev_add_station net/wireless/rdev-ops.h:201 [inline] nl80211_new_station+0x14ff/0x1c90 net/wireless/nl80211.c:8442 genl_family_rcv_msg_doit+0x206/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f12579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f540655c EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 0000000080001080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi