general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 1 PID: 5010 Comm: kworker/1:3 Not tainted 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: cryptd cryptd_queue_worker RIP: 0010:crypto_shash_alg include/crypto/hash.h:827 [inline] RIP: 0010:crypto_shash_final+0x41/0x100 crypto/shash.c:171 Code: c1 ea 03 48 83 ec 08 80 3c 02 00 0f 85 ab 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 00 48 8d 7b 20 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 7a 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 20 48 8d RSP: 0018:ffffc9000368fcc0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff208bdae RDX: 0000000000000004 RSI: ffff888020882b90 RDI: 0000000000000020 RBP: ffff88802032bb08 R08: 0000000000000001 R09: ffffffff903f1e27 R10: 0000000000000001 R11: 1ffffffff1f5ccc7 R12: ffff88802032bb08 R13: ffff8880b9b47200 R14: ffff8880b9b46d10 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 0000000073d66000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cryptd_hash_final+0xcc/0x140 crypto/cryptd.c:580 crypto_request_complete include/crypto/algapi.h:272 [inline] cryptd_queue_worker+0x10f/0x1a0 crypto/cryptd.c:181 process_one_work+0x86e/0x1410 kernel/workqueue.c:2405 worker_thread+0x5af/0xf00 kernel/workqueue.c:2552 kthread+0x2f0/0x3d0 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:crypto_shash_alg include/crypto/hash.h:827 [inline] RIP: 0010:crypto_shash_final+0x41/0x100 crypto/shash.c:171 Code: c1 ea 03 48 83 ec 08 80 3c 02 00 0f 85 ab 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 00 48 8d 7b 20 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 7a 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 20 48 8d RSP: 0018:ffffc9000368fcc0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff208bdae RDX: 0000000000000004 RSI: ffff888020882b90 RDI: 0000000000000020 RBP: ffff88802032bb08 R08: 0000000000000001 R09: ffffffff903f1e27 R10: 0000000000000001 R11: 1ffffffff1f5ccc7 R12: ffff88802032bb08 R13: ffff8880b9b47200 R14: ffff8880b9b46d10 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056051d855950 CR3: 0000000022953000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 48 83 ec 08 sub $0x8,%rsp 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 ab 00 00 00 jne 0xbc 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 48 8b 5d 00 mov 0x0(%rbp),%rbx 1f: 48 8d 7b 20 lea 0x20(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 7a jne 0xaa 30: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 37: fc ff df 3a: 48 8b 5b 20 mov 0x20(%rbx),%rbx 3e: 48 rex.W 3f: 8d .byte 0x8d