================================================================================
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: 0 PID: 11309 Comm: kworker/0:6 Not tainted 5.10.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x107/0x163 lib/dump_stack.c:120
ubsan_epilogue+0xb/0x5a lib/ubsan.c:148
__ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:395
snto32.cold+0x37/0x3c drivers/hid/hid-core.c:1315
hid_input_field drivers/hid/hid-core.c:1548 [inline]
hid_report_raw_event+0x7a9/0x11b0 drivers/hid/hid-core.c:1783
hid_input_report+0x360/0x4c0 drivers/hid/hid-core.c:1850
hid_irq_in+0x50e/0x690 drivers/hid/usbhid/hid-core.c:284
__usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x38c/0x430 drivers/usb/core/hcd.c:1728
dummy_timer+0x11f4/0x32a0 drivers/usb/gadget/udc/dummy_hcd.c:1971
call_timer_fn+0x1a5/0x710 kernel/time/timer.c:1417
expire_timers kernel/time/timer.c:1462 [inline]
__run_timers.part.0+0x692/0xa80 kernel/time/timer.c:1731
__run_timers kernel/time/timer.c:1712 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744
__do_softirq+0x2bc/0xa77 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+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:226 [inline]
__irq_exit_rcu+0x17f/0x200 kernel/softirq.c:420
irq_exit_rcu+0x5/0x20 kernel/softirq.c:432
sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline]
RIP: 0010:slab_want_init_on_alloc mm/slab.h:600 [inline]
RIP: 0010:slab_alloc_node mm/slab.c:3254 [inline]
RIP: 0010:kmem_cache_alloc_node_trace+0x12c/0x430 mm/slab.c:3596
Code: 00 00 44 89 64 24 0c 8b 54 24 0c 89 de 48 89 ef e8 f9 e7 ff ff 48 89 44 24 28 48 83 7c 24 18 00 0f 85 d8 01 00 00 ff 34 24 9d 02 01 00 00 f6 c7 01 4c 8b 44 24 28 0f 85 16 01 00 00 23 1d af
RSP: 0018:ffffc90001c174e0 EFLAGS: 00000246
RAX: 0000000000ade0b3 RBX: 0000000000082cc0 RCX: ffffffff81574117
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888010840700 R08: 0000000000000001 R09: ffffffff8f5097bf
R10: fffffbfff1ea12f7 R11: 0000000000000001 R12: 00000000ffffffff
R13: 0000000000082cc0 R14: 0000000000000240 R15: 0000000000000000
__do_kmalloc_node mm/slab.c:3618 [inline]
__kmalloc_node_track_caller+0x38/0x60 mm/slab.c:3633
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0xae/0x5c0 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
alloc_uevent_skb+0x7b/0x210 lib/kobject_uevent.c:289
uevent_net_broadcast_untagged lib/kobject_uevent.c:325 [inline]
kobject_uevent_net_broadcast lib/kobject_uevent.c:408 [inline]
kobject_uevent_env+0xb0f/0x1680 lib/kobject_uevent.c:592
driver_bound+0x1cd/0x320 drivers/base/dd.c:391
really_probe+0x42b/0xe40 drivers/base/dd.c:608
driver_probe_device+0x285/0x3f0 drivers/base/dd.c:745
__device_attach_driver+0x216/0x2d0 drivers/base/dd.c:851
bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
__device_attach+0x228/0x4c0 drivers/base/dd.c:919
bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
device_add+0xbc4/0x1d90 drivers/base/core.c:3091
usb_new_device.cold+0x725/0x1057 drivers/usb/core/hub.c:2555
hub_port_connect drivers/usb/core/hub.c:5223 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5363 [inline]
port_event drivers/usb/core/hub.c:5509 [inline]
hub_event+0x2348/0x42d0 drivers/usb/core/hub.c:5591
process_one_work+0x98d/0x1630 kernel/workqueue.c:2275
worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
kthread+0x3b1/0x4a0 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
================================================================================