general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 29166 Comm: kworker/u4:14 Not tainted 6.4.0-rc2-syzkaller-00163-g2d1bcbc6cd70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: pencrypt_parallel padata_parallel_worker RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:63 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:83 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:72 [inline] RIP: 0010:scatterwalk_copychunks+0x3ab/0x530 crypto/scatterwalk.c:50 Code: 2b 43 32 00 49 89 c4 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 0f 85 7a 01 00 00 49 8d 44 24 08 4d 89 26 48 89 44 24 18 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 49 01 00 00 48 8b 44 24 10 RSP: 0018:ffffc90005507630 EFLAGS: 00010212 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880818e0000 RSI: ffffffff84102df4 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: ffffffff81d6e4b5 R12: 0000000000000000 R13: 0000000000000001 R14: ffffc90005507880 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e85f88218 CR3: 000000002846a000 CR4: 0000000000350ee0 Call Trace: skcipher_next_slow crypto/skcipher.c:296 [inline] skcipher_walk_next+0x7af/0x15e0 crypto/skcipher.c:381 skcipher_walk_first+0xf8/0x3c0 crypto/skcipher.c:464 skcipher_walk_aead_common+0x7a5/0xbc0 crypto/skcipher.c:557 gcmaes_crypt_by_sg+0x319/0x7d0 arch/x86/crypto/aesni-intel_glue.c:725 gcmaes_encrypt+0xe2/0x230 arch/x86/crypto/aesni-intel_glue.c:789 generic_gcmaes_encrypt+0x132/0x1a0 arch/x86/crypto/aesni-intel_glue.c:1170 crypto_aead_encrypt+0xbc/0x100 crypto/aead.c:121 crypto_aead_encrypt+0xbc/0x100 crypto/aead.c:121 pcrypt_aead_enc+0x17/0x70 crypto/pcrypt.c:83 padata_parallel_worker+0x64/0xb0 kernel/padata.c:152 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:63 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:83 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:72 [inline] RIP: 0010:scatterwalk_copychunks+0x3ab/0x530 crypto/scatterwalk.c:50 Code: 2b 43 32 00 49 89 c4 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 0f 85 7a 01 00 00 49 8d 44 24 08 4d 89 26 48 89 44 24 18 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 49 01 00 00 48 8b 44 24 10 RSP: 0018:ffffc90005507630 EFLAGS: 00010212 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880818e0000 RSI: ffffffff84102df4 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: ffffffff81d6e4b5 R12: 0000000000000000 R13: 0000000000000001 R14: ffffc90005507880 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e85f88218 CR3: 000000002846a000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 43 32 00 rex.XB xor (%r8),%al 3: 49 89 c4 mov %rax,%r12 6: 4c 89 f0 mov %r14,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 12: 0f 85 7a 01 00 00 jne 0x192 18: 49 8d 44 24 08 lea 0x8(%r12),%rax 1d: 4d 89 26 mov %r12,(%r14) 20: 48 89 44 24 18 mov %rax,0x18(%rsp) 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e 49 01 00 00 jle 0x183 3a: 48 8b 44 24 10 mov 0x10(%rsp),%rax