bisecting fixing commit since 7d120bf21c05cbe30a679f0feeca884eeaceb069 building syzkaller on 36650b4b2c942bc382314dce384d311fbadd1208 testing commit 7d120bf21c05cbe30a679f0feeca884eeaceb069 with gcc (GCC) 8.1.0 kernel signature: a2a47b1996d1462b7efc2a981dbd371019d2d6070b7c65e29667334b4ed929a3 all runs: crashed: general protection fault in tcp_splice_read testing current HEAD 4707d8e5727387e36ea99c74d5ff0ad227700fd0 testing commit 4707d8e5727387e36ea99c74d5ff0ad227700fd0 with gcc (GCC) 8.1.0 kernel signature: 4d1a9d43c59910908a5a73be1bad36ea74a1cf55fb5e832bace487d52c493bd9 all runs: crashed: general protection fault in tcp_splice_read revisions tested: 2, total time: 34m34.190810344s (build: 17m37.198679511s, test: 16m5.09498469s) the crash still happens on HEAD commit msg: Linux 4.19.126 crash: general protection fault in tcp_splice_read 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: 0 PID: 19534 Comm: syz-executor.4 Not tainted 4.19.126-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tcp_splice_read+0x140/0x8f0 net/ipv4/tcp.c:807 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 a2 07 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 64 24 18 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 34 06 00 00 31 c0 41 f6 44 24 RSP: 0018:ffff88808e9a7ba8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff11011d34f79 RCX: 1ffff110149ebdaf RDX: 000000000000000f RSI: ffff8880a4f5ed58 RDI: 0000000000000078 RBP: ffff88808e9a7cf0 R08: ffff8880a4f5ed78 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88808e9a7cc8 R14: ffff88808e9a7e58 R15: ffff888088a34dc0 FS: 00007fb395539700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd721665b8 CR3: 0000000093036000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smc_splice_read+0x1f6/0x330 net/smc/af_smc.c:1855 sock_splice_read+0x92/0x120 net/socket.c:859 do_splice_to+0xe3/0x120 fs/splice.c:881 do_splice+0xe40/0x12d0 fs/splice.c:1186 __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:0x45a919 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb395538c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000045a919 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 000000000d86dac9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3955396d4 R13: 00000000004cb45b R14: 00000000004e3ef0 R15: 00000000ffffffff Modules linked in: ---[ end trace 33945adb554a8356 ]--- RIP: 0010:tcp_splice_read+0x140/0x8f0 net/ipv4/tcp.c:807 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 a2 07 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 64 24 18 49 8d 7c 24 78 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 34 06 00 00 31 c0 41 f6 44 24 RSP: 0018:ffff88808e9a7ba8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff11011d34f79 RCX: 1ffff110149ebdaf RDX: 000000000000000f RSI: ffff8880a4f5ed58 RDI: 0000000000000078 RBP: ffff88808e9a7cf0 R08: ffff8880a4f5ed78 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88808e9a7cc8 R14: ffff88808e9a7e58 R15: ffff888088a34dc0 FS: 00007fb395539700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa5403a008 CR3: 0000000093036000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400