syzbot


WARNING: ODEBUG bug in rtl_usb_disconnect

Status: moderation: reported on 2025/09/11 22:41
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+6b1b26685ad29a3f109f@syzkaller.appspotmail.com
First crash: 96d, last: 13d

Sample crash report:
usb 2-1: USB disconnect, device number 26
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88813ae83810 object type: timer_list hint: rtl_ips_nic_off_wq_callback+0x0/0x680 include/linux/etherdevice.h:384
WARNING: CPU: 0 PID: 6376 at lib/debugobjects.c:612 debug_print_object+0x1a2/0x2b0 lib/debugobjects.c:612
Modules linked in:

CPU: 0 UID: 0 PID: 6376 Comm: kworker/0:7 Not tainted syzkaller #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: usb_hub_wq hub_event

RIP: 0010:debug_print_object+0x1a2/0x2b0 lib/debugobjects.c:612
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 54 41 56 48 8b 14 dd a0 8a 89 87 4c 89 e6 48 c7 c7 20 7f 89 87 e8 af 1a b2 fe 90 <0f> 0b 90 90 58 83 05 e6 1f 12 08 01 48 83 c4 18 5b 5d 41 5c 41 5d
RSP: 0018:ffffc90013faf458 EFLAGS: 00010282

RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffc90010a19000
RDX: 0000000000100000 RSI: ffffffff8140f2c5 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff878985c0
R13: ffffffff876b48c0 R14: ffffffff8450e0f0 R15: ffffc90013faf558
FS:  0000000000000000(0000) GS:ffff888268ea0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056546a35a290 CR3: 0000000135ea0000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:1099 [inline]
 debug_check_no_obj_freed+0x4b7/0x600 lib/debugobjects.c:1129
 free_pages_prepare mm/page_alloc.c:1401 [inline]
 __free_pages_ok+0x376/0xe10 mm/page_alloc.c:1570
 device_release+0xa4/0x240 drivers/base/core.c:2565
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1e7/0x5a0 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3797
 rtl_usb_disconnect+0x2b3/0x3a0 drivers/net/wireless/realtek/rtlwifi/usb.c:1077
 usb_unbind_interface+0x1dd/0x9e0 drivers/usb/core/driver.c:458
 device_remove drivers/base/dd.c:571 [inline]
 device_remove+0x125/0x170 drivers/base/dd.c:563
 __device_release_driver drivers/base/dd.c:1274 [inline]
 device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1297
 bus_remove_device+0x22f/0x420 drivers/base/bus.c:579
 device_del+0x396/0x9f0 drivers/base/core.c:3878
 usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418
 usb_disconnect+0x2e1/0x9c0 drivers/usb/core/hub.c:2345
 hub_port_connect drivers/usb/core/hub.c:5407 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
 port_event drivers/usb/core/hub.c:5871 [inline]
 hub_event+0x1aa2/0x5060 drivers/usb/core/hub.c:5953
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/29 21:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2585973c7f9e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in rtl_usb_disconnect
2025/09/07 22:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6f9871b3e8c3 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in rtl_usb_disconnect
* Struck through repros no longer work on HEAD.