bisecting fixing commit since 8bac50406cca10a219aa899243d49c57ddaf7c5b building syzkaller on 3334d684ce742ce58ad66b7dcb7a6d4da5185796 testing commit 8bac50406cca10a219aa899243d49c57ddaf7c5b with gcc (GCC) 8.1.0 kernel signature: 44dc2ab46b117adaf2cacda0702d0e74d867e5ad1f12466e39e06de22b52ce70 all runs: crashed: WARNING: ODEBUG bug in free_tcf testing current HEAD 01364dad1d4577e27a57729d41053f661bb8a5b9 testing commit 01364dad1d4577e27a57729d41053f661bb8a5b9 with gcc (GCC) 8.1.0 kernel signature: d6b7f89f716298da023b8b4393367c6720662de5579fa96b2c8681570ed25cfa all runs: crashed: WARNING: ODEBUG bug in free_tcf revisions tested: 2, total time: 23m52.26360293s (build: 16m32.320398646s, test: 6m15.872464608s) the crash still happens on HEAD commit msg: Linux 4.14.174 crash: WARNING: ODEBUG bug in free_tcf IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready ODEBUG: free active (active state 1) object type: rcu_head hint: (null) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7669 at lib/debugobjects.c:290 debug_print_object.cold.13+0xa7/0xdb lib/debugobjects.c:287 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7669 Comm: syz-executor.2 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 panic+0x1b0/0x358 kernel/panic.c:183 __warn.cold.8+0x25/0x2c kernel/panic.c:547 report_bug+0x1a4/0x1f3 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] do_error_trap+0x1bd/0x310 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:debug_print_object.cold.13+0xa7/0xdb lib/debugobjects.c:287 RSP: 0018:ffff88808d4d7000 EFLAGS: 00010086 RAX: 0000000000000051 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000051 RSI: ffffffff86cc17c0 RDI: ffffed1011a9adf7 RBP: ffff88808d4d7028 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff13452f7 R11: dffffc0000000000 R12: ffffffff86cb6e80 R13: 0000000000000000 R14: 0000000000000001 R15: ffff88808bb97650 __debug_check_no_obj_freed lib/debugobjects.c:747 [inline] debug_check_no_obj_freed+0x506/0x930 lib/debugobjects.c:776 kfree+0xbd/0x270 mm/slab.c:3814 free_tcf+0x114/0x160 net/sched/act_api.c:73 tcf_idr_remove net/sched/act_api.c:82 [inline] __tcf_idr_release+0x17f/0x1c0 net/sched/act_api.c:101 tcf_idr_release include/net/act_api.h:150 [inline] tcf_sample_init+0x80f/0x920 net/sched/act_sample.c:80 tcf_action_init_1+0x51a/0xb10 net/sched/act_api.c:682 tcf_action_init+0x13b/0x460 net/sched/act_api.c:751 tcf_action_add net/sched/act_api.c:1079 [inline] tc_ctl_action+0x3c4/0x573 net/sched/act_api.c:1131 rtnetlink_rcv_msg+0x34c/0x9e0 net/core/rtnetlink.c:4315 netlink_rcv_skb+0x133/0x370 net/netlink/af_netlink.c:2433 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4327 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x40b/0x600 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x730/0xbd0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 ___sys_sendmsg+0x625/0x920 net/socket.c:2062 __sys_sendmsg+0xc1/0x140 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0xd/0x20 net/socket.c:2103 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45b349 RSP: 002b:00007fa729187c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa7291886d4 RCX: 000000000045b349 RDX: 0000000000000000 RSI: 0000000020002980 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000099f R14: 00000000004cb163 R15: 000000000075bf2c ======================================================