wacom 0003:056A:0084.0001: unknown main item tag 0x0 wacom 0003:056A:0084.0001: unknown main item tag 0x0 wacom 0003:056A:0084.0001: unknown main item tag 0x0 ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 shift exponent 64 is too large for 64-bit type 'unsigned long' CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_shift_out_of_bounds+0x3c8/0x420 lib/ubsan.c:492 __roundup_pow_of_two include/linux/log2.h:57 [inline] __kfifo_alloc+0x20d/0x220 lib/kfifo.c:32 wacom_devm_kfifo_alloc drivers/hid/wacom_sys.c:1308 [inline] wacom_parse_and_register+0x2ba/0x6740 drivers/hid/wacom_sys.c:2368 wacom_probe+0x84b/0xa60 drivers/hid/wacom_sys.c:2867 __hid_device_probe drivers/hid/hid-core.c:2717 [inline] hid_device_probe+0x3c1/0x710 drivers/hid/hid-core.c:2754 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2bb/0xad0 drivers/base/dd.c:658 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800 driver_probe_device+0x50/0x430 drivers/base/dd.c:830 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958 bus_for_each_drv+0x25a/0x2e0 drivers/base/bus.c:462 __device_attach+0x341/0x530 drivers/base/dd.c:1030 bus_probe_device+0x189/0x260 drivers/base/bus.c:537 device_add+0x856/0xbf0 drivers/base/core.c:3666 hid_add_device+0x3b6/0x520 drivers/hid/hid-core.c:2900 usbhid_probe+0xd96/0x1280 drivers/hid/usbhid/hid-core.c:1432 usb_probe_interface+0x652/0xbc0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2bb/0xad0 drivers/base/dd.c:658 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800 driver_probe_device+0x50/0x430 drivers/base/dd.c:830 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958 bus_for_each_drv+0x25a/0x2e0 drivers/base/bus.c:462 __device_attach+0x341/0x530 drivers/base/dd.c:1030 bus_probe_device+0x189/0x260 drivers/base/bus.c:537 device_add+0x856/0xbf0 drivers/base/core.c:3666 usb_set_configuration+0x1999/0x1fe0 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x88/0x140 drivers/usb/core/generic.c:250 usb_probe_device+0x1ba/0x380 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2bb/0xad0 drivers/base/dd.c:658 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800 driver_probe_device+0x50/0x430 drivers/base/dd.c:830 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958 bus_for_each_drv+0x25a/0x2e0 drivers/base/bus.c:462 __device_attach+0x341/0x530 drivers/base/dd.c:1030 bus_probe_device+0x189/0x260 drivers/base/bus.c:537 device_add+0x856/0xbf0 drivers/base/core.c:3666 usb_new_device+0x1052/0x19a0 drivers/usb/core/hub.c:2663 hub_port_connect drivers/usb/core/hub.c:5533 [inline] hub_port_connect_change drivers/usb/core/hub.c:5673 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x2bfd/0x50f0 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac5/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b9/0x940 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---[ end trace ]---