syzbot


WARNING: ODEBUG bug in usb_unbind_interface (2)

Status: upstream: reported on 2024/06/28 11:53
Reported-by: syzbot+aaf572956027f7553b71@syzkaller.appspotmail.com
First crash: 71d, last: 71d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING: ODEBUG bug in usb_unbind_interface 1 420d 420d 0/3 auto-obsoleted due to no activity on 2023/10/23 02:13
upstream WARNING: ODEBUG bug in usb_unbind_interface net usb 1 705d 701d 0/27 auto-obsoleted due to no activity on 2023/01/31 14:08
upstream WARNING: ODEBUG bug in usb_unbind_interface (2) usb 23 1d04h 170d 0/27 upstream: reported on 2024/03/21 02:42
linux-5.15 WARNING: ODEBUG bug in usb_unbind_interface origin:lts-only syz inconclusive 2 4d10h 383d 0/3 upstream: reported syz repro on 2023/08/21 04:40

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: work_struct hint: usbnet_deferred_kevent+0x0/0xb80
WARNING: CPU: 0 PID: 8337 at lib/debugobjects.c:517 debug_print_object lib/debugobjects.c:514 [inline]
WARNING: CPU: 0 PID: 8337 at lib/debugobjects.c:517 __debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
WARNING: CPU: 0 PID: 8337 at lib/debugobjects.c:517 debug_check_no_obj_freed+0x38e/0x4e0 lib/debugobjects.c:1008
Modules linked in:
CPU: 0 PID: 8337 Comm: kworker/0:4 Not tainted 6.1.96-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:debug_print_object lib/debugobjects.c:514 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
RIP: 0010:debug_check_no_obj_freed+0x38e/0x4e0 lib/debugobjects.c:1008
Code: ef e8 76 c7 a4 fd 4c 8b 45 00 48 c7 c7 c0 50 3d 8b 48 c7 c6 80 4d 3d 8b 48 c7 c2 20 52 3d 8b 8b 0c 24 49 89 d9 e8 52 43 15 fd <0f> 0b ff 05 72 69 36 0a 48 83 c5 30 48 89 e8 48 c1 e8 03 48 b9 00
RSP: 0000:ffffc900035bf418 EFLAGS: 00010246
RAX: 7736254d9b5ded00 RBX: ffffffff864dcd50 RCX: 0000000000040000
RDX: ffffc90012808000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffffff8aeb36c0 R08: ffffffff8152936e R09: fffffbfff2093852
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880156cd160
R13: ffffffff91f9a830 R14: ffff8880156ce000 R15: ffff88807dc1c0c8
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3142021c CR3: 000000000ce8e000 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
 usb_unbind_interface+0x1cd/0x840 drivers/usb/core/driver.c:458
 device_remove drivers/base/dd.c:550 [inline]
 __device_release_driver drivers/base/dd.c:1260 [inline]
 device_release_driver_internal+0x59e/0x880 drivers/base/dd.c:1286
 bus_remove_device+0x2e5/0x400 drivers/base/bus.c:529
 device_del+0x6e2/0xbd0 drivers/base/core.c:3877
 usb_disable_device+0x3b8/0x840 drivers/usb/core/message.c:1414
 usb_disconnect+0x33c/0x8c0 drivers/usb/core/hub.c:2275
 hub_port_connect drivers/usb/core/hub.c:5321 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5617 [inline]
 port_event drivers/usb/core/hub.c:5773 [inline]
 hub_event+0x1f78/0x5730 drivers/usb/core/hub.c:5855
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/28 11:52 linux-6.1.y 99e6a620de00 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: ODEBUG bug in usb_unbind_interface
* Struck through repros no longer work on HEAD.