bisecting fixing commit since b94de4d19498b454645b72d08a05d32fa9074fb5 building syzkaller on cba33199be220cbf61f7c0c8223d88a25a913d6f testing commit b94de4d19498b454645b72d08a05d32fa9074fb5 with gcc (GCC) 8.4.1 20210217 kernel signature: 03509c47f7a519cee9534ec2b670d9099c1a46da363bc7e4436cd3e28cdac4fa all runs: crashed: WARNING in drv_remove_interface testing current HEAD 1e986fe9ad15b8406034c504afc5ae76f0a8e852 testing commit 1e986fe9ad15b8406034c504afc5ae76f0a8e852 with gcc (GCC) 8.4.1 20210217 kernel signature: 8d6a480816330b1b0f7479f2e999e2625d7e4753e27dbf2dbb9591a039cc9cbb all runs: crashed: WARNING in drv_remove_interface revisions tested: 2, total time: 29m5.773055704s (build: 21m25.469305254s, test: 7m12.83241184s) the crash still happens on HEAD commit msg: Linux 4.19.191 crash: WARNING in drv_remove_interface IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready ------------[ cut here ]------------ wlan0: Failed check-sdata-in-driver check, flags: 0x4 WARNING: CPU: 1 PID: 17885 at net/mac80211/driver-ops.h:19 check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline] WARNING: CPU: 1 PID: 17885 at net/mac80211/driver-ops.h:19 drv_remove_interface+0x3e9/0x530 net/mac80211/driver-ops.c:100 Modules linked in: CPU: 1 PID: 17885 Comm: syz-executor.5 Not tainted 4.19.191-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline] RIP: 0010:drv_remove_interface+0x3e9/0x530 net/mac80211/driver-ops.c:100 Code: 01 00 0f 85 4d 01 00 00 49 8b b4 24 28 05 00 00 49 81 c4 48 05 00 00 48 c7 c7 80 67 f6 88 48 85 f6 49 0f 44 f4 e8 38 4c 57 00 <0f> 0b e9 3e fd ff ff 0f 0b e9 82 fc ff ff 0f 0b e9 20 fd ff ff 4c RSP: 0018:ffff8881c5b674e8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8881cfb9aba0 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffffffff88501d00 RDI: ffffffff8bad6720 RBP: ffff8881c5b67518 R08: ffffed103eca4e99 R09: ffffed103eca4e98 R10: ffffed103eca4e98 R11: ffff8881f65274c7 R12: ffff8881cfb4d548 R13: ffff8881cfb99ba0 R14: dffffc0000000000 R15: ffff8881cfb4d538 FS: 00007f88898d1700(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fde4521c108 CR3: 00000001e592f002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_do_stop+0xf9c/0x1d90 net/mac80211/iface.c:1053 ieee80211_stop+0x15/0x20 net/mac80211/iface.c:1080 __dev_close_many+0x196/0x2b0 net/core/dev.c:1485 __dev_close net/core/dev.c:1497 [inline] __dev_change_flags+0x214/0x590 net/core/dev.c:7669 dev_change_flags+0x7b/0x150 net/core/dev.c:7740 devinet_ioctl+0xfed/0x1610 net/ipv4/devinet.c:1106 inet_ioctl+0x14f/0x2b0 net/ipv4/af_inet.c:954 packet_ioctl+0xdc/0x280 net/packet/af_packet.c:4149 sock_do_ioctl+0xd9/0x230 net/socket.c:950 sock_ioctl+0x281/0x500 net/socket.c:1074 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 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:00007f88898d1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000055bf00 RCX: 0000000000465889 RDX: 0000000020001000 RSI: 0000000000008914 RDI: 0000000000000003 RBP: 00000000004af68d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bf00 R13: 00007ffc1370e9df R14: 00007f88898d1300 R15: 0000000000022000 irq event stamp: 852 hardirqs last enabled at (851): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (851): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (852): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (846): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (827): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (827): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace 2cfcd3fd79d693c8 ]--- IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready ------------[ cut here ]------------ wlan0: Failed check-sdata-in-driver check, flags: 0x4 WARNING: CPU: 0 PID: 19568 at net/mac80211/driver-ops.h:19 check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline] WARNING: CPU: 0 PID: 19568 at net/mac80211/driver-ops.h:19 drv_remove_interface+0x3e9/0x530 net/mac80211/driver-ops.c:100 Modules linked in: CPU: 0 PID: 19568 Comm: syz-executor.0 Tainted: G W 4.19.191-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline] RIP: 0010:drv_remove_interface+0x3e9/0x530 net/mac80211/driver-ops.c:100 Code: 01 00 0f 85 4d 01 00 00 49 8b b4 24 28 05 00 00 49 81 c4 48 05 00 00 48 c7 c7 80 67 f6 88 48 85 f6 49 0f 44 f4 e8 38 4c 57 00 <0f> 0b e9 3e fd ff ff 0f 0b e9 82 fc ff ff 0f 0b e9 20 fd ff ff 4c RSP: 0018:ffff8881c4b274e8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8881cd682b20 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffffffff88501d00 RDI: ffffffff8bad6720 RBP: ffff8881c4b27518 R08: ffffed103ec84e99 R09: ffffed103ec84e98 R10: ffffed103ec84e98 R11: ffff8881f64274c7 R12: ffff8881d2212dc8 R13: ffff8881cd681b20 R14: dffffc0000000000 R15: ffff8881d2212db8 FS: 00007fbdd27da700(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc734abf000 CR3: 00000001f2560003 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_do_stop+0xf9c/0x1d90 net/mac80211/iface.c:1053 ieee80211_stop+0x15/0x20 net/mac80211/iface.c:1080 __dev_close_many+0x196/0x2b0 net/core/dev.c:1485 __dev_close net/core/dev.c:1497 [inline] __dev_change_flags+0x214/0x590 net/core/dev.c:7669 dev_change_flags+0x7b/0x150 net/core/dev.c:7740 devinet_ioctl+0xfed/0x1610 net/ipv4/devinet.c:1106 inet_ioctl+0x14f/0x2b0 net/ipv4/af_inet.c:954 packet_ioctl+0xdc/0x280 net/packet/af_packet.c:4149 sock_do_ioctl+0xd9/0x230 net/socket.c:950 sock_ioctl+0x281/0x500 net/socket.c:1074 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 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:00007fbdd27da188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000055bf00 RCX: 0000000000465889 RDX: 0000000020001000 RSI: 0000000000008914 RDI: 0000000000000003 RBP: 00000000004af68d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bf00 R13: 00007ffccbb99d6f R14: 00007fbdd27da300 R15: 0000000000022000 irq event stamp: 774 hardirqs last enabled at (773): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (773): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (774): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (768): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (667): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (667): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace 2cfcd3fd79d693c9 ]---