bisecting fixing commit since c63ee2939dc1c6eee6c544af1b4ab441490bfe6e building syzkaller on 598ca6c8b8766304c3b2865e38f5f301c39bd299 testing commit c63ee2939dc1c6eee6c544af1b4ab441490bfe6e with gcc (GCC) 8.1.0 kernel signature: f03d874c4fa9babe0fa3fe0cce64aa39b178c514f986df223280875033c7fac0 all runs: crashed: general protection fault in skb_unlink testing current HEAD 17a87580a8856170d59aab302226811a4ae69149 testing commit 17a87580a8856170d59aab302226811a4ae69149 with gcc (GCC) 8.1.0 kernel signature: d6f3e8275e19c2372acff25165d46054dcec1839ac0da2302f23827a61e1942c all runs: crashed: general protection fault in skb_unlink revisions tested: 2, total time: 25m3.911650925s (build: 18m5.12212294s, test: 5m54.708482139s) the crash still happens on HEAD commit msg: Linux 4.19.133 crash: general protection fault in skb_unlink nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. 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: 7328 Comm: syz-executor.1 Not tainted 4.19.133-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__write_once_size include/linux/compiler.h:220 [inline] RIP: 0010:__skb_unlink include/linux/skbuff.h:1902 [inline] RIP: 0010:skb_unlink+0xbb/0x160 net/core/skbuff.c:2945 Code: 00 00 49 8d 7d 08 4c 8b 63 08 48 ba 00 00 00 00 00 fc ff df 48 c7 43 08 00 00 00 00 48 89 f9 48 c7 03 00 00 00 00 48 c1 e9 03 <80> 3c 11 00 75 5b 4c 89 e1 4d 89 65 08 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffff888092de7840 EFLAGS: 00010002 RAX: 0000000000000286 RBX: ffff88809273b7c0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888092de7868 R08: ffffed10108e704d R09: ffffed10108e704c R10: ffffed10108e704c R11: ffff888084738263 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888084738260 R15: 0000000000000000 FS: 00007f6e416d3700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 0000000094b18000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcm_recvmsg+0x3a5/0x5a0 net/kcm/kcmsock.c:1160 sock_recvmsg_nosec+0x7b/0xd0 net/socket.c:795 ___sys_recvmsg+0x219/0x500 net/socket.c:2277 __sys_recvmmsg+0x21d/0x650 net/socket.c:2389 do_sys_recvmmsg+0x111/0x130 net/socket.c:2465 __do_sys_recvmmsg net/socket.c:2483 [inline] __se_sys_recvmmsg net/socket.c:2479 [inline] __x64_sys_recvmmsg+0xb9/0x150 net/socket.c:2479 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a6b9 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e416d2c78 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045a6b9 RDX: 0400000000000310 RSI: 0000000020003540 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6e416d36d4 R13: 00000000004c8370 R14: 00000000004de760 R15: 00000000ffffffff Modules linked in: ---[ end trace 557f80507cd060bb ]--- RIP: 0010:__write_once_size include/linux/compiler.h:220 [inline] RIP: 0010:__skb_unlink include/linux/skbuff.h:1902 [inline] RIP: 0010:skb_unlink+0xbb/0x160 net/core/skbuff.c:2945 Code: 00 00 49 8d 7d 08 4c 8b 63 08 48 ba 00 00 00 00 00 fc ff df 48 c7 43 08 00 00 00 00 48 89 f9 48 c7 03 00 00 00 00 48 c1 e9 03 <80> 3c 11 00 75 5b 4c 89 e1 4d 89 65 08 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffff888092de7840 EFLAGS: 00010002 RAX: 0000000000000286 RBX: ffff88809273b7c0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888092de7868 R08: ffffed10108e704d R09: ffffed10108e704c R10: ffffed10108e704c R11: ffff888084738263 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888084738260 R15: 0000000000000000 FS: 00007f6e416d3700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 0000000094b18000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400