------------[ 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 5 MHz (6) WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2832 at mac80211_hwsim_sta_rc_update+0x696/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2829, CPU#0: syz.0.0/5332 Modules linked in: CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:mac80211_hwsim_sta_rc_update+0x6f4/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2829 Code: 85 d2 00 00 00 45 8b 36 44 89 f7 e8 76 21 00 00 48 8b 7c 24 28 48 8b 74 24 30 89 ea 48 8b 4c 24 10 41 89 d8 45 89 f9 41 56 50 <67> 48 0f b9 3a 48 83 c4 10 e9 08 ff ff ff e8 49 df b9 fa 90 0f 0b RSP: 0018:ffffc90007e46ef0 EFLAGS: 00010283 RAX: 0000000000000005 RBX: 0000000000000014 RCX: ffff8880344d8ec0 RDX: 0000000000000000 RSI: ffff888041583362 RDI: ffffffff903ce6d0 RBP: 0000000000000000 R08: 0000000000000014 R09: 0000000000000000 R10: 000000000000000d R11: 0000000000000002 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000006 R15: 0000000000000000 FS: 00007f3f7200e6c0(0000) GS:ffff88808c8ae000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564eafd55168 CR3: 000000001fd5b000 CR4: 0000000000352ef0 Call Trace: mac80211_hwsim_sta_add+0xa3/0x340 drivers/net/wireless/virtual/mac80211_hwsim.c:2849 drv_sta_add net/mac80211/driver-ops.h:470 [inline] drv_sta_state+0x879/0x17e0 net/mac80211/driver-ops.c:155 sta_info_insert_drv_state net/mac80211/sta_info.c:842 [inline] sta_info_insert_finish net/mac80211/sta_info.c:950 [inline] sta_info_insert_rcu+0x171f/0x2780 net/mac80211/sta_info.c:1027 sta_info_insert+0x16/0xc0 net/mac80211/sta_info.c:1032 ieee80211_add_station+0x4bf/0x700 net/mac80211/cfg.c:2502 rdev_add_station+0xfc/0x290 net/wireless/rdev-ops.h:201 nl80211_new_station+0x1b4e/0x1fd0 net/wireless/nl80211.c:9226 genl_family_rcv_msg_doit+0x233/0x340 net/netlink/genetlink.c:1114 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline] genl_rcv_msg+0x614/0x7a0 net/netlink/genetlink.c:1209 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2555 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x7bb/0x940 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1899 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x9b9/0xa20 net/socket.c:2699 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2753 __sys_sendmsg net/socket.c:2785 [inline] __do_sys_sendmsg net/socket.c:2790 [inline] __se_sys_sendmsg net/socket.c:2788 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2788 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3f7119ce59 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:00007f3f7200dfe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3f71415fa0 RCX: 00007f3f7119ce59 RDX: 0000000000000000 RSI: 0000200000001080 RDI: 0000000000000005 RBP: 00007f3f71232d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3f71416038 R14: 00007f3f71415fa0 R15: 00007ffcebce2bf8 ---------------- Code disassembly (best guess): 0: 85 d2 test %edx,%edx 2: 00 00 add %al,(%rax) 4: 00 45 8b add %al,-0x75(%rbp) 7: 36 44 89 f7 ss mov %r14d,%edi b: e8 76 21 00 00 call 0x2186 10: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 15: 48 8b 74 24 30 mov 0x30(%rsp),%rsi 1a: 89 ea mov %ebp,%edx 1c: 48 8b 4c 24 10 mov 0x10(%rsp),%rcx 21: 41 89 d8 mov %ebx,%r8d 24: 45 89 f9 mov %r15d,%r9d 27: 41 56 push %r14 29: 50 push %rax * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 83 c4 10 add $0x10,%rsp 33: e9 08 ff ff ff jmp 0xffffff40 38: e8 49 df b9 fa call 0xfab9df86 3d: 90 nop 3e: 0f 0b ud2