bisecting fixing commit since c63ee2939dc1c6eee6c544af1b4ab441490bfe6e building syzkaller on 598ca6c8b8766304c3b2865e38f5f301c39bd299 testing commit c63ee2939dc1c6eee6c544af1b4ab441490bfe6e with gcc (GCC) 8.1.0 kernel signature: ca9f44f5eb4a82c263b2058aa9d241edc463f09426fb02fd95d7c9beda317be5 all runs: crashed: general protection fault in skb_unlink testing current HEAD 31acccdc877486a649a86d37725a15175fcd5ed6 testing commit 31acccdc877486a649a86d37725a15175fcd5ed6 with gcc (GCC) 8.1.0 kernel signature: 4c78131b6f24cd84a583911fced7fac026f054d512f6aa043d08265a43fc8793 run #0: crashed: general protection fault in requeue_rx_msgs run #1: crashed: general protection fault in skb_unlink run #2: crashed: possible deadlock in __sock_release run #3: crashed: general protection fault in requeue_rx_msgs run #4: crashed: general protection fault in skb_unlink run #5: crashed: general protection fault in requeue_rx_msgs run #6: crashed: general protection fault in requeue_rx_msgs run #7: crashed: general protection fault in skb_unlink run #8: crashed: general protection fault in skb_unlink run #9: crashed: general protection fault in skb_unlink revisions tested: 2, total time: 23m4.593181645s (build: 16m46.00679419s, test: 5m17.532855708s) the crash still happens on HEAD commit msg: Linux 4.19.157 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: 1 PID: 7348 Comm: syz-executor.4 Not tainted 4.19.157-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:1914 [inline] RIP: 0010:skb_unlink+0xe7/0x1a0 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 63 4c 89 e1 4d 89 65 08 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffff888092f87838 EFLAGS: 00010002 RAX: 0000000000000286 RBX: ffff8880adb55980 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 000000000000000c RDI: 0000000000000008 RBP: ffff888092f87868 R08: ffffed10147919d5 R09: ffffed10147919d4 R10: ffffed10147919d4 R11: ffff8880a3c8cea3 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000000b R15: ffff8880a3c8cea0 FS: 00007f6c1c97e700(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3feb426740 CR3: 00000000abf34000 CR4: 00000000001406e0 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:00007f6c1c97dc78 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: 00007f6c1c97e6d4 R13: 00000000004c8370 R14: 00000000004de760 R15: 00000000ffffffff Modules linked in: ---[ end trace 8e38f1459bab4bcd ]--- RIP: 0010:__write_once_size include/linux/compiler.h:220 [inline] RIP: 0010:__skb_unlink include/linux/skbuff.h:1914 [inline] RIP: 0010:skb_unlink+0xe7/0x1a0 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 63 4c 89 e1 4d 89 65 08 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffff888092f87838 EFLAGS: 00010002 RAX: 0000000000000286 RBX: ffff8880adb55980 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 000000000000000c RDI: 0000000000000008 RBP: ffff888092f87868 R08: ffffed10147919d5 R09: ffffed10147919d4 R10: ffffed10147919d4 R11: ffff8880a3c8cea3 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000000b R15: ffff8880a3c8cea0 FS: 00007f6c1c97e700(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3feb426740 CR3: 00000000abf34000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400