bisecting fixing commit since 961f830af0658ef5ef8a7708786d634a6115f16b building syzkaller on 28ac5c9e93a44c3eb145195ffb55591be58ef510 testing commit 961f830af0658ef5ef8a7708786d634a6115f16b with gcc (GCC) 8.1.0 kernel signature: baaa16528c573eb9772c6e194290073677b97032cd1aeb2a030be3d9e17f27eb all runs: crashed: general protection fault in xdp_del_sk_umem testing current HEAD a87f96283793d58b042618c689630db264715274 testing commit a87f96283793d58b042618c689630db264715274 with gcc (GCC) 8.1.0 kernel signature: c87e3de2cce71d8119d244a235eae254bb94849e1cb06b2159eb89728f21fcc1 all runs: crashed: general protection fault in xdp_del_sk_umem revisions tested: 2, total time: 23m55.091098858s (build: 17m2.603235087s, test: 6m19.364129741s) the crash still happens on HEAD commit msg: Linux 4.19.145 crash: general protection fault in xdp_del_sk_umem IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access kasan: CONFIG_KASAN_INLINE enabled general protection fault: 0000 [#1] PREEMPT SMP KASAN kasan: GPF could be caused by NULL-ptr deref or user memory access CPU: 0 PID: 7964 Comm: syz-executor.4 Not tainted 4.19.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid+0x84/0xf3 lib/list_debug.c:51 Code: 0f 84 cc 00 00 00 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 a5 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 5f 49 8b 14 24 48 39 da 0f 85 ba 00 00 00 49 8d 7d RSP: 0018:ffff8880a852fd28 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88808ecce748 RCX: ffffffff814ca670 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88808ecce750 RBP: ffff8880a852fd40 R08: ffffed101164dec6 R09: ffffed101164dec5 R10: ffffed101164dec5 R11: ffff88808b26f62b R12: 0000000000000000 R13: 0000000000000000 R14: ffff88808ecce748 R15: 0000000000000282 FS: 0000000001d72940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000280 CR3: 00000000894d4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del_rcu include/linux/rculist.h:130 [inline] xdp_del_sk_umem+0x6f/0x1a0 net/xdp/xdp_umem.c:42 xsk_release+0x115/0x320 net/xdp/xsk.c:344 __sock_release+0xc2/0x290 net/socket.c:579 sock_close+0x10/0x20 net/socket.c:1140 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x185/0x1e0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x416991 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff74d73c40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416991 RDX: 0000001b30c20000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fff74d73d30 R11: 0000000000000293 R12: 00000000011908d0 R13: 000000000000c8b3 R14: ffffffffffffffff R15: 000000000118bf2c Modules linked in: ---[ end trace 36a1465a976abea8 ]--- general protection fault: 0000 [#2] PREEMPT SMP KASAN RIP: 0010:__list_del_entry_valid+0x84/0xf3 lib/list_debug.c:51 CPU: 1 PID: 7970 Comm: syz-executor.5 Tainted: G D 4.19.145-syzkaller #0 Code: 0f 84 cc 00 00 00 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 a5 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 5f 49 8b 14 24 48 39 da 0f 85 ba 00 00 00 49 8d 7d Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RSP: 0018:ffff8880a852fd28 EFLAGS: 00010046 RIP: 0010:__list_del_entry_valid+0x84/0xf3 lib/list_debug.c:51 RAX: dffffc0000000000 RBX: ffff88808ecce748 RCX: ffffffff814ca670 Code: 0f 84 cc 00 00 00 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 a5 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 5f 49 8b 14 24 48 39 da 0f 85 ba 00 00 00 49 8d 7d RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88808ecce750 RSP: 0018:ffff8880a80afd28 EFLAGS: 00010046 RBP: ffff8880a852fd40 R08: ffffed101164dec6 R09: ffffed101164dec5 RAX: dffffc0000000000 RBX: ffff8880a8128808 RCX: ffffffff814ca670 R10: ffffed101164dec5 R11: ffff88808b26f62b R12: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880a8128810 R13: 0000000000000000 R14: ffff88808ecce748 R15: 0000000000000282 RBP: ffff8880a80afd40 R08: ffffed1015013abe R09: ffffed1015013abd FS: 0000000001d72940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 R10: ffffed1015013abd R11: ffff8880a809d5eb R12: 0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R13: 0000000000000000 R14: ffff8880a8128808 R15: 0000000000000282 CR2: 0000000020000280 CR3: 00000000894d4000 CR4: 00000000001406f0 FS: 00000000027a2940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000280 CR3: 0000000089520000 CR4: 00000000001406e0 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000