syzbot


WARNING: ODEBUG bug in netdev_freemem (2)

Status: upstream: reported syz repro on 2019/06/24 08:53
Reported-by: syzbot+c4521ac872a4ccc3afec@syzkaller.appspotmail.com
First crash: 1328d, last: 2d08h

Cause bisection: failed (bisect log)

Fix bisection: failed (bisect log)
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: ODEBUG bug in netdev_freemem 179 1077d 1373d 0/1 auto-closed as invalid on 2020/06/20 15:09
linux-4.19 WARNING: ODEBUG bug in netdev_freemem syz error 243 1078d 1387d 0/1 auto-obsoleted due to no activity on 2022/08/27 05:00
upstream WARNING: ODEBUG bug in netdev_freemem syz done 1042 1328d 1493d 13/24 fixed on 2019/06/14 18:22
Last patch testing requests:
Created Duration User Patch Repo Result
2022/09/03 06:27 16m retest repro bpf OK log

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: __refcount_sub_and_test include/linux/refcount.h:272 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: __refcount_dec_and_test include/linux/refcount.h:315 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: refcount_dec_and_test include/linux/refcount.h:333 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: kref_put include/linux/kref.h:64 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: batadv_dat_entry_put net/batman-adv/distributed-arp-table.c:133 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: batadv_dat_purge+0x0/0x284 net/batman-adv/distributed-arp-table.c:1829
WARNING: CPU: 1 PID: 3202 at lib/debugobjects.c:505 debug_print_object lib/debugobjects.c:502 [inline]
WARNING: CPU: 1 PID: 3202 at lib/debugobjects.c:505 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
WARNING: CPU: 1 PID: 3202 at lib/debugobjects.c:505 debug_check_no_obj_freed+0x214/0x2b0 lib/debugobjects.c:1020
Modules linked in:
CPU: 1 PID: 3202 Comm: kworker/u4:3 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Workqueue: netns cleanup_net
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : debug_print_object lib/debugobjects.c:502 [inline]
pc : __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
pc : debug_check_no_obj_freed+0x214/0x2b0 lib/debugobjects.c:1020
lr : debug_print_object lib/debugobjects.c:502 [inline]
lr : __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
lr : debug_check_no_obj_freed+0x214/0x2b0 lib/debugobjects.c:1020
sp : ffff800010feb9b0
x29: ffff800010feb9d0 x28: ffff0000cfaef000 x27: ffff0000cfaf0000
x26: ffff0000d0c55168 x25: ffff0000d0c554d8 x24: ffff80000c0cf7d0
x23: ffff0000cfaef4f8 x22: ffff80000c0cf7d0 x21: 0000000000000001
x20: dead000000000100 x19: ffff0000cfaee000 x18: 00000000000000c0
x17: 6e6968207473696c x16: ffff80000dbe6158 x15: ffff0000cd44b480
x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000cd44b480
x11: ff808000081c4d64 x10: 0000000000000000 x9 : 7063867d28873b00
x8 : 7063867d28873b00 x7 : ffff80000c091ebc x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000100000000 x0 : 000000000000005d
Call trace:
 debug_print_object lib/debugobjects.c:502 [inline]
 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
 debug_check_no_obj_freed+0x214/0x2b0 lib/debugobjects.c:1020
 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+0x12c/0x314 mm/slub.c:3674
 kfree+0x9c/0x118 mm/slab_common.c:1007
 kvfree+0x40/0x50 mm/util.c:627
 netdev_freemem+0x24/0x34 net/core/dev.c:10542
 netdev_release+0x48/0x60 net/core/net-sysfs.c:1910
 device_release+0x44/0xe0
 kobject_cleanup+0xe8/0x280 lib/kobject.c:673
 kobject_release lib/kobject.c:704 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x94/0xf8 lib/kobject.c:721
 netdev_run_todo+0x650/0x6f0 net/core/dev.c:10370
 rtnl_unlock+0x14/0x20 net/core/rtnetlink.c:147
 default_device_exit_batch+0x3c4/0x424 net/core/dev.c:11342
 ops_exit_list net/core/net_namespace.c:174 [inline]
 cleanup_net+0x3cc/0x648 net/core/net_namespace.c:601
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863
irq event stamp: 2582142
hardirqs last  enabled at (2582141): [<ffff8000081c3048>] __up_console_sem+0xb0/0xfc kernel/printk/printk.c:261
hardirqs last disabled at (2582142): [<ffff80000c084084>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (2582074): [<ffff80000bf670ec>] spin_unlock_bh include/linux/spinlock.h:395 [inline]
softirqs last  enabled at (2582074): [<ffff80000bf670ec>] batadv_tvlv_handler_unregister+0xec/0x1d8 net/batman-adv/tvlv.c:575
softirqs last disabled at (2582072): [<ffff80000bf670bc>] spin_lock_bh include/linux/spinlock.h:355 [inline]
softirqs last disabled at (2582072): [<ffff80000bf670bc>] batadv_tvlv_handler_unregister+0xbc/0x1d8 net/batman-adv/tvlv.c:573
---[ end trace 0000000000000000 ]---
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50

Crashes (1358):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-gce-arm64 2022/12/09 04:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1034e5fa .config console log report syz [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/11/19 19:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report syz [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-kasan-gce 2019/11/01 13:43 upstream e472c64aa4fa a41ca8fa .config console log report syz
ci-upstream-net-kasan-gce 2019/08/08 00:24 net-next 13dfb3fa4943 e6ebef88 .config console log report syz
ci-upstream-bpf-kasan-gce 2019/09/26 02:00 bpf 4670d68b9254 a3355dba .config console log report syz
ci-qemu2-arm32 2021/03/14 15:51 upstream 88fe49249c99 4a003785 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/13 08:41 upstream f296bfd5cd04 4a003785 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/12 08:42 upstream 28806e4d9b97 429d8a6b .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/11 18:47 upstream a74e6a014c9d c2ca1f2a .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/10 03:46 upstream 144c79ef3353 26967e35 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/09 17:35 upstream 144c79ef3353 26967e35 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/09 10:11 upstream 144c79ef3353 09fbf400 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/08 22:47 upstream 144c79ef3353 09fbf400 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/08 10:50 upstream 144c79ef3353 09fbf400 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/08 09:30 upstream 144c79ef3353 09fbf400 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/07 12:43 upstream a38fd8748464 c599ed12 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/07 02:49 upstream a38fd8748464 e4b4d570 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/06 18:51 upstream a38fd8748464 e4b4d570 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/06 14:10 upstream a38fd8748464 e4b4d570 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/06 08:04 upstream a38fd8748464 e4b4d570 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/06 00:43 upstream 280d542f6ffa 4a024a9b .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/05 03:35 upstream cee407c5cc42 f89ed068 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/04 20:00 upstream f69d02e37a85 f89ed068 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/04 10:49 upstream f69d02e37a85 d7e4e604 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/04 02:26 upstream f69d02e37a85 d7e4e604 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/03 21:34 upstream f69d02e37a85 06ed56cd .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/02 16:56 upstream 7a7fd0de4a98 92ead296 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/02 09:11 upstream 7a7fd0de4a98 92ead296 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/02 02:48 upstream 7a7fd0de4a98 183afb6c .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64-compat 2021/03/01 22:51 upstream 7a7fd0de4a98 183afb6c .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-arm64 2021/03/01 10:33 upstream fe07bfda2fb9 4c37c133 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/31 07:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/24 23:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/14 12:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/07 14:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/07 10:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/03 16:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2023/01/03 12:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/12/18 19:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/12/14 08:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 f6511626 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/12/10 02:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/11/30 14:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/11/30 04:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 05dc7993 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/11/17 04:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/11/09 06:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 56751c56c2a2 060f945e .config console log report info [disk image] [vmlinux] [kernel image] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/10/29 22:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/10/17 22:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/10/15 02:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 67cb024c .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/10/12 01:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 1353c374 .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/10/04 09:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/09/17 00:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/09/13 12:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 a08652b0 .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/09/11 20:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 356d8217 .config console log report info [disk image] [vmlinux] WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/09/09 02:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 25050c56fa3c f3027468 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-upstream-gce-arm64 2022/09/08 05:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 25050c56fa3c 435aeef7 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-riscv64 2021/03/14 13:00 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab9ef9 4a003785 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-riscv64 2021/03/13 11:01 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab9ef9 4a003785 .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-qemu2-riscv64 2021/03/11 03:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab9ef9 c2ca1f2a .config console log report info WARNING: ODEBUG bug in netdev_freemem
ci-upstream-kasan-gce-selinux-root 2020/03/01 22:21 upstream 63623fd44972 c88c7b75 .config console log report
ci-upstream-kasan-gce-root 2020/02/27 09:53 upstream f8788d86ab28 59b57593 .config console log report
ci-upstream-kasan-gce-smack-root 2020/02/21 16:14 upstream ca7e1fd1026c bd2a74a3 .config console log report
ci-upstream-kasan-gce 2020/02/04 03:07 upstream 754beeec1d90 93e5e335 .config console log report
ci-qemu-upstream 2020/01/16 03:20 upstream 51d69817519f f9b69507 .config console log report
ci-upstream-kasan-gce-smack-root 2019/06/15 03:50 upstream fd6b99fa41dd 442206d7 .config console log report
ci-upstream-kasan-gce-386 2020/01/23 09:12 upstream dbab40bdb42c 3334d684 .config console log report
ci-upstream-net-this-kasan-gce 2020/03/01 14:07 net 3614d05b5e6b c88c7b75 .config console log report
ci-upstream-bpf-kasan-gce 2020/02/18 12:06 bpf e20d3a055a45 1ce142dc .config console log report
ci-upstream-bpf-kasan-gce 2019/06/14 23:33 bpf 86723c864063 442206d7 .config console log report
ci-upstream-bpf-next-kasan-gce 2020/03/03 23:17 bpf-next 80a836c2506b c88c7b75 .config console log report
ci-upstream-bpf-next-kasan-gce 2020/03/03 13:21 bpf-next 80a836c2506b c88c7b75 .config console log report
ci-upstream-net-kasan-gce 2020/02/28 15:57 net-next c3e042f54107 59b57593 .config console log report
ci-upstream-linux-next-kasan-gce-root 2020/03/04 16:31 linux-next c99b17ac0399 c88c7b75 .config console log report
* Struck through repros no longer work on HEAD.