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: 2418 Comm: kworker/u4:19 Not tainted 6.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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+0x3e0/0x560 crypto/scatterwalk.c:50 Code: f0 48 c1 e8 03 80 3c 08 00 0f 85 7f 01 00 00 49 8d 44 24 08 4d 89 26 48 bf 00 00 00 00 00 fc ff df 48 89 44 24 10 48 c1 e8 03 <0f> b6 04 38 84 c0 74 08 3c 03 0f 8e 45 01 00 00 48 8b 44 24 08 41 RSP: 0018:ffffc90004cef8f0 EFLAGS: 00010212 RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffff888054c01dc0 RSI: ffffffff841c9084 RDI: dffffc0000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 000000000000004e R12: 0000000000000000 R13: 0000000000000002 R14: ffffc90004cefad0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555c93978 CR3: 000000005715d000 CR4: 0000000000350ef0 Call Trace: skcipher_next_slow crypto/skcipher.c:296 [inline] skcipher_walk_next+0x730/0x1610 crypto/skcipher.c:381 skcipher_walk_done+0x451/0xd60 crypto/skcipher.c:177 crypto_ctr_crypt+0x2b0/0x5e0 crypto/ctr.c:116 crypto_skcipher_encrypt+0xbc/0x100 crypto/skcipher.c:653 crypto_gcm_encrypt+0x393/0x4b0 crypto/gcm.c:459 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+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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+0x3e0/0x560 crypto/scatterwalk.c:50 Code: f0 48 c1 e8 03 80 3c 08 00 0f 85 7f 01 00 00 49 8d 44 24 08 4d 89 26 48 bf 00 00 00 00 00 fc ff df 48 89 44 24 10 48 c1 e8 03 <0f> b6 04 38 84 c0 74 08 3c 03 0f 8e 45 01 00 00 48 8b 44 24 08 41 RSP: 0018:ffffc90004cef8f0 EFLAGS: 00010212 RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffff888054c01dc0 RSI: ffffffff841c9084 RDI: dffffc0000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 000000000000004e R12: 0000000000000000 R13: 0000000000000002 R14: ffffc90004cefad0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000005715d000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: f0 48 c1 e8 03 lock shr $0x3,%rax 5: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 9: 0f 85 7f 01 00 00 jne 0x18e f: 49 8d 44 24 08 lea 0x8(%r12),%rax 14: 4d 89 26 mov %r12,(%r14) 17: 48 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%rdi 1e: fc ff df 21: 48 89 44 24 10 mov %rax,0x10(%rsp) 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 38 movzbl (%rax,%rdi,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e 45 01 00 00 jle 0x17f 3a: 48 8b 44 24 08 mov 0x8(%rsp),%rax 3f: 41 rex.B