[v6.1] WARNING: ODEBUG bug in netdev_run_todo

1 view
Skip to first unread message

syzbot

unread,
Mar 8, 2023, 6:05:44 AM3/8/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 42616e0f09fb Linux 6.1.15
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11583488c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=690b9ff41783cd73
dashboard link: https://syzkaller.appspot.com/bug?extid=7a799b3392c64d3d3f86
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7aca0b4cb788/disk-42616e0f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/458e15d5fc53/vmlinux-42616e0f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7d3a81dd294e/bzImage-42616e0f.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7a799b...@syzkaller.appspotmail.com

bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): Released all slaves
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: batadv_dat_purge+0x0/0x490
WARNING: CPU: 1 PID: 3924 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline]
WARNING: CPU: 1 PID: 3924 at lib/debugobjects.c:512 __debug_check_no_obj_freed lib/debugobjects.c:996 [inline]
WARNING: CPU: 1 PID: 3924 at lib/debugobjects.c:512 debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1027
Modules linked in:
CPU: 1 PID: 3924 Comm: kworker/u4:9 Not tainted 6.1.15-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 2f 67 a3 fd 48 8b 13 4c 8b 45 00 48 c7 c7 60 0d 3d 8b 48 c7 c6 20 0a 3d 8b 44 89 f1 4d 89 f9 e8 6f be 15 fd <0f> 0b 48 ba 00 00 00 00 00 fc ff df 4c 8b 74 24 38 ff 05 54 e5 15
RSP: 0018:ffffc9000525f7e8 EFLAGS: 00010246
RAX: 30a7fb325cc21000 RBX: ffffffff8b3d0dd8 RCX: ffff888026bf8000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8aedab80 R08: ffffffff816dec4c R09: fffff52000a4beb5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8aedab80
R13: ffff88807449d1a8 R14: 0000000000000000 R15: ffffffff8a506110
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d6e1f61950 CR3: 0000000027776000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
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:673 [inline]
kobject_release lib/kobject.c:704 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x224/0x460 lib/kobject.c:721
netdev_run_todo+0xe56/0xf40 net/core/dev.c:10370
default_device_exit_batch+0x5c1/0x630 net/core/dev.c:11334
ops_exit_list net/core/net_namespace.c:174 [inline]
cleanup_net+0x763/0xb60 net/core/net_namespace.c:601
process_one_work+0x8ee/0x1350 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>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 11, 2023, 9:46:49 PM3/11/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d214f240b0f6 Linux 5.15.100
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=176045f4c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=c5c5a36ceb954515
dashboard link: https://syzkaller.appspot.com/bug?extid=d6b8120a399a6c819b2a
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/bcf307a21c73/disk-d214f240.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/07487492673f/vmlinux-d214f240.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6b6bd075f4df/bzImage-d214f240.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d6b812...@syzkaller.appspotmail.com

bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): Released all slaves
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x80
WARNING: CPU: 1 PID: 444 at lib/debugobjects.c:515 debug_print_object lib/debugobjects.c:512 [inline]
WARNING: CPU: 1 PID: 444 at lib/debugobjects.c:515 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
WARNING: CPU: 1 PID: 444 at lib/debugobjects.c:515 debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1030
Modules linked in:
CPU: 1 PID: 444 Comm: kworker/u4:3 Not tainted 5.15.100-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:512 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
RIP: 0010:debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1030
Code: 74 08 48 89 ef e8 ef 2b b8 fd 48 8b 13 4c 8b 45 00 48 c7 c7 60 c2 d8 8a 48 c7 c6 20 bf d8 8a 44 89 f1 4d 89 f9 e8 ff 36 3a fd <0f> 0b 48 ba 00 00 00 00 00 fc ff df 4c 8b 74 24 38 ff 05 64 e3 d1
RSP: 0018:ffffc90002def758 EFLAGS: 00010246
RAX: aa3ba4167c958b00 RBX: ffffffff8ad8c2d8 RCX: ffff888019d58000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8a8c8040 R08: ffffffff8166a76c R09: ffffed10173667a0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a8c8040
R13: ffff88801fe0bfe0 R14: 0000000000000000 R15: ffffffff8152cac0
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e0b7cb1950 CR3: 000000000c68e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<TASK>
slab_free_hook mm/slub.c:1680 [inline]
slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kfree+0x115/0x2e0 mm/slub.c:4559
device_release+0x91/0x1c0
kobject_cleanup lib/kobject.c:713 [inline]
kobject_release lib/kobject.c:744 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x224/0x460 lib/kobject.c:761
netdev_run_todo+0xaaf/0xc40 net/core/dev.c:10633
default_device_exit_batch+0x395/0x3f0 net/core/dev.c:11595
ops_exit_list net/core/net_namespace.c:174 [inline]
cleanup_net+0x763/0xb60 net/core/net_namespace.c:596
process_one_work+0x90d/0x1270 kernel/workqueue.c:2306
worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 <unknown>:298

syzbot

unread,
Apr 1, 2023, 3:40:53 AM4/1/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3b29299e5f60 Linux 6.1.22
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1170ac95c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=4a782518325cb082
dashboard link: https://syzkaller.appspot.com/bug?extid=7a799b3392c64d3d3f86
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15d0ac7dc80000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/46ca0111f0f2/disk-3b29299e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e685b23e427f/vmlinux-3b29299e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/eb1a012e2c1f/bzImage-3b29299e.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7a799b...@syzkaller.appspotmail.com

------------[ 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

syzbot

unread,
May 2, 2023, 3:36:45 AM5/2/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 8a7f2a5c5aa1 Linux 5.15.110
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10af6808280000
kernel config: https://syzkaller.appspot.com/x/.config?x=ba8d5c9d6c5289f
dashboard link: https://syzkaller.appspot.com/bug?extid=d6b8120a399a6c819b2a
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=159cff64280000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/fc04f54c047f/disk-8a7f2a5c.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6b4ba4cb1191/vmlinux-8a7f2a5c.xz
kernel image: https://storage.googleapis.com/syzbot-assets/d927dc3f9670/bzImage-8a7f2a5c.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d6b812...@syzkaller.appspotmail.com

------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x80
WARNING: CPU: 1 PID: 3735 at lib/debugobjects.c:515 debug_print_object lib/debugobjects.c:512 [inline]
WARNING: CPU: 1 PID: 3735 at lib/debugobjects.c:515 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
WARNING: CPU: 1 PID: 3735 at lib/debugobjects.c:515 debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1030
Modules linked in:
CPU: 1 PID: 3735 Comm: syz-executor.0 Not tainted 5.15.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:debug_print_object lib/debugobjects.c:512 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
RIP: 0010:debug_check_no_obj_freed+0x451/0x610 lib/debugobjects.c:1030
Code: 74 08 48 89 ef e8 bf 6a be fd 48 8b 13 4c 8b 45 00 48 c7 c7 e0 61 d8 8a 48 c7 c6 a0 5e d8 8a 44 89 f1 4d 89 f9 e8 af ee 40 fd <0f> 0b 48 ba 00 00 00 00 00 fc ff df 4c 8b 74 24 38 ff 05 04 08 d9
RSP: 0018:ffffc9000366f098 EFLAGS: 00010246
RAX: 80529bdd857b0300 RBX: ffffffff8ad86258 RCX: ffff888024893a00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8a8c7b20 R08: ffffffff8166344c R09: ffffed10173667a0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a8c7b20
R13: ffff88801fe0b640 R14: 0000000000000000 R15: ffffffff815272d0
FS: 00007fbe6e7d2700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f329aa15718 CR3: 000000006e4c8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
slab_free_hook mm/slub.c:1680 [inline]
slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kfree+0xf1/0x270 mm/slub.c:4559
device_release+0x91/0x1c0
kobject_cleanup lib/kobject.c:713 [inline]
kobject_release lib/kobject.c:744 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x224/0x460 lib/kobject.c:761
netdev_run_todo+0xaaf/0xc40 net/core/dev.c:10633
rtnl_unlock net/core/rtnetlink.c:112 [inline]
rtnetlink_rcv_msg+0x99a/0xee0 net/core/rtnetlink.c:5588
netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2533
netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356
netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1952
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412
___sys_sendmsg+0x252/0x2e0 net/socket.c:2466
__sys_sendmsg net/socket.c:2495 [inline]
__do_sys_sendmsg net/socket.c:2504 [inline]
__se_sys_sendmsg+0x19a/0x260 net/socket.c:2502
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fbe6f4a2169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbe6e7d2168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbe6f5c2120 RCX: 00007fbe6f4a2169
RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000007
RBP: 00007fbe6f4fdca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc2c4e0c4f R14: 00007fbe6e7d2300 R15: 0000000000022000
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Aug 23, 2023, 5:02:48 AM8/23/23
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages