bisecting fixing commit since b94de4d19498b454645b72d08a05d32fa9074fb5 building syzkaller on cba33199be220cbf61f7c0c8223d88a25a913d6f testing commit b94de4d19498b454645b72d08a05d32fa9074fb5 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: fe71d71439fc11e68b6825a2b72b2f09894515566786ee07611cd5d7e7d49d36 all runs: crashed: WARNING in ieee80211_check_rate_mask testing current HEAD b172b44fcb1771e083aad806fa96f3f60e2ddfac testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: cdcb31fbf4e7980de38e76329752d117af0bca97d93ecfcfdcf0e9d6d73b243b all runs: crashed: WARNING in ieee80211_check_rate_mask revisions tested: 2, total time: 22m26.373092773s (build: 14m51.305220549s, test: 7m2.911609109s) the crash still happens on HEAD commit msg: Linux 4.19.206 crash: WARNING in ieee80211_check_rate_mask wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 netlink: 20 bytes leftover after parsing attributes in process `syz-executor.0'. wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 WARNING: CPU: 1 PID: 9230 at net/mac80211/rate.c:279 ieee80211_check_rate_mask+0x1f3/0x2c0 net/mac80211/rate.c:293 Modules linked in: CPU: 1 PID: 9230 Comm: syz-executor.0 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ieee80211_check_rate_mask+0x1f3/0x2c0 net/mac80211/rate.c:279 Code: 89 e2 83 e2 07 83 c2 03 38 ca 7c 08 84 c9 0f 85 c6 00 00 00 41 89 86 f0 09 00 00 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b eb ed 4c 89 e7 89 4d d4 e8 2e 5f 5b fa 8b 4d d4 e9 93 fe ff RSP: 0018:ffff8881d45bf4d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881d2f45c40 RCX: 0000000000000000 RDX: 1ffff1103a5e8d86 RSI: ffff8881d3bdb388 RDI: ffff8881d2f46c30 RBP: ffff8881d45bf510 R08: ffff8881ec59c2e1 R09: 0000000000000004 R10: ffffed103a77b674 R11: 0000000000000000 R12: ffff8881d3bdb478 R13: ffff8881d2f45c40 R14: 0000000000000000 R15: ffff8881d45bf5c0 FS: 00007f6129da8700(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f329d3b9718 CR3: 00000001ed717005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_change_bss+0x409/0x930 net/mac80211/cfg.c:2068 rdev_change_bss net/wireless/rdev-ops.h:380 [inline] nl80211_set_bss+0x675/0xce0 net/wireless/nl80211.c:6030 genl_family_rcv_msg+0x599/0x1000 net/netlink/genetlink.c:602 genl_rcv_msg+0xa7/0x140 net/netlink/genetlink.c:627 netlink_rcv_skb+0x13e/0x3d0 net/netlink/af_netlink.c:2457 genl_rcv+0x23/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x443/0x660 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x667/0xc60 net/netlink/af_netlink.c:1911 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:661 ___sys_sendmsg+0x647/0x950 net/socket.c:2227 __sys_sendmsg+0xd9/0x180 net/socket.c:2265 __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2272 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465889 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6129da8188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000055bf00 RCX: 0000000000465889 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00000000004af68d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bf00 R13: 00007ffcae2c1e8f R14: 00007f6129da8300 R15: 0000000000022000 irq event stamp: 2210 hardirqs last enabled at (2209): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (2209): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (2210): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (2206): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (2043): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (2043): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace 34421b518dcdc2a2 ]--- IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.4'. nla_parse: 487 callbacks suppressed netlink: 20 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.0'.