syzbot


WARNING: ODEBUG bug in usb_unbind_interface

Status: upstream: reported syz repro on 2023/08/21 04:40
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+1b16731380e7c0300371@syzkaller.appspotmail.com
First crash: 475d, last: 96d
Bug presence (2)
Date Name Commit Repro Result
2023/08/21 linux-5.15.y (ToT) f6f7927ac664 C [report] WARNING: ODEBUG bug in usb_unbind_interface
2023/08/21 upstream (ToT) f7757129e3de C Didn't crash
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING: ODEBUG bug in usb_unbind_interface 1 512d 512d 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 797d 793d 0/28 auto-obsoleted due to no activity on 2023/01/31 14:08
upstream WARNING: ODEBUG bug in usb_unbind_interface (2) usb 34 5d23h 262d 0/28 upstream: reported on 2024/03/21 02:42
linux-6.1 WARNING: ODEBUG bug in usb_unbind_interface (3) 1 24d 24d 0/3 upstream: reported on 2024/11/14 12:06
linux-6.1 WARNING: ODEBUG bug in usb_unbind_interface (2) 1 163d 163d 0/3 auto-obsoleted due to no activity on 2024/10/06 11:53
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/07 21:51 25m retest repro linux-5.15.y OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/10/08 15:32 2h18m fix candidate upstream OK (0) job log

Sample crash report:
ODEBUG: free active (active state 0) object type: work_struct hint: usbnet_deferred_kevent+0x0/0xb20
WARNING: CPU: 0 PID: 3782 at lib/debugobjects.c:520 debug_print_object lib/debugobjects.c:517 [inline]
WARNING: CPU: 0 PID: 3782 at lib/debugobjects.c:520 __debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
WARNING: CPU: 0 PID: 3782 at lib/debugobjects.c:520 debug_check_no_obj_freed+0x38e/0x4e0 lib/debugobjects.c:1002
Modules linked in:
CPU: 0 PID: 3782 Comm: kworker/0:16 Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:debug_print_object lib/debugobjects.c:517 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
RIP: 0010:debug_check_no_obj_freed+0x38e/0x4e0 lib/debugobjects.c:1002
Code: ef e8 36 4b bc fd 4c 8b 45 00 48 c7 c7 e0 00 d9 8a 48 c7 c6 a0 fd d8 8a 48 c7 c2 40 02 d9 8a 8b 0c 24 49 89 d9 e8 f2 24 3e fd <0f> 0b ff 05 02 a7 db 09 48 83 c5 30 48 89 e8 48 c1 e8 03 48 b9 00
RSP: 0018:ffffc900035573e8 EFLAGS: 00010246
RAX: 1eab71c1b7d3f800 RBX: ffffffff86088970 RCX: 0000000000100000
RDX: ffffc9000ea40000 RSI: 0000000000040983 RDI: 0000000000040984
RBP: ffffffff8a8a5b00 R08: ffffffff816689dc R09: ffffed10172067a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888020b1d160
R13: ffffffff96a8a4b8 R14: ffff888020b1e000 R15: ffff888065158b48
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4a4f447270 CR3: 00000000644f0000 CR4: 00000000003506f0
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
 usb_unbind_interface+0x1cd/0x840 drivers/usb/core/driver.c:458
 __device_release_driver drivers/base/dd.c:1229 [inline]
 device_release_driver_internal+0x50e/0x7f0 drivers/base/dd.c:1262
 bus_remove_device+0x2e5/0x400 drivers/base/bus.c:529
 device_del+0x6e2/0xbd0 drivers/base/core.c:3603
 usb_disable_device+0x3b8/0x840 drivers/usb/core/message.c:1414
 usb_disconnect+0x33c/0x8c0 drivers/usb/core/hub.c:2248
 hub_port_connect drivers/usb/core/hub.c:5299 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5595 [inline]
 port_event drivers/usb/core/hub.c:5741 [inline]
 hub_event+0x1d58/0x54c0 drivers/usb/core/hub.c:5823
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/03 13:34 linux-5.15.y fa93fa65db6e 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: ODEBUG bug in usb_unbind_interface
2023/08/21 04:40 linux-5.15.y f6f7927ac664 d216d8a0 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: ODEBUG bug in usb_unbind_interface
* Struck through repros no longer work on HEAD.