hid-u2fzero 0003:10C4:8ACF.000F: unknown main item tag 0x0 hid-u2fzero 0003:10C4:8ACF.000F: unknown main item tag 0x0 hid-u2fzero 0003:10C4:8ACF.000F: hidraw0: USB HID v0.00 Device [HID 10c4:8acf] on usb-dummy_hcd.3-1/input0 hid-u2fzero 0003:10C4:8ACF.000F: U2F Zero LED initialised general protection fault, probably for non-canonical address 0xdffffc0000000015: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000a8-0x00000000000000af] CPU: 0 PID: 5449 Comm: kworker/0:12 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:u2fzero_recv drivers/hid/hid-u2fzero.c:116 [inline] RIP: 0010:u2fzero_rng_read+0x21a/0x700 drivers/hid/hid-u2fzero.c:202 Code: df 41 80 7c 05 00 00 74 08 4c 89 f7 e8 8f 72 fa f9 bb a8 00 00 00 49 03 1e 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 e8 72 fa f9 48 8d 54 24 60 48 89 13 RSP: 0018:ffffc90003186760 EFLAGS: 00010202 RAX: 0000000000000015 RBX: 00000000000000a8 RCX: dffffc0000000000 RDX: 000000000000003b RSI: 0000000000000000 RDI: ffff88806468fe69 RBP: ffffc900031868f0 R08: dffffc0000000000 R09: ffff88806468fe2e R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888079ba3388 R13: 1ffff1100f374606 R14: ffff888079ba3030 R15: 1ffff1100f374605 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcd01503000 CR3: 00000000237e1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rng_get_data drivers/char/hw_random/core.c:196 [inline] add_early_randomness+0x78/0x140 drivers/char/hw_random/core.c:74 hwrng_register+0x430/0x4c0 drivers/char/hw_random/core.c:526 devm_hwrng_register+0x43/0xb0 drivers/char/hw_random/core.c:597 u2fzero_probe+0x266/0x2e0 drivers/hid/hid-u2fzero.c:336 hid_device_probe+0x2a6/0x3a0 drivers/hid/hid-core.c:2307 really_probe+0x24e/0xb60 drivers/base/dd.c:595 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755 driver_probe_device+0x50/0x420 drivers/base/dd.c:785 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427 __device_attach+0x359/0x570 drivers/base/dd.c:979 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487 device_add+0xb48/0xfd0 drivers/base/core.c:3412 hid_add_device+0x3a5/0x510 drivers/hid/hid-core.c:2459 usbhid_probe+0xb32/0xec0 drivers/hid/usbhid/hid-core.c:1424 usb_probe_interface+0x5c0/0xaf0 drivers/usb/core/driver.c:396 really_probe+0x24e/0xb60 drivers/base/dd.c:595 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755 driver_probe_device+0x50/0x420 drivers/base/dd.c:785 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427 __device_attach+0x359/0x570 drivers/base/dd.c:979 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487 device_add+0xb48/0xfd0 drivers/base/core.c:3412 usb_set_configuration+0x19dd/0x2020 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x84/0x140 drivers/usb/core/generic.c:238 usb_probe_device+0x130/0x260 drivers/usb/core/driver.c:293 really_probe+0x24e/0xb60 drivers/base/dd.c:595 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755 driver_probe_device+0x50/0x420 drivers/base/dd.c:785 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427 __device_attach+0x359/0x570 drivers/base/dd.c:979 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487 device_add+0xb48/0xfd0 drivers/base/core.c:3412 usb_new_device+0xc17/0x18e0 drivers/usb/core/hub.c:2593 hub_port_connect drivers/usb/core/hub.c:5455 [inline] hub_port_connect_change drivers/usb/core/hub.c:5595 [inline] port_event drivers/usb/core/hub.c:5741 [inline] hub_event+0x2cdf/0x54c0 drivers/usb/core/hub.c:5823 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: ---[ end trace c53c64032472fd05 ]--- RIP: 0010:u2fzero_recv drivers/hid/hid-u2fzero.c:116 [inline] RIP: 0010:u2fzero_rng_read+0x21a/0x700 drivers/hid/hid-u2fzero.c:202 Code: df 41 80 7c 05 00 00 74 08 4c 89 f7 e8 8f 72 fa f9 bb a8 00 00 00 49 03 1e 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 e8 72 fa f9 48 8d 54 24 60 48 89 13 RSP: 0018:ffffc90003186760 EFLAGS: 00010202 RAX: 0000000000000015 RBX: 00000000000000a8 RCX: dffffc0000000000 RDX: 000000000000003b RSI: 0000000000000000 RDI: ffff88806468fe69 RBP: ffffc900031868f0 R08: dffffc0000000000 R09: ffff88806468fe2e R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888079ba3388 R13: 1ffff1100f374606 R14: ffff888079ba3030 R15: 1ffff1100f374605 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1aea981d58 CR3: 000000007461b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: df 41 80 filds -0x80(%rcx) 3: 7c 05 jl 0xa 5: 00 00 add %al,(%rax) 7: 74 08 je 0x11 9: 4c 89 f7 mov %r14,%rdi c: e8 8f 72 fa f9 call 0xf9fa72a0 11: bb a8 00 00 00 mov $0xa8,%ebx 16: 49 03 1e add (%r14),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 e8 72 fa f9 call 0xf9fa7320 38: 48 8d 54 24 60 lea 0x60(%rsp),%rdx 3d: 48 89 13 mov %rdx,(%rbx)