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