bisecting fixing commit since c605c39677b9842b0566013e0cf30bc13e90bdbc building syzkaller on 5ae8508a2dd5f8e16a2b9830ae9a6f37d54ec8e7 testing commit c605c39677b9842b0566013e0cf30bc13e90bdbc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e799088c3b377fb9cc5a85f6a5ab816d4a110cc567a0d5834c9ac73efa6b567f run #0: crashed: general protection fault in scatterwalk_copychunks run #1: crashed: general protection fault in scatterwalk_copychunks run #2: crashed: general protection fault in scatterwalk_copychunks run #3: crashed: general protection fault in scatterwalk_copychunks run #4: crashed: general protection fault in scatterwalk_copychunks run #5: crashed: general protection fault in scatterwalk_copychunks run #6: crashed: general protection fault in scatterwalk_copychunks run #7: crashed: general protection fault in scatterwalk_copychunks run #8: crashed: general protection fault in scatterwalk_copychunks run #9: crashed: general protection fault in scatterwalk_copychunks run #10: crashed: general protection fault in scatterwalk_copychunks run #11: crashed: general protection fault in scatterwalk_copychunks run #12: crashed: general protection fault in scatterwalk_copychunks run #13: crashed: general protection fault in scatterwalk_copychunks run #14: crashed: general protection fault in scatterwalk_copychunks run #15: crashed: general protection fault in scatterwalk_copychunks run #16: crashed: general protection fault in scatterwalk_copychunks run #17: crashed: general protection fault in scatterwalk_copychunks run #18: crashed: general protection fault in scatterwalk_copychunks run #19: boot failed: KFENCE: use-after-free in kvm_fastop_exception testing current HEAD fa5878760579a9feaa1de3bb2396cd23beb439ca testing commit fa5878760579a9feaa1de3bb2396cd23beb439ca compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3e5374012dc8e368fc0f51552f68355290dab33ae1254db7312157fb190d88aa all runs: crashed: general protection fault in scatterwalk_copychunks revisions tested: 2, total time: 27m57.092567294s (build: 13m5.582881422s, test: 14m28.308470461s) the crash still happens on HEAD commit msg: Merge tag 'linux-kselftest-kunit-fixes-5.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest crash: general protection fault in scatterwalk_copychunks wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pencrypt_parallel padata_parallel_worker RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:68 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:88 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:77 [inline] RIP: 0010:scatterwalk_copychunks+0x3db/0x680 crypto/scatterwalk.c:50 Code: 00 00 00 00 00 fc ff df 80 3c 02 00 0f 85 5f 02 00 00 49 8d 55 08 4d 89 2e 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 04 01 84 c0 74 08 3c 03 0f 8e 20 02 00 00 4c 89 e1 41 8b 75 RSP: 0018:ffffc90000cf76c0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000008 RSI: 0000000000000000 RDI: ffff88807b58d258 RBP: ffff888074fda000 R08: ffffc90000cf7934 R09: 0000000000000000 R10: ffff88807b58d038 R11: 1ffff9200019ef1d R12: ffffc90000cf78d0 R13: 0000000000000000 R14: ffffc90000cf78c8 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056378186d6b0 CR3: 00000000719cf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skcipher_next_slow crypto/skcipher.c:278 [inline] skcipher_walk_next+0x620/0x17e0 crypto/skcipher.c:363 skcipher_walk_aead_common+0x7e6/0xc40 crypto/skcipher.c:539 gcmaes_crypt_by_sg+0x282/0x6f0 arch/x86/crypto/aesni-intel_glue.c:658 gcmaes_encrypt+0xcd/0x200 arch/x86/crypto/aesni-intel_glue.c:722 generic_gcmaes_encrypt+0x128/0x190 arch/x86/crypto/aesni-intel_glue.c:1076 pcrypt_aead_enc+0x11/0x60 crypto/pcrypt.c:82 padata_parallel_worker+0x56/0xa0 kernel/padata.c:144 process_one_work+0x87f/0x1450 kernel/workqueue.c:2297 worker_thread+0x598/0x1040 kernel/workqueue.c:2444 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 48ae4daf0bfe833b ]--- RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:68 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:88 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:77 [inline] RIP: 0010:scatterwalk_copychunks+0x3db/0x680 crypto/scatterwalk.c:50 Code: 00 00 00 00 00 fc ff df 80 3c 02 00 0f 85 5f 02 00 00 49 8d 55 08 4d 89 2e 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 04 01 84 c0 74 08 3c 03 0f 8e 20 02 00 00 4c 89 e1 41 8b 75 RSP: 0018:ffffc90000cf76c0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000008 RSI: 0000000000000000 RDI: ffff88807b58d258 RBP: ffff888074fda000 R08: ffffc90000cf7934 R09: 0000000000000000 R10: ffff88807b58d038 R11: 1ffff9200019ef1d R12: ffffc90000cf78d0 R13: 0000000000000000 R14: ffffc90000cf78c8 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056378186d6b0 CR3: 00000000719cf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 7 bytes skipped: 0: df 80 3c 02 00 0f filds 0xf00023c(%rax) 6: 85 5f 02 test %ebx,0x2(%rdi) 9: 00 00 add %al,(%rax) b: 49 8d 55 08 lea 0x8(%r13),%rdx f: 4d 89 2e mov %r13,(%r14) 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 48 89 d1 mov %rdx,%rcx 1f: 48 c1 e9 03 shr $0x3,%rcx * 23: 0f b6 04 01 movzbl (%rcx,%rax,1),%eax <-- trapping instruction 27: 84 c0 test %al,%al 29: 74 08 je 0x33 2b: 3c 03 cmp $0x3,%al 2d: 0f 8e 20 02 00 00 jle 0x253 33: 4c 89 e1 mov %r12,%rcx 36: 41 rex.B 37: 8b .byte 0x8b 38: 75 .byte 0x75