------------[ cut here ]------------ UBSAN: shift-out-of-bounds in drivers/hid/hid-core.c:1354:16 shift exponent 4294967295 is too large for 32-bit type '__s32' (aka 'int') CPU: 1 UID: 0 PID: 383 Comm: syz.2.17 Not tainted syzkaller #0 0b5ffdee5fcd2f7749818d1ff954e9c21353764e Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120 dump_stack+0x19/0x20 lib/dump_stack.c:129 ubsan_epilogue+0xe/0x40 lib/ubsan.c:231 __ubsan_handle_shift_out_of_bounds+0x386/0x420 lib/ubsan.c:468 s32ton+0xed/0x150 drivers/hid/hid-core.c:1354 hid_output_field drivers/hid/hid-core.c:1832 [inline] hid_output_report+0x427/0x790 drivers/hid/hid-core.c:1864 __usbhid_submit_report drivers/hid/usbhid/hid-core.c:593 [inline] usbhid_submit_report+0x45b/0xa80 drivers/hid/usbhid/hid-core.c:638 usbhid_request+0x54/0x70 drivers/hid/usbhid/hid-core.c:-1 hid_hw_request+0x90/0xc0 drivers/hid/hid-core.c:2441 hiddev_ioctl+0xfa7/0x15f0 drivers/hid/usbhid/hiddev.c:726 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0x135/0x1b0 fs/ioctl.c:893 __x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:893 x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f315818f6c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffde3eb6788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f31583e5fa0 RCX: 00007f315818f6c9 RDX: 0000200000000100 RSI: 00000000400c4808 RDI: 0000000000000004 RBP: 00007f3158211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f31583e5fa0 R14: 00007f31583e5fa0 R15: 0000000000000003 ---[ end trace ]---