------------[ cut here ]------------ hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw) WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2235 at mac80211_hwsim_tx+0x16c2/0x2b10 drivers/net/wireless/virtual/mac80211_hwsim.c:2235, CPU#0: syz.1.444/7156 Modules linked in: CPU: 0 UID: 0 PID: 7156 Comm: syz.1.444 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_tx+0x16c2/0x2b10 drivers/net/wireless/virtual/mac80211_hwsim.c:2235 Code: 03 80 3c 02 00 0f 85 85 13 00 00 49 8b 86 00 38 00 00 c7 44 24 20 00 00 00 00 48 89 44 24 18 e9 bc eb ff ff e8 1f 51 dc fa 90 <0f> 0b 90 e9 15 f1 ff ff e8 11 51 dc fa 90 0f 0b 90 48 8b 3c 24 4c RSP: 0018:ffffc90003357338 EFLAGS: 00010283 RAX: 0000000000000410 RBX: 0000000000000014 RCX: ffffc9000c803000 RDX: 0000000000080000 RSI: ffffffff872babe1 RDI: ffff888029248000 RBP: ffff88802b1e7930 R08: 0000000000000004 R09: 0000000000000014 R10: 0000000000000028 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000028 R15: 0000000000000020 FS: 0000000000000000(0000) GS:ffff88809718b000(0063) knlGS:00000000f540db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f704c5d0 CR3: 0000000071939000 CR4: 0000000000352ef0 Call Trace: drv_tx net/mac80211/driver-ops.h:38 [inline] ieee80211_tx_frags+0x5c9/0xa70 net/mac80211/tx.c:1746 __ieee80211_tx+0x145/0x5b0 net/mac80211/tx.c:1801 ieee80211_tx+0x336/0x460 net/mac80211/tx.c:1984 ieee80211_xmit+0x30f/0x3e0 net/mac80211/tx.c:2076 ieee80211_monitor_start_xmit+0xdd1/0x1280 net/mac80211/tx.c:2467 __netdev_start_xmit include/linux/netdevice.h:5368 [inline] netdev_start_xmit include/linux/netdevice.h:5377 [inline] xmit_one net/core/dev.c:3888 [inline] dev_hard_start_xmit+0x128/0x7a0 net/core/dev.c:3904 __dev_queue_xmit+0x1baa/0x4950 net/core/dev.c:4870 dev_queue_xmit include/linux/netdevice.h:3418 [inline] packet_xmit+0x243/0x310 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3082 [inline] packet_sendmsg+0x319a/0x5100 net/packet/af_packet.c:3114 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] __sys_sendto+0x468/0x4b0 net/socket.c:2265 __do_sys_sendto net/socket.c:2272 [inline] __se_sys_sendto net/socket.c:2268 [inline] __ia32_sys_sendto+0xdd/0x1b0 net/socket.c:2268 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf701ef7c Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f540d50c EFLAGS: 00000292 ORIG_RAX: 0000000000000171 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000080000640 RDX: 0000000000000030 RSI: 0000000004000000 RDI: 0000000080000380 RBP: 0000000000000014 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8