general protection fault in logi_dj_probe

Status: premoderation: reported C repro on 2026/11/08 11:48
Reported-by: syzbot+2994e427a5f1e8b4cf3e@syzkaller.appspotmail.com
First crash: 7h34m, last: 6h18m
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in logi_dj_probe 2 syz, C 4 6h48m 6h59m 0/2 upstream: reported C repro on 2026/11/08 12:22

Sample crash report:
usb 1-1: Manufacturer: syz
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:logi_dj_probe+0xb68/0xf20 drivers/hid/hid-logitech-dj.c:1803
Code: 16 62 fd 49 83 c6 40 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 86 d3 bb fd 4d 8b 36 49 83 c6 28 4c 89 f0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 ba 02 00 00 41 8b 0e 48 8b 7d d0 48 81 c7
RSP: 0018:ffffc900000a6b80 EFLAGS: 00010206
RAX: 0000000000000005 RBX: dffffc0000000000 RCX: ffff888102652780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900000a6bd8 R08: ffff888102652780 R09: 0000000000000007
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff867e8490 R14: 0000000000000028 R15: ffff888104bfc000
FS:  0000000000000000(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005592cbaf6db0 CR3: 0000000102f42000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 __hid_device_probe drivers/hid/hid-core.c:2760 [inline]
 hid_device_probe+0x2c8/0x690 drivers/hid/hid-core.c:2799
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2e1/0x8b0 drivers/base/dd.c:657
 __driver_probe_device+0x193/0x280 drivers/base/dd.c:799
 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
 bus_for_each_drv+0x264/0x300 drivers/base/bus.c:459
 __device_attach+0x2c4/0x3c0 drivers/base/dd.c:1029
 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
 bus_probe_device+0x18b/0x270 drivers/base/bus.c:541
 device_add+0x7fd/0xbf0 drivers/base/core.c:3692
 hid_add_device+0x3c4/0x5a0 drivers/hid/hid-core.c:2945
 usbhid_probe+0xdca/0x1310 drivers/hid/usbhid/hid-core.c:1451
 usb_probe_interface+0x6a8/0xbf0 drivers/usb/core/driver.c:400
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2e1/0x8b0 drivers/base/dd.c:657
 __driver_probe_device+0x193/0x280 drivers/base/dd.c:799
 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
 bus_for_each_drv+0x264/0x300 drivers/base/bus.c:459
 __device_attach+0x2c4/0x3c0 drivers/base/dd.c:1029
 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
 bus_probe_device+0x18b/0x270 drivers/base/bus.c:541
 device_add+0x7fd/0xbf0 drivers/base/core.c:3692
 usb_set_configuration+0x1aad/0x2080 drivers/usb/core/message.c:2268
 usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254
 usb_probe_device+0x1f2/0x3b0 drivers/usb/core/driver.c:295
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2e1/0x8b0 drivers/base/dd.c:657
 __driver_probe_device+0x193/0x280 drivers/base/dd.c:799
 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
 bus_for_each_drv+0x264/0x300 drivers/base/bus.c:459
 __device_attach+0x2c4/0x3c0 drivers/base/dd.c:1029
 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
 bus_probe_device+0x18b/0x270 drivers/base/bus.c:541
 device_add+0x7fd/0xbf0 drivers/base/core.c:3692
 usb_new_device+0x98d/0x1500 drivers/usb/core/hub.c:2703
 hub_port_connect drivers/usb/core/hub.c:5574 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5714 [inline]
 port_event drivers/usb/core/hub.c:5878 [inline]
 hub_event+0x2dbd/0x4360 drivers/usb/core/hub.c:5960
 process_one_work kernel/workqueue.c:3273 [inline]
 process_scheduled_works+0x7f7/0x1060 kernel/workqueue.c:3354
 worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
 kthread+0x2c7/0x360 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:logi_dj_probe+0xb68/0xf20 drivers/hid/hid-logitech-dj.c:1803
Code: 16 62 fd 49 83 c6 40 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 86 d3 bb fd 4d 8b 36 49 83 c6 28 4c 89 f0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 ba 02 00 00 41 8b 0e 48 8b 7d d0 48 81 c7
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	fd                   	std
   1:	49 83 c6 40          	add    $0x40,%r14
   5:	4c 89 f0             	mov    %r14,%rax
   8:	48 c1 e8 03          	shr    $0x3,%rax
   c:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  10:	74 08                	je     0x1a
  12:	4c 89 f7             	mov    %r14,%rdi
  15:	e8 86 d3 bb fd       	call   0xfdbbd3a0
  1a:	4d 8b 36             	mov    (%r14),%r14
  1d:	49 83 c6 28          	add    $0x28,%r14
  21:	4c 89 f0             	mov    %r14,%rax
  24:	48 c1 e8 03          	shr    $0x3,%rax
* 28:	0f b6 04 18          	movzbl (%rax,%rbx,1),%eax <-- trapping instruction
  2c:	84 c0                	test   %al,%al
  2e:	0f 85 ba 02 00 00    	jne    0x2ee
  34:	41 8b 0e             	mov    (%r14),%ecx
  37:	48 8b 7d d0          	mov    -0x30(%rbp),%rdi
  3b:	48                   	rex.W
  3c:	81                   	.byte 0x81
  3d:	c7                   	.byte 0xc7

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/08 13:03 android16-6.12 3962e99d7c73 5cecaf1f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in logi_dj_probe
2026/11/08 12:42 android16-6.12 3962e99d7c73 5cecaf1f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in logi_dj_probe
2026/11/08 12:20 android16-6.12 3962e99d7c73 5cecaf1f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in logi_dj_probe
2026/11/08 12:04 android16-6.12 3962e99d7c73 5cecaf1f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in logi_dj_probe
2026/11/08 11:47 android16-6.12 3962e99d7c73 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in logi_dj_probe
2026/11/08 11:47 android16-6.12 3962e99d7c73 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in logi_dj_probe
* Struck through repros no longer work on HEAD.