================================================================================ UBSAN: shift-out-of-bounds in drivers/hid/hid-core.c:1315:20 shift exponent 4294967295 is too large for 32-bit type 'int' CPU: 1 PID: 4883 Comm: systemd-udevd Not tainted 5.11.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:148 [inline] __ubsan_handle_shift_out_of_bounds+0x432/0x4d0 lib/ubsan.c:395 snto32 drivers/hid/hid-core.c:1315 [inline] hid_input_field drivers/hid/hid-core.c:1548 [inline] hid_report_raw_event+0xa9d/0x1480 drivers/hid/hid-core.c:1783 hid_input_report+0x3f6/0x4d0 drivers/hid/hid-core.c:1850 hid_irq_in+0x48d/0x690 drivers/hid/usbhid/hid-core.c:284 __usb_hcd_giveback_urb+0x375/0x520 drivers/usb/core/hcd.c:1656 dummy_timer+0xa22/0x2e70 drivers/usb/gadget/udc/dummy_hcd.c:1971 call_timer_fn+0x91/0x160 kernel/time/timer.c:1417 expire_timers kernel/time/timer.c:1462 [inline] __run_timers+0x6c0/0x8a0 kernel/time/timer.c:1731 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1744 __do_softirq+0x318/0x714 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x9a/0xe0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu+0x1d8/0x200 kernel/softirq.c:420 irq_exit_rcu+0x5/0x20 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0xe0/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:629 RIP: 0010:lookup_fast+0x45/0x6f0 fs/namei.c:1457 Code: 8b 04 25 28 00 00 00 48 89 44 24 28 48 bb 00 00 00 00 00 fc ff df e8 3a a5 ae ff 49 8d 7d 08 48 89 f8 48 c1 e8 03 80 3c 18 00 <74> 05 e8 64 17 f2 ff 4d 8b 7d 08 4d 8d 65 38 4c 89 e1 48 c1 e9 03 RSP: 0018:ffffc9000112fb70 EFLAGS: 00000246 RAX: 1ffff92000225fb0 RBX: dffffc0000000000 RCX: ffff8880192e9bc0 RDX: 0000000000000000 RSI: ffffc9000112fc00 RDI: ffffc9000112fd80 RBP: 0000000000000000 R08: ffffffff81c91b45 R09: ffffffff81c8d408 R10: 0000000000000002 R11: ffff8880192e9bc0 R12: ffffc9000112fc00 R13: ffffc9000112fd78 R14: ffffc9000112fc00 R15: ffffc9000112fdc0 walk_component+0x72/0x6b0 fs/namei.c:1857 link_path_walk+0x5e7/0xc10 fs/namei.c:2182 path_lookupat+0xab/0x970 fs/namei.c:2335 filename_lookup+0x1b0/0x5e0 fs/namei.c:2369 do_readlinkat+0xb7/0x330 fs/stat.c:407 __do_sys_readlinkat fs/stat.c:434 [inline] __se_sys_readlinkat fs/stat.c:431 [inline] __x64_sys_readlinkat+0x96/0xb0 fs/stat.c:431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f2bae0d40ba Code: 48 8b 0d e1 bd 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 0b 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ae bd 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffeb351c478 EFLAGS: 00000202 ORIG_RAX: 000000000000010b RAX: ffffffffffffffda RBX: 000055c6db92dfd0 RCX: 00007f2bae0d40ba RDX: 000055c6db92dfd0 RSI: 000055c6db91ae80 RDI: 00000000ffffff9c RBP: 0000000000000064 R08: 000055c6d9e3c670 R09: 0000000000000070 R10: 0000000000000063 R11: 0000000000000202 R12: 000055c6db91ae80 R13: 00000000ffffff9c R14: 00007ffeb351c4d0 R15: 0000000000000063 ================================================================================