syzbot


WARNING: ODEBUG bug in slave_kobj_release

Status: upstream: reported C repro on 2020/12/19 23:35
Reported-by: syzbot+faa9b3afe454a5f907b2@syzkaller.appspotmail.com
First crash: 1432d, last: 991d
Fix bisection: failed (error log, bisect log)
  
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 1262d 1438d 1/1 fixed on 2021/07/08 18:21
upstream WARNING: ODEBUG bug in slave_kobj_release net C inconclusive unreliable 9 1277d 1445d 0/28 auto-obsoleted due to no activity on 2022/09/14 21:27
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/02/16 00:32 9m retest repro linux-4.14.y report log
2022/10/14 11:30 12m retest repro linux-4.14.y report log
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2022/04/05 13:47 11m bisect fix linux-4.14.y error job log
2022/03/06 07:19 27m bisect fix linux-4.14.y OK (0) job log log
2022/02/04 06:28 39m bisect fix linux-4.14.y OK (0) job log log
2022/01/05 05:58 29m bisect fix linux-4.14.y OK (0) job log log
2021/12/05 23:57 28m bisect fix linux-4.14.y OK (0) job log log
2021/11/05 23:27 29m bisect fix linux-4.14.y OK (0) job log log
2021/10/06 22:58 28m bisect fix linux-4.14.y OK (0) job log log
2021/09/06 22:26 32m bisect fix linux-4.14.y OK (0) job log log
2021/08/07 21:57 28m bisect fix linux-4.14.y OK (0) job log log
2021/07/08 21:29 28m bisect fix linux-4.14.y OK (0) job log log
2021/06/08 20:58 30m bisect fix linux-4.14.y OK (0) job log log
2021/02/23 16:19 33m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000007 R14: 0000000000000000 R15: 0000000000000000
kobject_add_internal failed for bonding_slave (error: -12 parent: ipvlan0)
ODEBUG: assert_init not available (active state 0) object type: timer_list hint:           (null)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8300 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: 8300 Comm: syz-executor809 Not tainted 4.14.212-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+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 lib/bug.c:186
 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:ffff8880a2486d48 EFLAGS: 00010086
RAX: 0000000000000061 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87ccd060 RDI: ffffed1014490d9f
RBP: ffffffff878b6d80 R08: 0000000000000061 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8880a2fae380 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880aa8a5c78 R15: 1ffff11014490db2
 debug_object_assert_init lib/debugobjects.c:656 [inline]
 debug_object_assert_init+0x1d3/0x2d0 lib/debugobjects.c:627
 debug_timer_assert_init kernel/time/timer.c:708 [inline]
 debug_assert_init kernel/time/timer.c:756 [inline]
 del_timer+0x5d/0xe0 kernel/time/timer.c:1151
 try_to_grab_pending+0x243/0x610 kernel/workqueue.c:1225
 __cancel_work_timer+0x90/0x460 kernel/workqueue.c:2923
 slave_kobj_release+0x48/0xd0 drivers/net/bonding/bond_main.c:1261
 kobject_cleanup lib/kobject.c:646 [inline]
 kobject_release lib/kobject.c:675 [inline]
 kref_put include/linux/kref.h:70 [inline]
 kobject_put+0x251/0x550 lib/kobject.c:692
 bond_alloc_slave drivers/net/bonding/bond_main.c:1306 [inline]
 bond_enslave+0xd2b/0x4cc0 drivers/net/bonding/bond_main.c:1494
 do_set_master+0x19e/0x200 net/core/rtnetlink.c:1961
 do_setlink+0x8b8/0x2bf0 net/core/rtnetlink.c:2098
 rtnl_newlink+0x1267/0x1830 net/core/rtnetlink.c:2660
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4316
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 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:0x444769
RSP: 002b:00007ffc16d072a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000444769
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000001 R09: 00000000bb1414ac
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000007 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/20 00:44 linux-4.14.y 3f2ecb86cb90 04201c06 .config console log report syz C ci2-linux-4-14
2021/05/09 20:58 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/05/08 15:58 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/05/08 05:41 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/05/03 21:43 linux-4.14.y 7d7d1c0ab3eb ad61f371 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/05/02 21:55 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/04/30 05:01 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/04/23 07:48 linux-4.14.y cf256fbcbe34 590921a5 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/04/08 13:11 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/04/06 13:45 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/31 12:50 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/30 12:42 linux-4.14.y 670d6552eda8 6a81331a .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/27 16:50 linux-4.14.y 670d6552eda8 a8529b82 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/21 10:31 linux-4.14.y cb83ddcd5332 17810eae .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/12 09:24 linux-4.14.y c7150cd2fa8c 429d8a6b .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/04 21:45 linux-4.14.y 397a88b2cc86 f89ed068 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/03/03 02:31 linux-4.14.y 3242aa3a635c e5b64d68 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/02/24 16:30 linux-4.14.y 3242aa3a635c fcc6d71b .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/02/23 19:20 linux-4.14.y 3242aa3a635c fcc6d71b .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/01/20 22:17 linux-4.14.y 2762b48e9611 d4f4eca5 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/01/20 18:52 linux-4.14.y 2762b48e9611 d4f4eca5 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/01/18 04:28 linux-4.14.y 2762b48e9611 fd103621 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/01/17 20:11 linux-4.14.y 2762b48e9611 fd103621 .config console log report info ci2-linux-4-14 WARNING: ODEBUG bug in slave_kobj_release
2021/01/13 01:18 linux-4.14.y f79dc86058bc 0cdd6185 .config console log report info ci2-linux-4-14
2021/01/02 06:10 linux-4.14.y 1752938529c6 79264ae3 .config console log report info ci2-linux-4-14
2021/01/01 20:43 linux-4.14.y 1752938529c6 79264ae3 .config console log report info ci2-linux-4-14
2021/01/01 08:10 linux-4.14.y 1752938529c6 79264ae3 .config console log report info ci2-linux-4-14
2020/12/31 13:41 linux-4.14.y 1752938529c6 5cc121d6 .config console log report info ci2-linux-4-14
2020/12/24 06:48 linux-4.14.y 3f2ecb86cb90 c2c1d1dd .config console log report info ci2-linux-4-14
2020/12/19 23:34 linux-4.14.y 3f2ecb86cb90 04201c06 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.