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: 903 Comm: kworker/1:2 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_finup+0x46/0x150 crypto/shash.c:198 Code: 89 fd 53 48 83 ec 10 80 3c 01 00 0f 85 ce 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 00 48 8d 7b 20 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 c5 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc9000496fbc8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000004 RDX: 0000000000000014 RSI: ffff888072bf31c0 RDI: 0000000000000020 RBP: ffff88807efb7308 R08: ffff88807efb7308 R09: ffffffff903f1e27 R10: 0000000000000001 R11: 1ffffffff1f5cd1f R12: ffff88802143d028 R13: 1ffff9200092df82 R14: ffffed100fdf6e5d R15: ffff88807efb72e8 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000074ae5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shash_ahash_finup+0xb1/0x390 crypto/shash.c:333 cryptd_hash_finup+0xaa/0x110 crypto/cryptd.c:597 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_finup+0x46/0x150 crypto/shash.c:198 Code: 89 fd 53 48 83 ec 10 80 3c 01 00 0f 85 ce 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 00 48 8d 7b 20 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 c5 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc9000496fbc8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000004 RDX: 0000000000000014 RSI: ffff888072bf31c0 RDI: 0000000000000020 RBP: ffff88807efb7308 R08: ffff88807efb7308 R09: ffffffff903f1e27 R10: 0000000000000001 R11: 1ffffffff1f5cd1f R12: ffff88802143d028 R13: 1ffff9200092df82 R14: ffffed100fdf6e5d R15: ffff88807efb72e8 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000002a061000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 fd mov %edi,%ebp 2: 53 push %rbx 3: 48 83 ec 10 sub $0x10,%rsp 7: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) b: 0f 85 ce 00 00 00 jne 0xdf 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 f9 mov %rdi,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) <-- trapping instruction 2e: 0f 85 c5 00 00 00 jne 0xf9 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 48 rex.W 3f: 8b .byte 0x8b