syzbot


WARNING: ODEBUG bug in device_release

Status: auto-closed as invalid on 2020/07/30 06:23
Reported-by: syzbot+638d26863dce42057400@syzkaller.appspotmail.com
First crash: 1740d, last: 1708d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: ODEBUG bug in device_release syz error 11 1673d 1734d 0/1 upstream: reported syz repro on 2020/03/05 11:16
upstream WARNING: ODEBUG bug in device_release kernel 144 1645d 1738d 0/28 auto-closed as invalid on 2020/08/06 20:56

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready
------------[ cut here ]------------
IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:4943
WARNING: CPU: 0 PID: 59 at lib/debugobjects.c:325 debug_print_object+0x160/0x250 lib/debugobjects.c:325
device veth0_vlan entered promiscuous mode
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 59 Comm: kworker/u4:2 Not tainted 4.19.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
device veth1_vlan entered promiscuous mode
Call Trace:
IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready
IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready
device veth0_macvtap entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready
 __warn.cold+0x20/0x46 kernel/panic.c:541
device veth1_macvtap entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready
 report_bug+0x262/0x2a0 lib/bug.c:186
IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
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
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:debug_print_object+0x160/0x250 lib/debugobjects.c:325
Code: dd 60 0b ab 87 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd 60 0b ab 87 48 c7 c7 a0 00 ab 87 e8 0b 65 e6 fd <0f> 0b 83 05 13 11 37 06 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89
RSP: 0018:ffff8880a96478e8 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8152d3a1 RDI: ffffed10152c8f0f
RBP: 0000000000000001 R08: ffff8880a963a0c0 R09: ffffed1015cc3ee3
R10: ffffed1015cc3ee2 R11: ffff8880ae61f717 R12: ffffffff88b9faa0
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
R13: ffffffff81581ee0 R14: ffffffff8b89b488 R15: ffff8880517f70a0
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 __debug_check_no_obj_freed lib/debugobjects.c:785 [inline]
 debug_check_no_obj_freed+0x2a3/0x42e lib/debugobjects.c:817
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 kfree+0xbb/0x220 mm/slab.c:3821
 kvfree+0x59/0x60 mm/util.c:452
 device_release+0x76/0x210 drivers/base/core.c:1061
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready
 kobject_cleanup lib/kobject.c:662 [inline]
 kobject_release lib/kobject.c:691 [inline]
 kref_put include/linux/kref.h:70 [inline]
 kobject_put+0x17c/0x270 lib/kobject.c:708
batman_adv: batadv0: Interface activated: batadv_slave_0
 netdev_run_todo+0x4f1/0x740 net/core/dev.c:8981
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!
 default_device_exit_batch+0x309/0x3c0 net/core/dev.c:9766
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!
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:156
 cleanup_net+0x3bf/0x850 net/core/net_namespace.c:553
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 process_one_work+0x91f/0x1640 kernel/workqueue.c:2155
 worker_thread+0x96/0xe20 kernel/workqueue.c:2298
 kthread+0x34a/0x420 kernel/kthread.c:246
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!
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

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

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/01 06:23 linux-4.19.y 54b4fa6d3955 a34e2c33 .config console log report ci2-linux-4-19
2020/03/28 12:48 linux-4.19.y 54b4fa6d3955 f1ebdfba .config console log report ci2-linux-4-19
2020/03/26 11:25 linux-4.19.y 54b4fa6d3955 e8e6c7d2 .config console log report ci2-linux-4-19
2020/03/07 22:37 linux-4.19.y 7472c4028e23 2e9971bb .config console log report ci2-linux-4-19
2020/02/29 01:54 linux-4.19.y a083db76118d c88c7b75 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.