syzbot


WARNING: ODEBUG bug in device_release

Status: upstream: reported syz repro on 2020/03/05 11:16
Reported-by: syzbot+9a1face8397e903cbf80@syzkaller.appspotmail.com
First crash: 1572d, last: 1512d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in device_release kernel 144 1483d 1576d 0/27 auto-closed as invalid on 2020/08/06 20:56
linux-4.19 WARNING: ODEBUG bug in device_release 5 1546d 1578d 0/1 auto-closed as invalid on 2020/07/30 06:23
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/11 12:31 10m retest repro linux-4.14.y report log
2022/08/28 16:27 10m retest repro linux-4.14.y report log

Sample crash report:
device veth0_macvtap entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:4850
IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2212 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
IPv6: ADDRCONF(NETDEV_UP): veth1_virt_wifi: link is not ready
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2212 Comm: kworker/u4:3 Not tainted 4.14.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
device veth1_macvtap entered promiscuous mode
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x13e/0x194 lib/dump_stack.c:58
IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready
 panic+0x1f9/0x42d kernel/panic.c:183
IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready
IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 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:963
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff8880a427f900 EFLAGS: 00010082
RAX: 0000000000000061 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86e453c0 RDI: ffffed101484ff16
RBP: ffffffff86abbae0 R08: 0000000000000061 R09: 0000000000000000
R10: fffffbfff14a8ce1 R11: ffff8880a4276040 R12: ffffffff813b94a0
R13: 0000000000000000 R14: ffffffff8a731bc8 R15: ffff8880994bac78
 __debug_check_no_obj_freed lib/debugobjects.c:747 [inline]
 debug_check_no_obj_freed+0x3cd/0x6e4 lib/debugobjects.c:776
 kfree+0xbb/0x260 mm/slab.c:3814
 kvfree+0x45/0x50 mm/util.c:416
 device_release+0x15f/0x1a0 drivers/base/core.c:833
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready
 kobject_cleanup lib/kobject.c:646 [inline]
 kobject_release lib/kobject.c:675 [inline]
 kref_put include/linux/kref.h:70 [inline]
 kobject_put+0x13e/0x1f0 lib/kobject.c:692
 netdev_run_todo+0x4a9/0x710 net/core/dev.c:7954
 default_device_exit_batch+0x2e7/0x380 net/core/dev.c:8740
batman_adv: batadv0: Interface activated: batadv_slave_0
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:145
 cleanup_net+0x3bb/0x820 net/core/net_namespace.c:484
 process_one_work+0x813/0x1540 kernel/workqueue.c:2114
 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2248
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready
batman_adv: batadv0: Interface activated: batadv_slave_1
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404

======================================================

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/11 16:39 linux-4.14.y 78d697fc93f9 e103bc9e .config console log report syz ci2-linux-4-14
2020/05/05 08:58 linux-4.14.y 773e2b1cd56a 9941337c .config console log report ci2-linux-4-14
2020/04/01 16:13 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report ci2-linux-4-14
2020/03/30 01:10 linux-4.14.y 01364dad1d45 05736b29 .config console log report ci2-linux-4-14
2020/03/24 14:23 linux-4.14.y 01364dad1d45 33e14df3 .config console log report ci2-linux-4-14
2020/03/17 22:41 linux-4.14.y 12cd844a39ed 97bc55ce .config console log report ci2-linux-4-14
2020/03/15 09:07 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/03/15 08:22 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/03/08 00:52 linux-4.14.y 78d697fc93f9 2e9971bb .config console log report ci2-linux-4-14
2020/03/06 01:43 linux-4.14.y 78d697fc93f9 b655d91b .config console log report ci2-linux-4-14
2020/03/05 11:16 linux-4.14.y 78d697fc93f9 b655d91b .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.