bisecting fixing commit since 4abf26854aade9732a215a168205fa9fecd6149a building syzkaller on c090b4da255257841173fb4eb18c19d69b293180 testing commit 4abf26854aade9732a215a168205fa9fecd6149a with gcc (GCC) 8.1.0 kernel signature: 2c1c89b7e86ec4fc7e90dbe63d51643a5b056409fc5ad485c9f64001d5d98e18 all runs: crashed: general protection fault in ioctl_standard_call testing current HEAD 4143d798313fffa39f05bf24dd560ace42225c26 testing commit 4143d798313fffa39f05bf24dd560ace42225c26 with gcc (GCC) 8.1.0 kernel signature: 305e6f80316c2eb7496a7a7d34a31b90b09113d9a9954ff8a8af5b4608f78a4c run #0: basic kernel testing failed: BUG: program execution failed: executor 0: exit status 67 run #1: crashed: general protection fault in ioctl_standard_call run #2: crashed: general protection fault in ioctl_standard_call run #3: crashed: general protection fault in ioctl_standard_call run #4: crashed: general protection fault in ioctl_standard_call run #5: crashed: general protection fault in ioctl_standard_call run #6: crashed: general protection fault in ioctl_standard_call run #7: crashed: general protection fault in ioctl_standard_call run #8: crashed: general protection fault in ioctl_standard_call run #9: crashed: general protection fault in ioctl_standard_call revisions tested: 2, total time: 23m36.474743005s (build: 16m59.946258093s, test: 6m4.074828816s) the crash still happens on HEAD commit msg: Linux 4.19.165 crash: general protection fault in ioctl_standard_call 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 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9874 Comm: syz-executor.4 Not tainted 4.19.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:call_commit_handler net/wireless/wext-core.c:900 [inline] RIP: 0010:ioctl_standard_call+0x15c/0x240 net/wireless/wext-core.c:1029 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d6 00 00 00 49 8b 9d e8 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 be 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffff888090eb7a58 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff11012ec4dc5 RDX: 0000000000000000 RSI: ffff888097626e08 RDI: ffff88809708cbe8 RBP: ffff888090eb7aa0 R08: ffff888097626e28 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888090eb7b70 R13: ffff88809708ca00 R14: ffffffff88f5ef78 R15: ffffffff88f5ef40 FS: 00007efea8c22700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564faaa68160 CR3: 00000000b534f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wireless_process_ioctl+0x2a9/0x450 net/wireless/wext-core.c:954 wext_ioctl_dispatch net/wireless/wext-core.c:987 [inline] wext_handle_ioctl+0xf0/0x170 net/wireless/wext-core.c:1048 sock_ioctl+0x293/0x500 net/socket.c:1015 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:0x45e159 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:00007efea8c21c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e159 RDX: 00000000200000c0 RSI: 0000000000008b04 RDI: 0000000000000003 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fff0470ed0f R14: 00007efea8c229c0 R15: 000000000119bf8c Modules linked in: ---[ end trace e3e391c4b53bb412 ]--- RIP: 0010:call_commit_handler net/wireless/wext-core.c:900 [inline] RIP: 0010:ioctl_standard_call+0x15c/0x240 net/wireless/wext-core.c:1029 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d6 00 00 00 49 8b 9d e8 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 be 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffff888090eb7a58 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff11012ec4dc5 RDX: 0000000000000000 RSI: ffff888097626e08 RDI: ffff88809708cbe8 RBP: ffff888090eb7aa0 R08: ffff888097626e28 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888090eb7b70 R13: ffff88809708ca00 R14: ffffffff88f5ef78 R15: ffffffff88f5ef40 FS: 00007efea8c22700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564faaa68160 CR3: 00000000b534f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400