kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 32457 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:73 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:98 [inline] RIP: 0010:scatterwalk_copychunks+0x4db/0x6a0 crypto/scatterwalk.c:55 Code: ff df 80 3c 02 00 0f 85 98 01 00 00 49 8d 44 24 08 4d 89 26 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 9f 01 00 00 48 b8 00 00 00 00 RSP: 0018:ffff88808cfc7238 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 000000000000401d RCX: ffffc9000a201000 RDX: 0000000000000001 RSI: ffffffff83739e63 RDI: 0000000000000007 RBP: 000000000000401d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000001000 R14: ffff88808cfc72e8 R15: 0000000000000001 FS: 00007f2a9d0c6700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4cbee70000 CR3: 00000000b3533000 CR4: 00000000003426e0 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: scatterwalk_map_and_copy crypto/scatterwalk.c:72 [inline] scatterwalk_map_and_copy+0x121/0x1a0 crypto/scatterwalk.c:60 gcmaes_encrypt.constprop.0+0x89f/0xd90 arch/x86/crypto/aesni-intel_glue.c:980 Modules linked in: audit: type=1804 audit(1663784466.671:1443): pid=32475 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir3332008548/syzkaller.dH96Pv/2409/bus" dev="sda1" ino=14648 res=1 ---[ end trace a3ad9fb904f54ac5 ]--- RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:73 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:98 [inline] RIP: 0010:scatterwalk_copychunks+0x4db/0x6a0 crypto/scatterwalk.c:55 Code: ff df 80 3c 02 00 0f 85 98 01 00 00 49 8d 44 24 08 4d 89 26 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 9f 01 00 00 48 b8 00 00 00 00 RSP: 0018:ffff88808cfc7238 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 000000000000401d RCX: ffffc9000a201000 RDX: 0000000000000001 RSI: ffffffff83739e63 RDI: 0000000000000007 RBP: 000000000000401d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000001000 R14: ffff88808cfc72e8 R15: 0000000000000001 audit: type=1804 audit(1663784467.461:1444): pid=32514 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir3332008548/syzkaller.dH96Pv/2409/bus" dev="sda1" ino=14648 res=1 FS: 00007f2a9d0c6700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000b3533000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: df 80 3c 02 00 0f filds 0xf00023c(%rax) 6: 85 98 01 00 00 49 test %ebx,0x49000001(%rax) c: 8d 44 24 08 lea 0x8(%rsp),%eax 10: 4d 89 26 mov %r12,(%r14) 13: 48 89 c2 mov %rax,%rdx 16: 48 89 44 24 18 mov %rax,0x18(%rsp) 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 74 08 je 0x39 31: 3c 03 cmp $0x3,%al 33: 0f 8e 9f 01 00 00 jle 0x1d8 39: 48 rex.W 3a: b8 00 00 00 00 mov $0x0,%eax