syzbot


WARNING: ODEBUG bug in tcx_uninstall

Status: fixed on 2023/10/12 12:47
Subsystems: net bpf
[Documentation on labels]
Reported-by: syzbot+14736e249bce46091c18@syzkaller.appspotmail.com
Fix commit: dc644b540a2d tcx: Fix splat in ingress_destroy upon tcx_entry_free
First crash: 309d, last: 304d
Cause bisection: introduced by (bisect log) :
commit e420bed025071a623d2720a92bc2245c84757ecb
Author: Daniel Borkmann <daniel@iogearbox.net>
Date: Wed Jul 19 14:08:52 2023 +0000

  bpf: Add fd-based tcx multi-prog infra with link support

Crash: WARNING: ODEBUG bug in tcx_uninstall (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net-next] tcx: Fix splat in ingress_destroy upon tcx_entry_free 11 (11) 2023/08/06 13:50
[syzbot] [bpf?] WARNING: ODEBUG bug in tcx_uninstall 8 (10) 2023/07/27 23:44
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/07/22 02:24 21m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git 03b123debcbc OK log
2023/07/21 12:45 23m daniel@iogearbox.net https://github.com/cilium/linux.git pr/new-api-tcx8 OK log

Sample crash report:
------------[ cut here ]------------
ODEBUG: activate active (active state 1) object: ffff88801529b000 object type: rcu_head hint: 0x0
WARNING: CPU: 0 PID: 57 at lib/debugobjects.c:514 debug_print_object+0x19e/0x2a0 lib/debugobjects.c:514
Modules linked in:
CPU: 0 PID: 57 Comm: kworker/u4:4 Not tainted 6.5.0-rc1-syzkaller-00458-g03b123debcbc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
Workqueue: netns cleanup_net
RIP: 0010:debug_print_object+0x19e/0x2a0 lib/debugobjects.c:514
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 49 48 8b 14 dd c0 20 c8 8a 41 56 4c 89 e6 48 c7 c7 20 14 c8 8a e8 b2 fa 28 fd <0f> 0b 58 83 05 5c 8b 87 0a 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e
RSP: 0018:ffffc90001587828 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888016ee5940 RSI: ffffffff814d4986 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff8ac81a80
R13: ffffffff8a6df720 R14: 0000000000000000 R15: ffff88802a6b65c8
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000c776000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_activate+0x32b/0x490 lib/debugobjects.c:733
 debug_rcu_head_queue kernel/rcu/rcu.h:226 [inline]
 kvfree_call_rcu+0x30/0xbe0 kernel/rcu/tree.c:3359
 tcx_entry_free include/net/tcx.h:96 [inline]
 tcx_uninstall+0x2fd/0x630 kernel/bpf/tcx.c:115
 dev_tcx_uninstall include/net/tcx.h:174 [inline]
 unregister_netdevice_many_notify+0x5e7/0x1a20 net/core/dev.c:10899
 ip6gre_exit_batch_net+0x3ea/0x580 net/ipv6/ip6_gre.c:1642
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614
 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597
 worker_thread+0x687/0x1110 kernel/workqueue.c:2748
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (38):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/20 13:19 net-next 03b123debcbc 7b630fdb .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 01:42 net-next 1671bcfd76fd 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/23 12:08 net-next 5c9f7b04aadf 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/23 06:32 net-next 6bfef2ec0172 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/22 03:13 net-next 6bfef2ec0172 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/22 03:13 net-next 6bfef2ec0172 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 22:09 net-next 2da6a8041699 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 14:27 net-next 2da6a8041699 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 11:32 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 09:17 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 08:14 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 08:04 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 06:52 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 00:40 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 00:35 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 00:29 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 00:25 net-next b44693495af8 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 23:54 net-next b44693495af8 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 23:46 net-next b44693495af8 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 23:45 net-next b44693495af8 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 21:58 net-next 03b123debcbc 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 21:23 net-next 03b123debcbc 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 15:31 net-next 03b123debcbc 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 10:10 net-next 03b123debcbc 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 10:03 net-next 03b123debcbc 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 07:54 net-next 03b123debcbc 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 07:42 net-next 03b123debcbc 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in tcx_uninstall
2023/07/25 01:41 linux-next 4d2c646ac07c 9a0ddda3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 23:11 linux-next 4d2c646ac07c 9a0ddda3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 11:20 linux-next 4d2c646ac07c 06460670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 09:00 linux-next 4d2c646ac07c 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 08:08 linux-next 4d2c646ac07c 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 08:05 linux-next 4d2c646ac07c 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/24 06:08 linux-next 4d2c646ac07c 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/21 06:26 linux-next ae867bc97b71 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 13:41 linux-next c58c49dd8932 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 11:50 linux-next c58c49dd8932 7b630fdb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
2023/07/20 05:36 linux-next c58c49dd8932 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in tcx_uninstall
* Struck through repros no longer work on HEAD.