syzbot


WARNING: ODEBUG bug in usb_unbind_interface (2)

Status: upstream: reported on 2024/03/21 02:42
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+9665bf55b1c828bbcd8a@syzkaller.appspotmail.com
First crash: 249d, last: 14h39m
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net-next] usbnet: fix cyclical race on disconnect with work queue 7 (7) 2024/03/31 17:03
[syzbot] [usb?] WARNING: ODEBUG bug in usb_unbind_interface (2) 0 (1) 2024/03/21 02:42
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 495d 495d 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 779d 775d 0/28 auto-obsoleted due to no activity on 2023/01/31 14:08
linux-6.1 WARNING: ODEBUG bug in usb_unbind_interface (3) 1 6d18h 6d18h 0/3 upstream: reported on 2024/11/14 12:06
linux-6.1 WARNING: ODEBUG bug in usb_unbind_interface (2) 1 145d 145d 0/3 auto-obsoleted due to no activity on 2024/10/06 11:53
linux-5.15 WARNING: ODEBUG bug in usb_unbind_interface origin:lts-only syz inconclusive 2 78d 458d 0/3 upstream: reported syz repro on 2023/08/21 04:40

Sample crash report:
asix 4-1:0.0 eth9: register 'asix' at usb-dummy_hcd.3-1, ASIX AX88178 USB 2.0 Ethernet, aa:aa:aa:aa:aa:bb
usb 4-1: USB disconnect, device number 19
asix 4-1:0.0 eth9: unregister 'asix' usb-dummy_hcd.3-1, ASIX AX88178 USB 2.0 Ethernet
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88807dbc51a0 object type: work_struct hint: usbnet_deferred_kevent+0x0/0xc20 drivers/net/usb/usbnet.c:1604
WARNING: CPU: 0 PID: 5886 at lib/debugobjects.c:615 debug_print_object+0x17a/0x1f0 lib/debugobjects.c:612
Modules linked in:
CPU: 0 UID: 0 PID: 5886 Comm: kworker/0:3 Not tainted 6.12.0-syzkaller-01782-gbf9aa14fc523 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:debug_print_object+0x17a/0x1f0 lib/debugobjects.c:612
Code: e8 eb 1e 3f fd 4c 8b 0b 48 c7 c7 80 58 60 8c 48 8b 74 24 08 48 89 ea 44 89 e1 4d 89 f8 ff 34 24 e8 1b 2e 99 fc 48 83 c4 08 90 <0f> 0b 90 90 ff 05 f8 00 60 0b 48 83 c4 10 5b 41 5c 41 5d 41 5e 41
RSP: 0018:ffffc900040bf238 EFLAGS: 00010282
RAX: e04606b8fc55d200 RBX: ffffffff8c09f800 RCX: 0000000000100000
RDX: ffffc9001916f000 RSI: 00000000000139a7 RDI: 00000000000139a8
RBP: ffffffff8c605a00 R08: ffffffff8155e352 R09: fffffbfff1cfa88c
R10: dffffc0000000000 R11: fffffbfff1cfa88c R12: 0000000000000000
R13: ffffffff8c605918 R14: dffffc0000000000 R15: ffff88807dbc51a0
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557d3005c8 CR3: 000000000e738000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:1099 [inline]
 debug_check_no_obj_freed+0x45b/0x580 lib/debugobjects.c:1129
 slab_free_hook mm/slub.c:2273 [inline]
 slab_free mm/slub.c:4579 [inline]
 kfree+0x11f/0x440 mm/slub.c:4727
 device_release+0x99/0x1c0
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x22f/0x480 lib/kobject.c:737
 usb_unbind_interface+0x25e/0x940 drivers/usb/core/driver.c:461
 device_remove drivers/base/dd.c:569 [inline]
 __device_release_driver drivers/base/dd.c:1273 [inline]
 device_release_driver_internal+0x503/0x7c0 drivers/base/dd.c:1296
 bus_remove_device+0x34f/0x420 drivers/base/bus.c:576
 device_del+0x57a/0x9b0 drivers/base/core.c:3861
 usb_disable_device+0x3bf/0x850 drivers/usb/core/message.c:1418
 usb_disconnect+0x340/0x950 drivers/usb/core/hub.c:2304
 hub_port_connect drivers/usb/core/hub.c:5361 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
 port_event drivers/usb/core/hub.c:5821 [inline]
 hub_event+0x1ebc/0x5150 drivers/usb/core/hub.c:5903
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/20 15:59 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in usb_unbind_interface
2024/11/14 14:27 upstream 0a9b9d17f3a7 77f3eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: ODEBUG bug in usb_unbind_interface
2024/11/06 09:04 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in usb_unbind_interface
2024/09/06 19:46 upstream b831f83e40a2 ce70880a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: ODEBUG bug in usb_unbind_interface
2024/06/25 04:24 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in usb_unbind_interface
2024/06/25 04:21 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in usb_unbind_interface
2024/06/25 04:16 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in usb_unbind_interface
2024/06/04 01:01 upstream f06ce441457d 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in usb_unbind_interface
2024/05/19 20:04 upstream 61307b7be41a c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: ODEBUG bug in usb_unbind_interface
2024/05/09 20:21 upstream 45db3ab70092 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/05/09 20:21 upstream 45db3ab70092 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/04/04 02:40 upstream 480e035fc4c7 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/04/02 21:14 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/04/01 16:29 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/30 02:39 upstream 480e035fc4c7 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/29 12:48 upstream fe46a7dd189e c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: ODEBUG bug in usb_unbind_interface
2024/03/28 09:44 upstream 480e035fc4c7 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/24 18:56 upstream 480e035fc4c7 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/23 23:26 upstream 480e035fc4c7 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/19 17:29 upstream 480e035fc4c7 baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/18 12:55 upstream 480e035fc4c7 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/18 10:56 upstream 480e035fc4c7 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/18 01:31 upstream 480e035fc4c7 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/03/17 02:33 upstream 480e035fc4c7 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING: ODEBUG bug in usb_unbind_interface
2024/11/17 05:18 upstream 4a5df3796467 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING: ODEBUG bug in usb_unbind_interface
2024/11/15 19:33 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING: ODEBUG bug in usb_unbind_interface
2024/11/04 13:56 upstream 59b723cd2adb f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING: ODEBUG bug in usb_unbind_interface
2024/10/11 09:25 upstream 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING: ODEBUG bug in usb_unbind_interface
2024/08/11 23:34 upstream 7006fe2f7f78 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING: ODEBUG bug in usb_unbind_interface
2024/03/30 16:23 linux-next a6bd6c933339 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in usb_unbind_interface
* Struck through repros no longer work on HEAD.