bisecting fixing commit since 9f31eb60d7a23536bf3902d4dc602f10c822b79e building syzkaller on 34bf9440bd06034f86b5d9ac8afbf078129cbdae testing commit 9f31eb60d7a23536bf3902d4dc602f10c822b79e with gcc (GCC) 8.1.0 kernel signature: ae58240c165d7416c03c25f127830f1cd6260b62a661c956abd546cefd6c17d5 run #0: crashed: KASAN: slab-out-of-bounds Read in scatterwalk_copychunks run #1: crashed: general protection fault in scatterwalk_copychunks run #2: crashed: general protection fault in scatterwalk_copychunks run #3: crashed: KASAN: slab-out-of-bounds Read in scatterwalk_copychunks run #4: crashed: general protection fault in scatterwalk_copychunks run #5: crashed: general protection fault in scatterwalk_copychunks run #6: crashed: general protection fault in scatterwalk_copychunks run #7: crashed: KASAN: slab-out-of-bounds Read in scatterwalk_copychunks run #8: crashed: general protection fault in scatterwalk_copychunks run #9: crashed: general protection fault in scatterwalk_copychunks testing current HEAD 10ad6cfd57360760116cde00a8ef756e121367a9 testing commit 10ad6cfd57360760116cde00a8ef756e121367a9 with gcc (GCC) 8.1.0 kernel signature: cecb2ca46f33abe960b1f438daadc9b436dd5c3c5bc9d66515cd1c81512b4f30 run #0: crashed: general protection fault in scatterwalk_copychunks run #1: crashed: general protection fault in scatterwalk_copychunks run #2: crashed: general protection fault in scatterwalk_copychunks run #3: crashed: general protection fault in corrupted run #4: crashed: KASAN: slab-out-of-bounds Read in scatterwalk_copychunks run #5: crashed: general protection fault in corrupted run #6: crashed: KASAN: use-after-free Read in scatterwalk_copychunks run #7: crashed: KASAN: use-after-free Read in scatterwalk_copychunks run #8: crashed: KASAN: slab-out-of-bounds Read in scatterwalk_copychunks run #9: crashed: general protection fault in scatterwalk_copychunks revisions tested: 2, total time: 24m53.524792818s (build: 17m38.819084968s, test: 6m15.455209728s) the crash still happens on HEAD commit msg: Linux 4.19.148 crash: general protection fault in scatterwalk_copychunks R13: 00000000004c887b R14: 00000000004de6b0 R15: 0000000000000005 kasan: CONFIG_KASAN_INLINE enabled IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready kasan: GPF could be caused by NULL-ptr deref or user memory access IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7132 Comm: syz-executor.2 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:73 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:98 [inline] RIP: 0010:scatterwalk_copychunks+0x379/0x610 crypto/scatterwalk.c:55 Code: ff ff 48 89 c7 e8 87 9a 2a 00 4c 89 f2 48 c1 ea 03 42 80 3c 3a 00 0f 85 a8 01 00 00 48 8d 70 08 49 89 06 48 89 f2 48 c1 ea 03 <42> 0f b6 14 3a 84 d2 74 09 80 fa 03 0f 8e 6b 01 00 00 48 8b 5d d0 RSP: 0018:ffff8880862c7498 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff88808fc8588c RCX: 000000000000401e RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88808fc85880 RBP: ffff8880862c74f8 R08: ffffed1010c7c804 R09: ffffed1010c7c800 R10: 0000000000000000 R11: ffff8880863e401d R12: 0000000000000fff R13: 000000000000001e R14: ffff8880862c7538 R15: dffffc0000000000 FS: 00007f3e85e05700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f638655c000 CR3: 000000009a93a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: scatterwalk_map_and_copy+0x128/0x190 crypto/scatterwalk.c:72 gcmaes_encrypt.constprop.15+0x81b/0xda0 arch/x86/crypto/aesni-intel_glue.c:980 generic_gcmaes_encrypt+0xfd/0x150 arch/x86/crypto/aesni-intel_glue.c:1297 crypto_aead_encrypt include/crypto/aead.h:335 [inline] gcmaes_wrapper_encrypt+0x109/0x180 arch/x86/crypto/aesni-intel_glue.c:1130 crypto_aead_encrypt include/crypto/aead.h:335 [inline] tls_do_encryption net/tls/tls_sw.c:193 [inline] tls_push_record+0x9ae/0x1600 net/tls/tls_sw.c:228 tls_sw_sendpage+0x458/0xc00 net/tls/tls_sw.c:585 inet_sendpage+0x122/0x600 net/ipv4/af_inet.c:815 kernel_sendpage+0x60/0xd0 net/socket.c:3378 sock_sendpage+0x6d/0xd0 net/socket.c:847 pipe_to_sendpage+0x212/0x430 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x2cb/0x720 fs/splice.c:627 splice_from_pipe+0xbb/0x120 fs/splice.c:662 generic_splice_sendpage+0x10/0x20 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] do_splice+0x4fd/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459349 Code: 7d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 4b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f3e85e04c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f3e85e04c90 RCX: 0000000000459349 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000100000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3e85e056d4 R13: 00000000004c887b R14: 00000000004de6b0 R15: 0000000000000005 Modules linked in: IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready ---[ end trace 4e622034f40b5d9d ]--- IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:73 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:98 [inline] RIP: 0010:scatterwalk_copychunks+0x379/0x610 crypto/scatterwalk.c:55 Code: ff ff 48 89 c7 e8 87 9a 2a 00 4c 89 f2 48 c1 ea 03 42 80 3c 3a 00 0f 85 a8 01 00 00 48 8d 70 08 49 89 06 48 89 f2 48 c1 ea 03 <42> 0f b6 14 3a 84 d2 74 09 80 fa 03 0f 8e 6b 01 00 00 48 8b 5d d0 IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready RSP: 0018:ffff8880862c7498 EFLAGS: 00010202 IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready RAX: 0000000000000000 RBX: ffff88808fc8588c RCX: 000000000000401e IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88808fc85880 IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready RBP: ffff8880862c74f8 R08: ffffed1010c7c804 R09: ffffed1010c7c800 IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready R10: 0000000000000000 R11: ffff8880863e401d R12: 0000000000000fff IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready R13: 000000000000001e R14: ffff8880862c7538 R15: dffffc0000000000 IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready FS: 00007f3e85e05700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready CR2: 00007f6386565018 CR3: 000000009a93a000 CR4: 00000000001406f0 IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 IPv6: ADDRCONF(NETDEV_UP): veth1_to_hsr: link is not ready DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready