syzbot


WARNING: ODEBUG bug in netdev_freemem

Status: auto-closed as invalid on 2020/06/20 15:09
Reported-by: syzbot+490db2c9bfa1aaba7fbb@syzkaller.appspotmail.com
First crash: 1812d, last: 1516d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in netdev_freemem (3) usb C 43 8h58m 23d 0/26 upstream: reported C repro on 2024/03/23 19:06
linux-5.15 WARNING: ODEBUG bug in netdev_freemem syz 12 309d 382d 0/3 auto-obsoleted due to no activity on 2023/09/10 16:09
linux-4.19 WARNING: ODEBUG bug in netdev_freemem syz error 243 1517d 1826d 0/1 auto-obsoleted due to no activity on 2022/08/27 05:00
upstream WARNING: ODEBUG bug in netdev_freemem syz done 1042 1767d 1932d 12/26 fixed on 2019/06/14 18:22
upstream WARNING: ODEBUG bug in netdev_freemem (2) batman syz error error 1377 303d 1758d 0/26 auto-obsoleted due to no activity on 2023/11/05 09:08
linux-6.1 WARNING: ODEBUG bug in netdev_freemem 1 347d 347d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:09

Sample crash report:
device hsr_slave_0 entered promiscuous mode
device hsr_slave_1 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): bridge0: 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
------------[ cut here ]------------
WARNING: CPU: 0 PID: 9433 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
8021q: adding VLAN 0 to HW filter on device bond0
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 9433 Comm: kworker/u4:7 Not tainted 4.14.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x142/0x197 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready
 __warn.cold+0x2f/0x2f kernel/panic.c:547
 report_bug+0x216/0x254 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+0x1bb/0x310 arch/x86/kernel/traps.c:295
IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready
8021q: adding VLAN 0 to HW filter on device team0
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 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:ffff88805951f858 EFLAGS: 00010082
IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready
RAX: 0000000000000061 RBX: 0000000000000003 RCX: 0000000000000000
IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffed100b2a3f01
IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready
RBP: ffff88805951f880 R08: 0000000000000061 R09: 0000000000000000
IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready
R10: 0000000000000000 R11: ffff888059bcc2c0 R12: ffffffff86cbb4e0
IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready
R13: ffffffff813d13a0 R14: 0000000000000000 R15: ffff88805b3c6840
IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready
 __debug_check_no_obj_freed lib/debugobjects.c:747 [inline]
 debug_check_no_obj_freed+0x3f5/0x7b7 lib/debugobjects.c:776
IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready
 kfree+0xbd/0x270 mm/slab.c:3814
 kvfree+0x4d/0x60 mm/util.c:416
 netdev_freemem+0x4c/0x60 net/core/dev.c:8049
 netdev_release+0x72/0x90 net/core/net-sysfs.c:1506
 device_release+0x163/0x1a0 drivers/base/core.c:833
IPv6: ADDRCONF(NETDEV_UP): veth1_to_hsr: link is not ready
hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
 kobject_cleanup lib/kobject.c:646 [inline]
 kobject_release lib/kobject.c:675 [inline]
 kref_put include/linux/kref.h:70 [inline]
 kobject_put+0x14e/0x210 lib/kobject.c:692
hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
 netdev_run_todo+0x4e4/0x770 net/core/dev.c:7954
IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready
 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:106
 default_device_exit_batch+0x328/0x3d0 net/core/dev.c:8740
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready
 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:145
 cleanup_net+0x3ba/0x870 net/core/net_namespace.c:484
IPv6: ADDRCONF(NETDEV_UP): veth1_virt_wifi: link is not ready
 process_one_work+0x863/0x1600 kernel/workqueue.c:2114
IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready
IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready
 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled

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

Crashes (179):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/21 15:08 linux-4.14.y 98db2bf27b9e bd2a74a3 .config console log report ci2-linux-4-14
2020/02/20 03:59 linux-4.14.y 98db2bf27b9e b690a6e3 .config console log report ci2-linux-4-14
2020/02/15 12:54 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report ci2-linux-4-14
2020/02/12 15:34 linux-4.14.y e0f8b8a65a47 a75b198c .config console log report ci2-linux-4-14
2020/02/11 17:15 linux-4.14.y e0f8b8a65a47 4d1ab643 .config console log report ci2-linux-4-14
2020/02/10 16:18 linux-4.14.y e0f8b8a65a47 18847f55 .config console log report ci2-linux-4-14
2020/02/09 08:14 linux-4.14.y e0f8b8a65a47 06150bf1 .config console log report ci2-linux-4-14
2020/02/05 11:17 linux-4.14.y 9fa690a2a016 93e5e335 .config console log report ci2-linux-4-14
2020/02/02 07:23 linux-4.14.y 9fa690a2a016 2274ad39 .config console log report ci2-linux-4-14
2020/02/02 05:39 linux-4.14.y 9fa690a2a016 2274ad39 .config console log report ci2-linux-4-14
2020/02/01 17:00 linux-4.14.y 9fa690a2a016 326d4c78 .config console log report ci2-linux-4-14
2020/01/31 03:16 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
2020/01/30 11:18 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
2020/01/28 16:18 linux-4.14.y 9a95f25269bd 56cd6c9b .config console log report ci2-linux-4-14
2020/01/23 12:42 linux-4.14.y 8bac50406cca 3334d684 .config console log report ci2-linux-4-14
2020/01/22 21:26 linux-4.14.y c1141b3aab36 3334d684 .config console log report ci2-linux-4-14
2020/01/22 19:09 linux-4.14.y c1141b3aab36 3334d684 .config console log report ci2-linux-4-14
2020/01/22 09:55 linux-4.14.y c1141b3aab36 8eda0b95 .config console log report ci2-linux-4-14
2020/01/20 22:02 linux-4.14.y c1141b3aab36 8eda0b95 .config console log report ci2-linux-4-14
2020/01/20 16:20 linux-4.14.y c1141b3aab36 c40da18c .config console log report ci2-linux-4-14
2020/01/20 08:56 linux-4.14.y c1141b3aab36 0342f8c7 .config console log report ci2-linux-4-14
2020/01/18 18:23 linux-4.14.y c1141b3aab36 3de7aabb .config console log report ci2-linux-4-14
2020/01/18 15:06 linux-4.14.y c1141b3aab36 3de7aabb .config console log report ci2-linux-4-14
2020/01/17 08:26 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report ci2-linux-4-14
2020/01/17 06:32 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report ci2-linux-4-14
2020/01/17 05:17 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report ci2-linux-4-14
2020/01/16 23:14 linux-4.14.y c04fc6fa5c96 3de7aabb .config console log report ci2-linux-4-14
2020/01/14 12:19 linux-4.14.y 6d0c334a400d 32881205 .config console log report ci2-linux-4-14
2020/01/12 21:01 linux-4.14.y 6d0c334a400d 31290a45 .config console log report ci2-linux-4-14
2020/01/12 10:33 linux-4.14.y b0cdffaa546e 31290a45 .config console log report ci2-linux-4-14
2020/01/12 03:43 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report ci2-linux-4-14
2020/01/11 17:51 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report ci2-linux-4-14
2020/01/11 06:37 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report ci2-linux-4-14
2020/01/10 15:57 linux-4.14.y b0cdffaa546e 532ec44e .config console log report ci2-linux-4-14
2020/01/10 03:37 linux-4.14.y b0cdffaa546e 4de4e9f0 .config console log report ci2-linux-4-14
2020/01/10 03:07 linux-4.14.y b0cdffaa546e 4de4e9f0 .config console log report ci2-linux-4-14
2020/01/10 00:09 linux-4.14.y b0cdffaa546e 4de4e9f0 .config console log report ci2-linux-4-14
2020/01/09 15:16 linux-4.14.y b0cdffaa546e 4de4e9f0 .config console log report ci2-linux-4-14
2020/01/06 17:06 linux-4.14.y 84f5ad468100 438e1227 .config console log report ci2-linux-4-14
2020/01/05 09:34 linux-4.14.y 84f5ad468100 68256974 .config console log report ci2-linux-4-14
2020/01/04 13:27 linux-4.14.y 84f5ad468100 68256974 .config console log report ci2-linux-4-14
2020/01/03 03:52 linux-4.14.y 4c5bf01e16a7 25a0186e .config console log report ci2-linux-4-14
2020/01/02 23:59 linux-4.14.y 4c5bf01e16a7 25a0186e .config console log report ci2-linux-4-14
2020/01/02 04:19 linux-4.14.y 4c5bf01e16a7 25a0186e .config console log report ci2-linux-4-14
2020/01/02 02:22 linux-4.14.y 4c5bf01e16a7 25a0186e .config console log report ci2-linux-4-14
2019/12/31 08:27 linux-4.14.y e1f7d50ae3a3 7f117e28 .config console log report ci2-linux-4-14
2019/12/29 01:32 linux-4.14.y e1f7d50ae3a3 af6b8ef8 .config console log report ci2-linux-4-14
2019/12/27 18:04 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
2019/12/27 14:55 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
2019/04/30 16:32 linux-4.14.y fa5941f45d7e 20f16bef .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.