syzbot


WARNING: ODEBUG bug in tcindex_destroy_work (2)

Status: fixed on 2020/02/18 14:31
Subsystems: net
[Documentation on labels]
Fix commit: 599be01ee567 net_sched: fix an OOB access in cls_tcindex
First crash: 1774d, last: 1764d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in tcindex_destroy_work (3) net syz done 13 1716d 1752d 15/28 fixed on 2020/05/10 10:41
upstream WARNING: ODEBUG bug in tcindex_destroy_work net 4 1876d 1905d 0/28 closed as invalid on 2019/12/08 05:54
linux-4.19 WARNING: ODEBUG bug in tcindex_destroy_work C 190 649d 1879d 0/1 upstream: reported C repro on 2019/10/21 05:48

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 1) object type: rcu_head hint: 0x0
WARNING: CPU: 0 PID: 17449 at lib/debugobjects.c:485 debug_print_object+0x168/0x250 lib/debugobjects.c:485
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 17449 Comm: kworker/u4:1 Not tainted 5.5.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: tc_filter_workqueue tcindex_destroy_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x3e kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:debug_print_object+0x168/0x250 lib/debugobjects.c:485
Code: dd 40 c8 91 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b5 00 00 00 48 8b 14 dd 40 c8 91 88 48 c7 c7 a0 bd 91 88 e8 87 40 a0 fd <0f> 0b 83 05 83 2a 00 07 01 48 83 c4 20 5b 41 5c 41 5d 41 5e 5d c3
RSP: 0018:ffffc90005ae7c08 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815eab16 RDI: fffff52000b5cf73
RBP: ffffc90005ae7c48 R08: ffff88804680a3c0 R09: ffffed1015d045c9
R10: ffffed1015d045c8 R11: ffff8880ae822e43 R12: 0000000000000001
R13: ffffffff89bac120 R14: 0000000000000000 R15: ffff8880506157e0
 __debug_check_no_obj_freed lib/debugobjects.c:967 [inline]
 debug_check_no_obj_freed+0x2d6/0x441 lib/debugobjects.c:998
 kfree+0xf8/0x2c0 mm/slab.c:3756
 tcindex_destroy_work+0x33/0x80 net/sched/cls_tcindex.c:231
 process_one_work+0xa05/0x17a0 kernel/workqueue.c:2264
 worker_thread+0x98/0xe40 kernel/workqueue.c:2410
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/10 11:30 upstream d1ea35f4cdd4 35f5e45e .config console log report ci-upstream-kasan-gce-root
2020/02/04 09:12 upstream 322bf2d3446a 93e5e335 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/03 01:40 upstream 46d6b7becb1d 93e5e335 .config console log report ci-upstream-kasan-gce
2020/02/13 16:45 net-old b9287f2ac321 c5ed587f .config console log report ci-upstream-net-this-kasan-gce
2020/02/11 08:17 net-next-old fdfa3a6778b1 084454ae .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.