syzbot


WARNING: ODEBUG bug in slave_kobj_release

Status: auto-obsoleted due to no activity on 2022/09/14 21:27
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+7bce4c2f7e1768ec3fe0@syzkaller.appspotmail.com
First crash: 1201d, last: 1030d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in batadv_iv_send_outstanding_bat_ogm_packet (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) [no-op commit]:
commit 504fd6a5390c30b1b7670768e314dd5d473da06a
Author: Shay Agroskin <shayagr@amazon.com>
Date: Tue Jun 8 16:42:54 2021 +0000

  net: ena: fix DMA mapping function issues in XDP

  
Discussions (1)
Title Replies (including bot) Last reply
WARNING: ODEBUG bug in slave_kobj_release 0 (2) 2021/02/06 02:48
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING: ODEBUG bug in slave_kobj_release C done 28 1015d 1191d 1/1 fixed on 2021/07/08 18:21
linux-4.14 WARNING: ODEBUG bug in slave_kobj_release C error 30 744d 1185d 0/1 upstream: reported C repro on 2020/12/19 23:35
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/09/14 19:29 19m retest repro net-next-old OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2021/06/22 20:16 5h00m bisect fix net-next-old job log (1)
2021/05/23 19:40 35m bisect fix net-next-old job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2021/02/25 18:41 4h25m bisect net-next-old job log (0) log
2021/02/06 02:57 0m bisect net-next-old error job log (0)

Sample crash report:
kobject_add_internal failed for bonding_slave (error: -12 parent: virt_wifi0)
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 0 PID: 8733 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 8733 Comm: syz-executor025 Not tainted 5.11.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd c0 f5 9e 89 4c 89 ee 48 c7 c7 c0 e9 9e 89 e8 3b 30 f8 04 <0f> 0b 83 05 85 00 e1 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc90001ede980 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
RDX: ffff88801c729bc0 RSI: ffffffff815b6395 RDI: fffff520003dbd22
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815af56e R11: 0000000000000000 R12: ffffffff894d8d20
R13: ffffffff899ef040 R14: ffffffff8161bfd0 R15: 1ffff920003dbd3b
FS:  00007f756d575700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000490a00 CR3: 000000001881a000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 debug_object_assert_init lib/debugobjects.c:890 [inline]
 debug_object_assert_init+0x1f4/0x2e0 lib/debugobjects.c:861
 debug_timer_assert_init kernel/time/timer.c:737 [inline]
 debug_assert_init kernel/time/timer.c:782 [inline]
 del_timer+0x6d/0x110 kernel/time/timer.c:1202
 try_to_grab_pending+0x6d/0xd0 kernel/workqueue.c:1252
 __cancel_work_timer+0xa6/0x520 kernel/workqueue.c:3098
 slave_kobj_release+0x48/0xe0 drivers/net/bonding/bond_main.c:1492
 kobject_cleanup lib/kobject.c:705 [inline]
 kobject_release lib/kobject.c:736 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1c8/0x540 lib/kobject.c:753
 bond_kobj_init drivers/net/bonding/bond_main.c:1513 [inline]
 bond_alloc_slave drivers/net/bonding/bond_main.c:1530 [inline]
 bond_enslave+0x20f3/0x4d40 drivers/net/bonding/bond_main.c:1732
 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2519
 do_setlink+0x920/0x3a70 net/core/rtnetlink.c:2715
 __rtnl_newlink+0xdc1/0x1700 net/core/rtnetlink.c:3376
 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3491
 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5553
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2345
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2399
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2432
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x44a619
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 16 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f756d5752f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004d62c8 RCX: 000000000044a619
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005
RBP: 00000000004d62c0 R08: 0000000000000002 R09: 0000000000003031
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000049f6f4
R13: 00007f756d575300 R14: 0000000000000002 R15: 0000000000022000

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/06 02:47 net-next-old 4d469ec8ec05 23a562df .config console log report syz C ci-upstream-net-kasan-gce WARNING: ODEBUG bug in slave_kobj_release
2021/04/05 04:45 upstream e49d033bddf5 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING: ODEBUG bug in slave_kobj_release
2021/04/23 18:59 bpf b02265429681 17f0b706 .config console log report info ci-upstream-bpf-kasan-gce WARNING: ODEBUG bug in slave_kobj_release
2021/04/01 21:02 net-old 622d13694b5f 6a81331a .config console log report info ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in slave_kobj_release
2021/03/05 13:57 bpf 39491867ace5 9d751681 .config console log report info ci-upstream-bpf-kasan-gce WARNING: ODEBUG bug in slave_kobj_release
2021/02/06 00:55 net-next-old 4d469ec8ec05 23a562df .config console log report info ci-upstream-net-kasan-gce WARNING: ODEBUG bug in slave_kobj_release
2020/12/17 08:14 upstream 5e60366d56c6 04201c06 .config console log report info ci-upstream-kasan-gce
2020/12/03 12:32 upstream 34816d20f173 e6b0d314 .config console log report info ci-upstream-kasan-gce-root
2020/12/30 07:02 upstream 139711f033f6 0fa352f2 .config console log report info ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.