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: 55 Comm: kworker/u4:3 Tainted: G W 5.17.0-syzkaller-10752-g52d543b5497c #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:69 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:89 [inline] RIP: 0010:scatterwalk_copychunks+0x3d8/0x580 crypto/scatterwalk.c:50 Code: 24 20 42 80 3c 38 00 48 8b 6c 24 08 4c 8b 64 24 18 74 08 48 89 ef e8 47 f6 e6 fd 48 89 5d 00 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 4c 8b 2c 24 0f 85 33 01 00 00 8b 1b 48 8b 44 RSP: 0018:ffffc900013df580 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8880172e9d00 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffc900013df9b0 R08: ffffffff842050d1 R09: fffffbfff1a6b79f R10: fffffbfff1a6b79f R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f482c6cd300 CR3: 0000000079077000 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+0xf2f/0x1490 crypto/skcipher.c:363 skcipher_walk_aead_common+0x796/0xc80 crypto/skcipher.c:539 gcmaes_crypt_by_sg+0x460/0xa40 arch/x86/crypto/aesni-intel_glue.c:658 gcmaes_encrypt arch/x86/crypto/aesni-intel_glue.c:722 [inline] generic_gcmaes_encrypt+0x1ca/0x380 arch/x86/crypto/aesni-intel_glue.c:1076 pcrypt_aead_enc+0x13/0x70 crypto/pcrypt.c:83 padata_parallel_worker+0x5a/0x1a0 kernel/padata.c:144 process_one_work+0x83c/0x11a0 kernel/workqueue.c:2289 worker_thread+0xa6c/0x1290 kernel/workqueue.c:2436 kthread+0x2a3/0x2d0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:69 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:89 [inline] RIP: 0010:scatterwalk_copychunks+0x3d8/0x580 crypto/scatterwalk.c:50 Code: 24 20 42 80 3c 38 00 48 8b 6c 24 08 4c 8b 64 24 18 74 08 48 89 ef e8 47 f6 e6 fd 48 89 5d 00 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 4c 8b 2c 24 0f 85 33 01 00 00 8b 1b 48 8b 44 RSP: 0018:ffffc900013df580 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8880172e9d00 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffc900013df9b0 R08: ffffffff842050d1 R09: fffffbfff1a6b79f R10: fffffbfff1a6b79f R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f482c6cd300 CR3: 000000000ca8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 20 and $0x20,%al 2: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 7: 48 8b 6c 24 08 mov 0x8(%rsp),%rbp c: 4c 8b 64 24 18 mov 0x18(%rsp),%r12 11: 74 08 je 0x1b 13: 48 89 ef mov %rbp,%rdi 16: e8 47 f6 e6 fd callq 0xfde6f662 1b: 48 89 5d 00 mov %rbx,0x0(%rbp) 1f: 48 83 c3 08 add $0x8,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 4c 8b 2c 24 mov (%rsp),%r13 35: 0f 85 33 01 00 00 jne 0x16e 3b: 8b 1b mov (%rbx),%ebx 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 44 rex.R