================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 6691 is out of range for type 'const int[34]' CPU: 0 PID: 4362 Comm: kworker/0:3 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Workqueue: usb_hub_wq hub_event Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282 aiptek_irq+0x19a0/0x2360 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x2ec/0x50c drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x100/0x3a4 drivers/usb/core/hcd.c:1756 dummy_timer+0x7c8/0x2840 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x444/0xc58 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x164/0x408 kernel/time/hrtimer.c:1832 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x58/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up+0x118/0x180 kernel/sched/wait.c:160 netlink_unlock_table net/netlink/af_netlink.c:461 [inline] netlink_broadcast+0xf78/0x1054 net/netlink/af_netlink.c:1528 uevent_net_broadcast_untagged lib/kobject_uevent.c:331 [inline] kobject_uevent_net_broadcast+0x32c/0x528 lib/kobject_uevent.c:409 kobject_uevent_env+0x550/0x88c lib/kobject_uevent.c:608 kobject_uevent+0x2c/0x3c lib/kobject_uevent.c:657 device_add+0x860/0xe4c drivers/base/core.c:3678 cdev_device_add+0x164/0x2f8 fs/char_dev.c:549 mousedev_create+0x494/0x5e0 drivers/input/mousedev.c:907 mousedev_connect+0x38/0x354 drivers/input/mousedev.c:981 input_attach_handler drivers/input/input.c:1060 [inline] input_register_device+0xae0/0xf80 drivers/input/input.c:2470 aiptek_probe+0xf94/0x1558 drivers/input/tablet/aiptek.c:1845 usb_probe_interface+0x50c/0x988 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:639 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:805 driver_probe_device+0x78/0x324 drivers/base/dd.c:835 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:963 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1035 device_initial_probe+0x24/0x34 drivers/base/dd.c:1084 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_set_configuration+0x15ec/0x1b88 drivers/usb/core/message.c:2223 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x258 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:639 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:805 driver_probe_device+0x78/0x324 drivers/base/dd.c:835 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:963 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1035 device_initial_probe+0x24/0x34 drivers/base/dd.c:1084 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_new_device+0x7e4/0x11d0 drivers/usb/core/hub.c:2659 hub_port_connect drivers/usb/core/hub.c:5517 [inline] hub_port_connect_change drivers/usb/core/hub.c:5657 [inline] port_event drivers/usb/core/hub.c:5817 [inline] hub_event+0x2254/0x3e74 drivers/usb/core/hub.c:5899 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xafc/0xfe8 kernel/workqueue.c:2441 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 ================================================================================ ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x19bc/0x2360 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffff800013184fec by task kworker/0:3/4362 CPU: 0 PID: 4362 Comm: kworker/0:3 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Workqueue: usb_hub_wq hub_event Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load4_noabort+0x2c/0x38 mm/kasan/report_generic.c:350 aiptek_irq+0x19bc/0x2360 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x2ec/0x50c drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x100/0x3a4 drivers/usb/core/hcd.c:1756 dummy_timer+0x7c8/0x2840 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x444/0xc58 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x164/0x408 kernel/time/hrtimer.c:1832 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x58/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up+0x118/0x180 kernel/sched/wait.c:160 netlink_unlock_table net/netlink/af_netlink.c:461 [inline] netlink_broadcast+0xf78/0x1054 net/netlink/af_netlink.c:1528 uevent_net_broadcast_untagged lib/kobject_uevent.c:331 [inline] kobject_uevent_net_broadcast+0x32c/0x528 lib/kobject_uevent.c:409 kobject_uevent_env+0x550/0x88c lib/kobject_uevent.c:608 kobject_uevent+0x2c/0x3c lib/kobject_uevent.c:657 device_add+0x860/0xe4c drivers/base/core.c:3678 cdev_device_add+0x164/0x2f8 fs/char_dev.c:549 mousedev_create+0x494/0x5e0 drivers/input/mousedev.c:907 mousedev_connect+0x38/0x354 drivers/input/mousedev.c:981 input_attach_handler drivers/input/input.c:1060 [inline] input_register_device+0xae0/0xf80 drivers/input/input.c:2470 aiptek_probe+0xf94/0x1558 drivers/input/tablet/aiptek.c:1845 usb_probe_interface+0x50c/0x988 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:639 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:805 driver_probe_device+0x78/0x324 drivers/base/dd.c:835 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:963 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1035 device_initial_probe+0x24/0x34 drivers/base/dd.c:1084 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_set_configuration+0x15ec/0x1b88 drivers/usb/core/message.c:2223 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x258 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:639 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:805 driver_probe_device+0x78/0x324 drivers/base/dd.c:835 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:963 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1035 device_initial_probe+0x24/0x34 drivers/base/dd.c:1084 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_new_device+0x7e4/0x11d0 drivers/usb/core/hub.c:2659 hub_port_connect drivers/usb/core/hub.c:5517 [inline] hub_port_connect_change drivers/usb/core/hub.c:5657 [inline] port_event drivers/usb/core/hub.c:5817 [inline] hub_event+0x2254/0x3e74 drivers/usb/core/hub.c:5899 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xafc/0xfe8 kernel/workqueue.c:2441 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 The buggy address belongs to the variable: edt_ft5506_data+0xc/0x20 The buggy address belongs to a 0-page vmalloc region starting at 0xffff800011c90000 allocated at map_kernel+0x110/0x360 arch/arm64/mm/mmu.c:786 The buggy address belongs to the physical page: page:0000000062a5d10b refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x20bf84 flags: 0x5ffc00000001000(reserved|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000001000 fffffc00072fe108 fffffc00072fe108 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff800013184e80: 00 01 f9 f9 f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 ffff800013184f00: f9 f9 f9 f9 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 >ffff800013184f80: 00 00 00 f9 f9 f9 f9 f9 04 f9 f9 f9 04 f9 f9 f9 ^ ffff800013185000: 04 f9 f9 f9 00 00 00 06 f9 f9 f9 f9 00 00 07 f9 ffff800013185080: f9 f9 f9 f9 00 00 00 01 f9 f9 f9 f9 00 00 00 f9 ================================================================== ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 6692 is out of range for type 'const int[34]' CPU: 0 PID: 4362 Comm: kworker/0:3 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Workqueue: usb_hub_wq hub_event Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282 aiptek_irq+0x186c/0x2360 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x2ec/0x50c drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x100/0x3a4 drivers/usb/core/hcd.c:1756 dummy_timer+0x7c8/0x2840 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x444/0xc58 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x164/0x408 kernel/time/hrtimer.c:1832 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x58/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up+0x118/0x180 kernel/sched/wait.c:160 netlink_unlock_table net/netlink/af_netlink.c:461 [inline] netlink_broadcast+0xf78/0x1054 net/netlink/af_netlink.c:1528 uevent_net_broadcast_untagged lib/kobject_uevent.c:331 [inline] kobject_uevent_net_broadcast+0x32c/0x528 lib/kobject_uevent.c:409 kobject_uevent_env+0x550/0x88c lib/kobject_uevent.c:608 kobject_uevent+0x2c/0x3c lib/kobject_uevent.c:657 device_add+0x860/0xe4c drivers/base/core.c:3678 cdev_device_add+0x164/0x2f8 fs/char_dev.c:549 mousedev_create+0x494/0x5e0 drivers/input/mousedev.c:907 mousedev_connect+0x38/0x354 drivers/input/mousedev.c:981 input_attach_handler drivers/input/input.c:1060 [inline] input_register_device+0xae0/0xf80 drivers/input/input.c:2470 aiptek_probe+0xf94/0x1558 drivers/input/tablet/aiptek.c:1845 usb_probe_interface+0x50c/0x988 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:639 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:805 driver_probe_device+0x78/0x324 drivers/base/dd.c:835 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:963 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1035 device_initial_probe+0x24/0x34 drivers/base/dd.c:1084 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_set_configuration+0x15ec/0x1b88 drivers/usb/core/message.c:2223 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x258 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3a0/0xac4 drivers/base/dd.c:639 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:805 driver_probe_device+0x78/0x324 drivers/base/dd.c:835 __device_attach_driver+0x28c/0x4c0 drivers/base/dd.c:963 bus_for_each_drv+0x154/0x1e4 drivers/base/bus.c:429 __device_attach+0x2a4/0x3d8 drivers/base/dd.c:1035 device_initial_probe+0x24/0x34 drivers/base/dd.c:1084 bus_probe_device+0xbc/0x1c4 drivers/base/bus.c:489 device_add+0x93c/0xe4c drivers/base/core.c:3712 usb_new_device+0x7e4/0x11d0 drivers/usb/core/hub.c:2659 hub_port_connect drivers/usb/core/hub.c:5517 [inline] hub_port_connect_change drivers/usb/core/hub.c:5657 [inline] port_event drivers/usb/core/hub.c:5817 [inline] hub_event+0x2254/0x3e74 drivers/usb/core/hub.c:5899 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xafc/0xfe8 kernel/workqueue.c:2441 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 ================================================================================ aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19