syzbot


WARNING: ODEBUG bug in release_nodes (2)

Status: moderation: reported on 2025/05/28 18:35
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+3f8c4035706bc4ab658f@syzkaller.appspotmail.com
First crash: 5d15h, last: 5d15h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in release_nodes input usb C 667 83d 124d 0/28 auto-obsoleted due to no activity on 2025/05/16 19:02

Sample crash report:
usb 2-1: USB disconnect, device number 31
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff888132d5b0f8 object type: work_struct hint: btusb_rx_work+0x0/0xc0 drivers/bluetooth/btusb.c:2841
WARNING: CPU: 0 PID: 5222 at lib/debugobjects.c:612 debug_print_object+0x1a2/0x2b0 lib/debugobjects.c:612
Modules linked in:
CPU: 0 UID: 0 PID: 5222 Comm: kworker/0:3 Not tainted 6.15.0-rc6-syzkaller-00177-g882826f58b2c #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 c0 62 68 87 4c 89 e6 48 c7 c7 40 57 68 87 e8 7f 65 bc fe 90 <0f> 0b 90 90 58 83 05 d6 54 f5 07 01 48 83 c4 18 5b 5d 41 5c 41 5d
RSP: 0018:ffffc9000ed474b8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffc9000ee29000
RDX: 0000000000100000 RSI: ffffffff813feaa5 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff87685de0
R13: ffffffff87474500 R14: ffffffff85848a40 R15: ffffc9000ed475b8
FS:  0000000000000000(0000) GS:ffff8882691c2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f31149c7bac CR3: 0000000119950000 CR4: 00000000003506f0
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+0x4b7/0x600 lib/debugobjects.c:1129
 slab_free_hook mm/slub.c:2311 [inline]
 slab_free mm/slub.c:4642 [inline]
 kfree+0x2d3/0x470 mm/slub.c:4841
 release_nodes+0x11e/0x240 drivers/base/devres.c:506
 devres_release_all+0x112/0x180 drivers/base/devres.c:535
 device_unbind_cleanup+0x19/0x1b0 drivers/base/dd.c:549
 __device_release_driver drivers/base/dd.c:1277 [inline]
 device_release_driver_internal+0x4c3/0x620 drivers/base/dd.c:1295
 bus_remove_device+0x22f/0x420 drivers/base/bus.c:579
 device_del+0x396/0x9f0 drivers/base/core.c:3881
 usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418
 usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2316
 hub_port_connect drivers/usb/core/hub.c:5375 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
 port_event drivers/usb/core/hub.c:5835 [inline]
 hub_event+0x1aa0/0x5030 drivers/usb/core/hub.c:5917
 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3319 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
 kthread+0x3c2/0x780 kernel/kthread.c:464
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/24 18:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 882826f58b2c ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING: ODEBUG bug in release_nodes
* Struck through repros no longer work on HEAD.