syzbot


WARNING: ODEBUG bug in netdev_freemem

Status: fixed on 2019/06/14 18:22
Reported-by: syzbot+979ffc89b87309b1b94b@syzkaller.appspotmail.com
Fix commit: a3c7cd0cdf11 batman-adv: mcast: fix multicast tt/tvlv worker locking
First crash: 1932d, last: 1764d
Cause bisection: introduced by (bisect log) :
commit 96e5da7c842424bcf64afe1082b960b42b96190b
Author: Dmitry Osipenko <digetx@gmail.com>
Date: Sun Oct 21 18:30:52 2018 +0000

  memory: tegra: Introduce Tegra20 EMC driver

Crash: WARNING in batadv_mcast_mla_update (log)
Repro: syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[PATCH AUTOSEL 5.1 001/375] gfs2: Fix lru_count going negative 88 (88) 2019/06/17 15:57
[PATCH 4.19 000/276] 4.19.47-stable review 304 (304) 2019/06/06 19:22
[PATCH 5.0 000/346] 5.0.20-stable review 355 (355) 2019/05/31 14:18
[PATCH 5.1 000/405] 5.1.6-stable review 414 (414) 2019/05/31 14:16
[PATCH 4.14 000/193] 4.14.123-stable review 199 (199) 2019/05/31 05:16
[PATCH AUTOSEL 5.0 001/317] gfs2: Fix lru_count going negative 107 (107) 2019/05/29 19:00
[PATCH AUTOSEL 4.19 001/244] gfs2: Fix lru_count going negative 84 (84) 2019/05/22 19:29
[PATCH 0/2] pull request for net: batman-adv 2019-05-09 4 (4) 2019/05/09 16:45
WARNING: ODEBUG bug in netdev_freemem 0 (3) 2019/03/24 06:09
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: ODEBUG bug in netdev_freemem 179 1512d 1809d 0/1 auto-closed as invalid on 2020/06/20 15:09
upstream WARNING: ODEBUG bug in netdev_freemem (3) usb syz 40 3h13m 19d 0/26 upstream: reported syz repro on 2024/03/23 19:06
linux-5.15 WARNING: ODEBUG bug in netdev_freemem syz 12 306d 378d 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 1513d 1822d 0/1 auto-obsoleted due to no activity on 2022/08/27 05:00
upstream WARNING: ODEBUG bug in netdev_freemem (2) batman syz error error 1377 299d 1754d 0/26 auto-obsoleted due to no activity on 2023/11/05 09:08
linux-6.1 WARNING: ODEBUG bug in netdev_freemem 1 343d 343d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:09

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 arch/x86/include/asm/paravirt.h:767
WARNING: CPU: 1 PID: 2546 at lib/debugobjects.c:325 debug_print_object+0x168/0x250 lib/debugobjects.c:325
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 2546 Comm: kworker/u4:4 Not tainted 5.2.0-rc2+ #16
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:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x744 kernel/panic.c:219
 __warn.cold+0x20/0x4d kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986
RIP: 0010:debug_print_object+0x168/0x250 lib/debugobjects.c:325
Code: dd 80 c7 a4 87 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b5 00 00 00 48 8b 14 dd 80 c7 a4 87 48 c7 c7 20 bd a4 87 e8 66 90 0d fe <0f> 0b 83 05 5b 61 4b 06 01 48 83 c4 20 5b 41 5c 41 5d 41 5e 5d c3
RSP: 0018:ffff8880a0d7f838 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815ac816 RDI: ffffed10141afef9
RBP: ffff8880a0d7f878 R08: ffff8880a0c9e600 R09: fffffbfff1173161
R10: fffffbfff1173160 R11: ffffffff88b98b03 R12: 0000000000000001
R13: ffffffff88bad1a0 R14: ffffffff81603860 R15: ffff88808b991260
 __debug_check_no_obj_freed lib/debugobjects.c:785 [inline]
 debug_check_no_obj_freed+0x29f/0x464 lib/debugobjects.c:817
 kfree+0xbd/0x220 mm/slab.c:3754
 kvfree+0x61/0x70 mm/util.c:460
 netdev_freemem+0x4c/0x60 net/core/dev.c:9070
 netdev_release+0x86/0xb0 net/core/net-sysfs.c:1635
 device_release+0x7a/0x210 drivers/base/core.c:1064
 kobject_cleanup lib/kobject.c:691 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:67 [inline]
 kobject_put.cold+0x289/0x2e6 lib/kobject.c:737
 netdev_run_todo+0x53b/0x7c0 net/core/dev.c:8975
 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:112
 default_device_exit_batch+0x358/0x410 net/core/dev.c:9756
 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:157
 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:553
 process_one_work+0x989/0x1790 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x354/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

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

Crashes (1042):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/01 07:15 upstream 3ab4436f688c 53c81ea5 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/05/28 03:55 upstream cd6c84d8f0cd 6bd61501 .config console log report syz ci-upstream-kasan-gce-root
2019/03/06 03:57 upstream 63bdf4284c38 16559f86 .config console log report syz ci-upstream-kasan-gce
2019/02/25 18:14 upstream 5908e6b738e3 a70141bf .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/02/06 12:34 upstream 8834f5600cf3 d672172c .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/02/01 19:18 upstream 5b4746a03199 0c07abcf .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/01/21 22:32 upstream 49a57857aeea badbbeee .config console log report syz ci-upstream-kasan-gce
2019/01/18 20:04 upstream d7393226d15a 2103a236 .config console log report syz ci-upstream-kasan-gce
2019/01/06 04:30 upstream f1c2f8857c5a 53be0a37 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/01/06 03:31 upstream f1c2f8857c5a 53be0a37 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/01/02 04:09 upstream 28e8c4bc8eb4 3d85f48c .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/05/23 01:53 net-next-old 54dee406374c 84b9d384 .config console log report syz ci-upstream-net-kasan-gce
2019/05/15 00:25 bpf-next 80f232121b69 bd4e3ac7 .config console log report syz ci-upstream-bpf-next-kasan-gce
2019/01/03 06:47 linux-next 4cd1b60def51 06a2b89f .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/06/12 16:01 upstream aa7235483a83 794a1ad7 .config console log report ci-upstream-kasan-gce-smack-root
2019/06/10 09:51 upstream d1fdb6d8f6a4 0159583c .config console log report ci-upstream-kasan-gce-smack-root
2019/06/08 18:12 upstream 79c3ba3206c7 0159583c .config console log report ci-upstream-kasan-gce-selinux-root
2019/06/08 16:33 upstream 79c3ba3206c7 0159583c .config console log report ci-upstream-kasan-gce-root
2019/06/08 14:19 upstream 79c3ba3206c7 0159583c .config console log report ci-upstream-kasan-gce-root
2019/06/07 01:00 upstream 01047631df81 698773cb .config console log report ci-upstream-kasan-gce-selinux-root
2019/06/06 08:16 upstream 156c05917e09 a547defc .config console log report ci-upstream-kasan-gce-smack-root
2019/06/04 21:08 upstream 788a024921c4 e41a20c5 .config console log report ci-upstream-kasan-gce-smack-root
2019/06/04 14:35 upstream 788a024921c4 e41a20c5 .config console log report ci-upstream-kasan-gce-smack-root
2019/04/26 02:03 upstream f6f3e747454f f46aabc8 .config console log report ci-upstream-kasan-gce
2018/12/27 19:37 upstream fc2fd5f0f1aa 43cf01dd .config console log report ci-upstream-kasan-gce
2019/06/13 13:30 upstream b076173a309e 3f4e812b .config console log report ci-upstream-kasan-gce-386
2019/06/14 16:07 bpf 09f6ac2c31f3 998ccc76 .config console log report ci-upstream-bpf-kasan-gce
2019/06/14 14:18 bpf 09f6ac2c31f3 998ccc76 .config console log report ci-upstream-bpf-kasan-gce
2019/06/14 10:52 bpf 09f6ac2c31f3 998ccc76 .config console log report ci-upstream-bpf-kasan-gce
2019/06/13 10:45 bpf 01d76b531700 3f4e812b .config console log report ci-upstream-bpf-kasan-gce
2019/06/12 14:47 bpf da2577fdd093 794a1ad7 .config console log report ci-upstream-bpf-kasan-gce
2019/06/12 09:29 bpf da2577fdd093 ea2f4006 .config console log report ci-upstream-bpf-kasan-gce
2019/06/12 02:40 bpf da2577fdd093 ea2f4006 .config console log report ci-upstream-bpf-kasan-gce
2019/06/11 04:59 bpf 38e406f600a2 0159583c .config console log report ci-upstream-bpf-kasan-gce
2019/06/11 03:38 bpf 38e406f600a2 0159583c .config console log report ci-upstream-bpf-kasan-gce
2019/06/10 22:25 bpf 38e406f600a2 0159583c .config console log report ci-upstream-bpf-kasan-gce
2019/06/10 11:41 bpf 38e406f600a2 0159583c .config console log report ci-upstream-bpf-kasan-gce
2019/06/10 04:43 bpf 38e406f600a2 0159583c .config console log report ci-upstream-bpf-kasan-gce
2019/06/08 09:38 bpf 38e406f600a2 cf9c3a50 .config console log report ci-upstream-bpf-kasan-gce
2019/06/08 08:22 bpf 38e406f600a2 cf9c3a50 .config console log report ci-upstream-bpf-kasan-gce
2019/06/07 17:48 bpf 4aeba328019a ce9107d0 .config console log report ci-upstream-bpf-kasan-gce
2019/06/06 03:11 bpf 1884c066579a a547defc .config console log report ci-upstream-bpf-kasan-gce
2019/06/05 18:16 bpf 25a7991c84f6 bfb4a51e .config console log report ci-upstream-bpf-kasan-gce
2019/06/05 10:29 bpf e7f3dd281cf9 bfb4a51e .config console log report ci-upstream-bpf-kasan-gce
2019/06/04 06:12 net-old 28e74a7cfd64 ce07a7ae .config console log report ci-upstream-net-this-kasan-gce
2019/06/14 02:50 bpf-next aee450cbe482 a139f92f .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/14 00:15 bpf-next aee450cbe482 a139f92f .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/13 03:06 bpf-next aee450cbe482 3f4e812b .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/11 19:53 bpf-next c7cebffea2c7 5b5826d0 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/11 12:54 bpf-next c7cebffea2c7 5b5826d0 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/11 08:41 net-next-old 48debfd736d5 0159583c .config console log report ci-upstream-net-kasan-gce
2019/06/10 17:05 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/10 02:44 net-next-old 900d96e418dc 0159583c .config console log report ci-upstream-net-kasan-gce
2019/06/09 23:43 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/09 16:21 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/09 12:18 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/09 09:21 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/09 03:27 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/08 20:57 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/08 19:31 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/08 01:15 bpf-next 88aa9c0bf414 ce9107d0 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/07 16:43 bpf-next 4ecabd55c904 ce9107d0 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/06 23:23 bpf-next 07c3bbdb1a9b 698773cb .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/06 15:54 bpf-next 07c3bbdb1a9b 698773cb .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/05 01:59 net-next-old 712246bc93cb bfb4a51e .config console log report ci-upstream-net-kasan-gce
2019/06/12 18:15 linux-next 81a72c79224f 794a1ad7 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.