bisecting fixing commit since b94de4d19498b454645b72d08a05d32fa9074fb5 building syzkaller on cba33199be220cbf61f7c0c8223d88a25a913d6f testing commit b94de4d19498b454645b72d08a05d32fa9074fb5 with gcc (GCC) 8.1.0 kernel signature: f0d9d3c0086091bae9929aafba584be1490e0bcb9aaae7b729f3407d476e710c all runs: crashed: WARNING in drv_remove_interface testing current HEAD 4abf26854aade9732a215a168205fa9fecd6149a testing commit 4abf26854aade9732a215a168205fa9fecd6149a with gcc (GCC) 8.1.0 kernel signature: b2177c6d34ef339cf2c8da5c85b4e1c5891029520001d6ec9cd0314f4bdce5fc all runs: crashed: WARNING in drv_remove_interface revisions tested: 2, total time: 24m5.892983279s (build: 17m0.293305166s, test: 6m32.600878217s) the crash still happens on HEAD commit msg: Linux 4.19.162 crash: WARNING in drv_remove_interface IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready ------------[ cut here ]------------ wlan0: Failed check-sdata-in-driver check, flags: 0x4 WARNING: CPU: 0 PID: 16582 at net/mac80211/driver-ops.h:19 check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline] WARNING: CPU: 0 PID: 16582 at net/mac80211/driver-ops.h:19 drv_remove_interface+0x3e9/0x530 net/mac80211/driver-ops.c:100 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 16582 Comm: syz-executor.1 Not tainted 4.19.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x22a lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.7+0x1b/0x3e kernel/panic.c:541 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 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 a0 fe f5 88 48 85 f6 49 0f 44 f4 e8 2a 8b ed f9 <0f> 0b e9 3e fd ff ff 0f 0b e9 82 fc ff ff 0f 0b e9 20 fd ff ff 4c RSP: 0018:ffff8881c57a74e8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8881d4362a60 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffffffff88500160 RDI: ffffffff8bad56e0 RBP: ffff8881c57a7518 R08: ffffed103ec84e99 R09: ffffed103ec84e98 R10: ffffed103ec84e98 R11: ffff8881f64274c7 R12: ffff8881db8b9a48 R13: ffff8881d4361aa0 R14: dffffc0000000000 R15: ffff8881db8b9a38 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:0x45deb9 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fbba8653c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001dc40 RCX: 000000000045deb9 RDX: 0000000020001000 RSI: 0000000000008914 RDI: 0000000000000003 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffcd70a5aaf R14: 00007fbba86549c0 R15: 000000000118bf2c Kernel Offset: disabled Rebooting in 86400 seconds..