bisecting cause commit starting from 9ff9b0d392ea08090cd1780fb196f36dbb586529 building syzkaller on 99c64d5c672700d6c0de63d11db25a0678e47a75 testing commit 9ff9b0d392ea08090cd1780fb196f36dbb586529 with gcc (GCC) 8.1.0 kernel signature: 2416cc9c49e366cf537961695bff41908625fbfd9fa8506c4e5015ff1b6b27c5 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in ioctl_standard_call testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b with gcc (GCC) 8.1.0 kernel signature: c5fd1f8f8bd5e755c31e057120dedb26192932f17d53b88e3591b0f0fab98a98 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in ioctl_standard_call testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c with gcc (GCC) 8.1.0 kernel signature: e7c4d49f598ff02e18b2213ec499225f8e81949ee54f9ca455937512c87ce537 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in ioctl_standard_call testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.1.0 kernel signature: 353a31ce2fcee5ec7819c873db414e984e59be1140559840b29326c403762e8f all runs: crashed: general protection fault in call_commit_handler testing release v5.6 testing commit 7111951b8d4973bda27ff663f2cf18b663d15b48 with gcc (GCC) 8.1.0 kernel signature: 3126ced539080161c6f4c96a382ed44106ffa5471892ebc52cd759a830979ce8 all runs: crashed: general protection fault in call_commit_handler testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 with gcc (GCC) 8.1.0 kernel signature: ca638258f90fcc22b323e61e3ed7778ad600e9bbddc95290a5d2b6c420773275 all runs: crashed: general protection fault in call_commit_handler testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 with gcc (GCC) 8.1.0 kernel signature: 183651508f1c6ce45b34621de3df5695719c6d00d5a2f0961ac0f40d91534766 all runs: crashed: general protection fault in call_commit_handler testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 with gcc (GCC) 8.1.0 kernel signature: f7f75fa651833462c9ae36e4c1ecf4fe43baf246fc12c1c269da836abd70b28e all runs: crashed: general protection fault in call_commit_handler testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 with gcc (GCC) 8.1.0 kernel signature: f742992d0ef17766645c4d2aefe775ca3160403aec7a99848b9090147b136c79 all runs: crashed: general protection fault in ioctl_standard_call testing release v5.1 testing commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd with gcc (GCC) 8.1.0 kernel signature: f3e7d5a4508c8f41c8e58c32dbce57affb8ee96c6767d53c89dfe153f901fe82 all runs: crashed: general protection fault in ioctl_standard_call testing release v5.0 testing commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 with gcc (GCC) 8.1.0 kernel signature: 12059f8d340d482e01fabeca2c325038da0051dd31a27e38d1ab3f27b8c75da5 all runs: crashed: general protection fault in ioctl_standard_call testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be with gcc (GCC) 8.1.0 kernel signature: 5954af4f153eecd6f67b550830d9ffedc6071f9072c38af130c7ddf006441485 all runs: crashed: general protection fault in ioctl_standard_call testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d with gcc (GCC) 8.1.0 kernel signature: b128cf3bd05e7089b1d74d6a1025d04465bc729f158546a1c100d84c746311c1 run #0: crashed: general protection fault in ioctl_standard_call 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: boot failed: KASAN: use-after-free Read in dd_has_work testing release v4.18 testing commit 94710cac0ef4ee177a63b5227664b38c95bbf703 with gcc (GCC) 8.1.0 kernel signature: c49327914be7f3e6da9729d9ce6e21fb615c739b9413b88fbbdb9e391f8e0866 all runs: crashed: general protection fault in ioctl_standard_call testing release v4.17 testing commit 29dcea88779c856c7dc92040a0c01233263101d4 with gcc (GCC) 8.1.0 kernel signature: 064191ff88dbe3fbcb22e1f1ea923d5af3120042aec22f939ab2daf1728b7067 all runs: crashed: general protection fault in ioctl_standard_call testing release v4.16 testing commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda with gcc (GCC) 8.1.0 kernel signature: 1d2c3a48a80a2aa7b13174bf6873cc87b405efa7a36019beeddb1614e5bacdec all runs: crashed: general protection fault in ioctl_standard_call testing release v4.15 testing commit d8a5b80568a9cb66810e75b182018e9edb68e8ff with gcc (GCC) 8.1.0 kernel signature: e23b8684b2e1ec46c436bbb2e8b3fba057c15b99554f850d9f15b3ce8a11cea7 run #0: basic kernel testing failed: WARNING in check_flush_dependency run #1: basic kernel testing failed: WARNING in check_flush_dependency run #2: basic kernel testing failed: WARNING in check_flush_dependency run #3: basic kernel testing failed: WARNING in check_flush_dependency run #4: basic kernel testing failed: WARNING in check_flush_dependency run #5: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-execprog" "root@10.128.0.125:./syz-execprog"]: exit status 1 Connection timed out during banner exchange lost connection run #6: basic kernel testing failed: WARNING in check_flush_dependency run #7: basic kernel testing failed: WARNING in check_flush_dependency run #8: basic kernel testing failed: WARNING in check_flush_dependency run #9: basic kernel testing failed: WARNING in check_flush_dependency testing release v4.14 testing commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 with gcc (GCC) 8.1.0 kernel signature: 4c629a65887ca038673f51acaeeba61c9dc9380b503d1b59e879894841895e29 all runs: crashed: general protection fault in ioctl_standard_call testing release v4.13 testing commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 with gcc (GCC) 8.1.0 kernel signature: 479c130b3d36976fde6cc45ab32344859be5cc20009ce7153f99789af1850668 all runs: crashed: general protection fault in ioctl_standard_call testing release v4.12 testing commit 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c with gcc (GCC) 8.1.0 kernel signature: b89b80249a5be216405aa30e49b1cb36e1a0b2db4e288c802cb67c61e2e0aa42 all runs: basic kernel testing failed: BUG: sleeping function called from invalid context in tap_get_minor testing release v4.11 testing commit a351e9b9fc24e982ec2f0e76379a49826036da12 with gcc (GCC) 7.3.0 kernel signature: 662153d1bfb772da99d919b513820a06fc9c13ff6c17b130426c406487ed5c3c all runs: basic kernel testing failed: BUG: sleeping function called from invalid context in tap_get_minor testing release v4.10 testing commit c470abd4fde40ea6a0846a2beab642a578c0b8cd with gcc (GCC) 5.5.0 kernel signature: 0844f1847606944095690e706486a92aa02c6f989f8482551795859aee06f185 all runs: crashed: general protection fault in call_commit_handler testing release v4.9 testing commit 69973b830859bc6529a7a0468ba0d80ee5117826 with gcc (GCC) 5.5.0 kernel signature: 283e6d2880a5cf0b96f0cafef73c5e8aa74cf5da9230a32ee12e1d49b7dcbeae all runs: crashed: general protection fault in call_commit_handler testing release v4.8 testing commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 with gcc (GCC) 5.5.0 kernel signature: 3240f827c67c7618d4a15f118bfb41680ec2e2ccf9d108632a20982953430cc0 all runs: basic kernel testing failed: WARNING in depot_save_stack testing release v4.7 testing commit 523d939ef98fd712632d93a5a2b588e477a7565e with gcc (GCC) 5.5.0 kernel signature: 2c4b4c8cd63fb266ba3c54709747fd2b6e96b08deb76ebd77143113029519680 run #0: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #1: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #2: basic kernel testing failed: BUG: program execution failed: executor 0: exit status 67 run #3: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #4: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #5: basic kernel testing failed: BUG: program execution failed: executor 0: exit status 67 run #6: basic kernel testing failed: BUG: program execution failed: executor 0: exit status 67 run #7: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #8: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #9: basic kernel testing failed: BUG: program execution failed: executor 0: exit status 67 testing release v4.6 testing commit 2dcd0af568b0cf583645c8a317dd12e344b1c72a with gcc (GCC) 5.5.0 kernel signature: 011d62243ba230b2c70329f1c1bcd8f0fade87a11a55623c2415f2caf69be7b3 all runs: basic kernel testing failed: WARNING in depot_save_stack revisions tested: 26, total time: 3h56m28.195420845s (build: 2h23m49.967317193s, test: 1h27m5.265358239s) the crash already happened on the oldest tested release commit msg: Linux 4.9 crash: general protection fault in call_commit_handler IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: 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 Modules linked in: CPU: 1 PID: 9125 Comm: syz-executor.3 Not tainted 4.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff880120b1c300 task.stack: ffff880133b08000 RIP: 0010:[] [] call_commit_handler.part.4+0x40/0xa0 net/wireless/wext-core.c:901 RSP: 0018:ffff880133b0fb20 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88011a984980 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff880120b1cb10 RDI: ffff88011a984b80 RBP: ffff880133b0fb30 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000008b04 R14: ffff880133b0fd10 R15: ffff88011a984980 FS: 00007f49320bc700(0000) GS:ffff88013bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd577cbec CR3: 000000011fa70000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000004 ffffffff877b83d0 ffff880133b0fb78 ffffffff86510e69 ffff880133b0fc00 ffff8801ffffff8d 0000000000008b04 ffffffff877b7bc0 ffffffff86512cc0 ffff880133b0fd00 ffff880133b0fc00 ffff880133b0fbc8 Call Trace: [] call_commit_handler net/wireless/wext-core.c:900 [inline] [] ioctl_standard_call+0x129/0x190 net/wireless/wext-core.c:1034 [] wireless_process_ioctl+0x369/0x4d0 net/wireless/wext-core.c:956 [] wext_ioctl_dispatch net/wireless/wext-core.c:992 [inline] [] wext_handle_ioctl+0xab/0x140 net/wireless/wext-core.c:1048 [] dev_ioctl+0x66b/0xcd0 net/core/dev_ioctl.c:564 [] sock_ioctl+0x1c1/0x390 net/socket.c:911 [] vfs_ioctl fs/ioctl.c:43 [inline] [] do_vfs_ioctl+0x17f/0xf30 fs/ioctl.c:679 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x74/0x80 fs/ioctl.c:685 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Code: 81 c7 00 02 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 55 4c 8b a3 00 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 48 48 b8 00 00 00 00 00 fc ff df 4d 8b 24 24 4c RIP [] call_commit_handler.part.4+0x40/0xa0 net/wireless/wext-core.c:901 RSP ---[ end trace d79bb454ebf0cb2f ]---