bisecting fixing commit since e7d2672c66e4d3675570369bf20856296da312c4 building syzkaller on a60cb4cd840ce786236a00480e8bb1025e0c5fef testing commit e7d2672c66e4d3675570369bf20856296da312c4 with gcc (GCC) 8.1.0 kernel signature: cb0df8d06ac43528c06e3e9eba58fd8f6cbf3470f89d6ff0a08489e3addaec77 all runs: crashed: general protection fault in hrtimer_active testing current HEAD 2c746135a12e3f329171ed168ca0078d468f6d85 testing commit 2c746135a12e3f329171ed168ca0078d468f6d85 with gcc (GCC) 8.1.0 kernel signature: 5e5759de45d4299a2d04b6467204f6afca68975d74f5a0e286a61944f54f267a all runs: crashed: general protection fault in cbs_destroy revisions tested: 2, total time: 23m13.449771046s (build: 16m51.94016494s, test: 5m15.204585258s) the crash still happens on HEAD commit msg: Linux 4.19.158 crash: general protection fault in cbs_destroy RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3784e46d4 R13: 00000000004c787b R14: 00000000004dd118 R15: 0000000000000006 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: 7292 Comm: syz-executor.2 Not tainted 4.19.158-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:ffff8880acde7468 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8880ac64a320 RCX: ffffffff814d7570 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880ac64a328 RBP: ffff8880acde7480 R08: fffffbfff115e4ed R09: fffffbfff115e4ec R10: fffffbfff115e4ec R11: ffffffff88af2763 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880ac64a280 R15: ffff8880909f61c0 FS: 00007fb3784e4700(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000acc5a000 CR4: 00000000001406e0 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+0x9ce/0xf60 net/sched/sch_api.c:1203 tc_modify_qdisc+0x3f2/0x18f4 net/sched/sch_api.c:1571 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:4778 netlink_rcv_skb+0x13e/0x3d0 net/netlink/af_netlink.c:2455 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4796 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x445/0x640 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x765/0xc50 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:632 ___sys_sendmsg+0x647/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459969 Code: 7d b7 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 4b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb3784e3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb3784e3c90 RCX: 0000000000459969 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb3784e46d4 R13: 00000000004c787b R14: 00000000004dd118 R15: 0000000000000006 Modules linked in: ---[ end trace 430fe5a591ee461e ]--- 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:ffff8880acde7468 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8880ac64a320 RCX: ffffffff814d7570 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880ac64a328 RBP: ffff8880acde7480 R08: fffffbfff115e4ed R09: fffffbfff115e4ec R10: fffffbfff115e4ec R11: ffffffff88af2763 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880ac64a280 R15: ffff8880909f61c0 FS: 00007fb3784e4700(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000acc5a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400