WARNING: ODEBUG bug in hid_device_remove

Status: upstream: reported syz repro on 2026/08/15 08:41
Subsystems: input usb
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+f8fb5598924c7e645553@syzkaller.appspotmail.com
First crash: 6d22h, last: 13h04m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
51c30beb assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING: ODEBUG bug in hid_device_remove 2026/08/12 03:27 2026/08/12 03:27 2026/08/12 04:13 f8d35649
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [input?] [usb?] WARNING: ODEBUG bug in hid_device_remove 2 (5) 2026/08/17 02:15
Last patch testing requests (2)
Created Duration User Patch Repo Result
2026/08/16 23:52 2h20m hdanton@sina.com patch linux-next error job log
2026/08/16 02:53 37m hdanton@sina.com patch linux-next report job log log

Sample crash report:
corsair 0003:1B1C:1B02.0001: input,hidraw0: USB HID v0.00 Joystick [HID 1b1c:1b02] on usb-dummy_hcd.0-1/input0
corsair 0003:1B1C:1B02.0001: Failed to get K90 initial state (error -71).
usb 1-1: USB disconnect, device number 2
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88807858eac8 object type: work_struct hint: k90_backlight_work+0x0/0x1c0 drivers/hid/hid-corsair.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object+0xec/0x230 lib/debugobjects.c:629, CPU#1: kworker/1:1/30
Modules linked in:
CPU: 1 UID: 0 PID: 30 Comm: kworker/1:1 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:debug_print_object+0x18a/0x230 lib/debugobjects.c:629
Code: f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 0d 1e 50 fd 4d 8b 0f 4c 89 ef 48 8b 74 24 08 48 89 ea 44 89 e1 4d 89 f0 ff 34 24 <67> 48 0f b9 3a 48 83 c4 08 ff 05 f3 7c 93 0b 48 83 c4 10 5b 41 5c
RSP: 0018:ffffc90000a57008 EFLAGS: 00010246
RAX: 1ffffffff1816f34 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffffffff8c6cbd40 RSI: ffffffff8c6cb7c0 RDI: ffffffff908483b0
RBP: ffffffff8c6cbd40 R08: ffff88807858eac8 R09: ffffffff8c0b8bc0
R10: dffffc0000000000 R11: ffffffff818f55b0 R12: 0000000000000000
R13: ffffffff908483b0 R14: ffff88807858eac8 R15: ffffffff8c0b79a0
FS:  0000000000000000(0000) GS:ffff888124df8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055739b0c5200 CR3: 000000007dcda000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:1171 [inline]
 debug_check_no_obj_freed+0x2e3/0x450 lib/debugobjects.c:1201
 slab_free_hook mm/slub.c:2679 [inline]
 slab_free mm/slub.c:6499 [inline]
 kfree+0x13e/0x650 mm/slub.c:6792
 hid_device_remove+0xc5/0x1c0 drivers/hid/hid-core.c:2901
 device_remove drivers/base/dd.c:616 [inline]
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372
 bus_remove_device+0x444/0x560 drivers/base/bus.c:664
 device_del+0x524/0x8f0 drivers/base/core.c:3965
 hid_remove_device drivers/hid/hid-core.c:3130 [inline]
 hid_destroy_device+0x6b/0x1b0 drivers/hid/hid-core.c:3152
 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1479
 usb_unbind_interface+0x295/0x9f0 drivers/usb/core/driver.c:461
 device_remove drivers/base/dd.c:618 [inline]
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x4f5/0x880 drivers/base/dd.c:1372
 bus_remove_device+0x444/0x560 drivers/base/bus.c:664
 device_del+0x524/0x8f0 drivers/base/core.c:3965
 usb_disable_device+0x3d4/0x8d0 drivers/usb/core/message.c:1478
 usb_disconnect+0x346/0x9a0 drivers/usb/core/hub.c:2350
 hub_port_connect drivers/usb/core/hub.c:5420 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5720 [inline]
 port_event drivers/usb/core/hub.c:5884 [inline]
 hub_event+0x1bbb/0x4d30 drivers/usb/core/hub.c:5966
 process_one_work kernel/workqueue.c:3387 [inline]
 process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3551
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	f8                   	clc
   1:	48 c1 e8 03          	shr    $0x3,%rax
   5:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
   9:	74 08                	je     0x13
   b:	4c 89 ff             	mov    %r15,%rdi
   e:	e8 0d 1e 50 fd       	call   0xfd501e20
  13:	4d 8b 0f             	mov    (%r15),%r9
  16:	4c 89 ef             	mov    %r13,%rdi
  19:	48 8b 74 24 08       	mov    0x8(%rsp),%rsi
  1e:	48 89 ea             	mov    %rbp,%rdx
  21:	44 89 e1             	mov    %r12d,%ecx
  24:	4d 89 f0             	mov    %r14,%r8
  27:	ff 34 24             	push   (%rsp)
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	ff 05 f3 7c 93 0b    	incl   0xb937cf3(%rip)        # 0xb937d2c
  39:	48 83 c4 10          	add    $0x10,%rsp
  3d:	5b                   	pop    %rbx
  3e:	41 5c                	pop    %r12

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/16 09:50 linux-next 4477a78374a5 746171ee .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 10:52 linux-next 28d012efb432 67796a05 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 09:23 linux-next 28d012efb432 67796a05 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 08:24 linux-next 28d012efb432 67796a05 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/11 10:19 linux-next 3d08ff75a47a 039457bd .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/17 17:37 linux-next 4477a78374a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING: ODEBUG bug in hid_device_remove
2026/08/13 20:57 linux-next 2697ef8943c9 a9ede23c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 07:11 linux-next 28d012efb432 67796a05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 07:10 linux-next 28d012efb432 67796a05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 07:10 linux-next 28d012efb432 67796a05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/13 07:02 linux-next 28d012efb432 67796a05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/11 08:37 linux-next 3d08ff75a47a 039457bd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
2026/08/11 08:36 linux-next 3d08ff75a47a 039457bd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in hid_device_remove
* Struck through repros no longer work on HEAD.