ODEBUG: free active (active state 0) object type: rcu_head hint: (null) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7986 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 7986 Comm: syz-executor305 Not tainted 4.14.290-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287 RSP: 0018:ffff8880ba507d00 EFLAGS: 00010082 RAX: 0000000000000051 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff878bc880 RDI: ffffed10174a0f96 RBP: ffffffff878b1a00 R08: 0000000000000051 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880986585c0 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88808c900140 R15: ffff88809b170380 __debug_check_no_obj_freed lib/debugobjects.c:747 [inline] debug_check_no_obj_freed+0x3b7/0x680 lib/debugobjects.c:776 kfree+0xb9/0x250 mm/slab.c:3814 __tcindex_destroy+0x2e/0x70 net/sched/cls_tcindex.c:253 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x780/0x1180 kernel/rcu/tree.c:2946 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:deref_stack_reg+0xc/0x1a0 arch/x86/kernel/unwind_orc.c:285 RSP: 0018:ffff88809eb7efc0 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: 1ffff11013d6fe01 RCX: ffffffff8ac7f1d0 RDX: ffff88809eb7f0d0 RSI: ffff88809eb7fee8 RDI: ffff88809eb7f090 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88809eb7ff00 R11: 0000000000000001 R12: ffff88809eb7f0c5 R13: ffff88809eb7f0c8 R14: ffff88809eb7f0e0 R15: ffff88809eb7f090 unwind_next_frame+0xfcc/0x17d0 arch/x86/kernel/unwind_orc.c:474 __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc_trace+0x131/0x3d0 mm/slab.c:3618 kmalloc include/linux/slab.h:488 [inline] kmalloc_array include/linux/slab.h:606 [inline] kcalloc include/linux/slab.h:618 [inline] tcf_exts_init include/net/pkt_cls.h:112 [inline] tcindex_alloc_perfect_hash+0x18a/0x3c0 net/sched/cls_tcindex.c:305 tcindex_set_parms+0x13fd/0x17c0 net/sched/cls_tcindex.c:428 tcindex_change+0x1c1/0x2c0 net/sched/cls_tcindex.c:539 tc_ctl_tfilter+0xb54/0x1c10 net/sched/cls_api.c:738 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f42600501f9 RSP: 002b:00007ffeea6dd158 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000006e25 RCX: 00007f42600501f9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffeea6dd2f8 R09: 00007ffeea6dd2f8 R10: 00007ffeea6dd2f8 R11: 0000000000000246 R12: 00007ffeea6dd16c R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 ======================================================