bisecting fixing commit since e7d2672c66e4d3675570369bf20856296da312c4 building syzkaller on a60cb4cd840ce786236a00480e8bb1025e0c5fef testing commit e7d2672c66e4d3675570369bf20856296da312c4 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: c8d7d6ef9132a831bde9eec8ec6b306028d437f97e20ed614f55f7a2cd70fd74 all runs: crashed: general protection fault in hrtimer_active testing current HEAD 4938296e03bd227e5020d63d418956fe52baf97c testing commit 4938296e03bd227e5020d63d418956fe52baf97c compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: ac83ab74ae8bb23d1e42ac8abd738ec1aac13799e553ac3d8f2a459becf93b6e all runs: crashed: general protection fault in cbs_destroy revisions tested: 2, total time: 26m38.309738972s (build: 19m42.2473825s, test: 6m8.03833986s) the crash still happens on HEAD commit msg: Linux 4.19.198 crash: general protection fault in cbs_destroy RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000004f5b78 R14: 00000000004b34d0 R15: 00007f87fc5b76bc 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: 6577 Comm: syz-executor.1 Not tainted 4.19.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid+0x84/0x100 lib/list_debug.c:51 Code: 0f 84 37 ea 87 03 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 10 ea 87 03 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 25 ea 87 03 49 8d 7d RSP: 0018:ffff8881d0cbf460 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8881e46610a0 RCX: ffffffff814c2800 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881e46610a8 RBP: ffff8881d0cbf478 R08: fffffbfff115e5e5 R09: fffffbfff115e5e4 R10: fffffbfff115e5e4 R11: ffffffff88af2f23 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8881e4661000 R15: ffff8881eae0c900 FS: 00007f87fc5b7700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0d2c0360e8 CR3: 00000001e4e94003 CR4: 00000000001606f0 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 include/linux/list.h:125 [inline] cbs_destroy+0x7f/0x260 net/sched/sch_cbs.c:448 qdisc_create+0x9c9/0xf60 net/sched/sch_api.c:1204 tc_modify_qdisc+0x3f2/0x18f0 net/sched/sch_api.c:1572 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:4782 netlink_rcv_skb+0x13e/0x3d0 net/netlink/af_netlink.c:2457 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4800 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x445/0x640 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x764/0xc70 net/netlink/af_netlink.c:1911 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:661 ___sys_sendmsg+0x647/0x950 net/socket.c:2225 __sys_sendmsg+0xd9/0x180 net/socket.c:2263 __do_sys_sendmsg net/socket.c:2272 [inline] __se_sys_sendmsg net/socket.c:2270 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2270 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4611a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f87fc5b71a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 00000000004611a9 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000004f5b78 R14: 00000000004b34d0 R15: 00007f87fc5b76bc Modules linked in: ---[ end trace d18c13cd9a7cdc6d ]--- RIP: 0010:__list_del_entry_valid+0x84/0x100 lib/list_debug.c:51 Code: 0f 84 37 ea 87 03 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 10 ea 87 03 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 25 ea 87 03 49 8d 7d RSP: 0018:ffff8881d0cbf460 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8881e46610a0 RCX: ffffffff814c2800 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881e46610a8 RBP: ffff8881d0cbf478 R08: fffffbfff115e5e5 R09: fffffbfff115e5e4 R10: fffffbfff115e5e4 R11: ffffffff88af2f23 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8881e4661000 R15: ffff8881eae0c900 FS: 00007f87fc5b7700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0d2c0360e8 CR3: 00000001e4e94003 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400