syzbot


WARNING: ODEBUG bug in netdev_run_todo

Status: upstream: reported syz repro on 2023/03/08 11:05
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+7a799b3392c64d3d3f86@syzkaller.appspotmail.com
First crash: 624d, last: 427d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: INFO: rcu detected stall in corrupted (log)
Repro: syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/20 linux-6.1.y (ToT) fa74641fb6b9 C [report] INFO: rcu detected stall in corrupted
2023/05/20 upstream (ToT) 5565ec4ef4f0 C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING: ODEBUG bug in netdev_run_todo syz 64 530d 620d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:02
linux-4.19 WARNING: ODEBUG bug in netdev_run_todo syz 308 631d 1619d 0/1 upstream: reported syz repro on 2020/06/16 11:21
upstream WARNING: ODEBUG bug in netdev_run_todo batman C error error 5467 515d 1569d 25/28 fixed on 2024/02/03 08:56
linux-4.14 WARNING: ODEBUG bug in netdev_run_todo C error 350 924d 1627d 0/1 upstream: reported C repro on 2020/06/08 15:34
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/09/21 11:40 5h00m fix candidate upstream OK (1) job log
2023/09/21 10:09 1h28m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: batadv_dat_purge+0x0/0x490
WARNING: CPU: 0 PID: 3712 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline]
WARNING: CPU: 0 PID: 3712 at lib/debugobjects.c:512 __debug_check_no_obj_freed lib/debugobjects.c:996 [inline]
WARNING: CPU: 0 PID: 3712 at lib/debugobjects.c:512 debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1027
Modules linked in:
CPU: 0 PID: 3712 Comm: kworker/u4:3 Not tainted 6.1.22-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: netns cleanup_net
RIP: 0010:debug_print_object lib/debugobjects.c:509 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:996 [inline]
RIP: 0010:debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1027
Code: 74 08 48 89 ef e8 3f aa a7 fd 48 8b 13 4c 8b 45 00 48 c7 c7 c0 c0 3c 8b 48 c7 c6 80 bd 3c 8b 44 89 f1 4d 89 f9 e8 ff 22 1a fd <0f> 0b 48 ba 00 00 00 00 00 fc ff df 4c 8b 74 24 38 ff 05 54 9d 1a
RSP: 0018:ffffc900041bf7e8 EFLAGS: 00010246
RAX: 5d7656ce1e7ee700 RBX: ffffffff8b3cc138 RCX: ffff88807f430000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8aed9c20 R08: ffffffff8152292e R09: fffff52000837e75
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8aed9c20
R13: ffff88807a5e99f8 R14: 0000000000000000 R15: ffffffff8a4cdea0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564246847950 CR3: 000000000cc8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 slab_free_hook mm/slub.c:1699 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0x205/0x3c0 mm/slub.c:3674
 device_release+0x91/0x1c0
 kobject_cleanup lib/kobject.c:681 [inline]
 kobject_release lib/kobject.c:712 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x224/0x460 lib/kobject.c:729
 netdev_run_todo+0xe56/0xf40 net/core/dev.c:10372
 default_device_exit_batch+0x5c1/0x630 net/core/dev.c:11336
 ops_exit_list net/core/net_namespace.c:174 [inline]
 cleanup_net+0x763/0xb60 net/core/net_namespace.c:601
 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
 kthread+0x268/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (36):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/01 07:40 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/06/10 19:37 linux-6.1.y 2f3918bc53fb 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/06/10 11:42 linux-6.1.y 2f3918bc53fb 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/06/01 19:02 linux-6.1.y d2869ace6eeb babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/06/01 07:49 linux-6.1.y d2869ace6eeb babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/05/27 12:04 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/05/24 03:29 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/05/12 18:14 linux-6.1.y bf4ad6fa4e53 ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/05/11 03:10 linux-6.1.y ca48fc16c493 14b12a99 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/05/01 16:31 linux-6.1.y ca48fc16c493 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/26 05:01 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/25 16:16 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/22 12:18 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/21 14:11 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/19 12:21 linux-6.1.y 0102425ac76b 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/19 11:18 linux-6.1.y 0102425ac76b 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/19 03:49 linux-6.1.y 0102425ac76b d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/18 07:40 linux-6.1.y 0102425ac76b 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/17 14:09 linux-6.1.y 0102425ac76b c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/17 03:00 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/16 23:28 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/12 10:00 linux-6.1.y 543aff194ab6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/08 15:27 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/08 10:15 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/05 18:58 linux-6.1.y 3b29299e5f60 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/05 07:34 linux-6.1.y 3b29299e5f60 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/04/03 12:34 linux-6.1.y 3b29299e5f60 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/04/03 12:19 linux-6.1.y 3b29299e5f60 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/03/26 02:52 linux-6.1.y e3a87a10f259 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/03/15 17:04 linux-6.1.y 6449a0ba6843 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/03/15 02:51 linux-6.1.y 6449a0ba6843 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/03/14 23:52 linux-6.1.y 6449a0ba6843 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
2023/03/13 14:40 linux-6.1.y 6449a0ba6843 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/03/11 15:48 linux-6.1.y 11585e2f8b9d 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/03/11 11:58 linux-6.1.y 11585e2f8b9d 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in netdev_run_todo
2023/03/08 11:05 linux-6.1.y 42616e0f09fb d2b00170 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: ODEBUG bug in netdev_run_todo
* Struck through repros no longer work on HEAD.