================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 44241 is out of range for type 'const int[34]' CPU: 1 PID: 43 Comm: kworker/u4:2 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Workqueue: events_unbound toggle_allocation_gate Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x24 lib/dump_stack.c:113 ubsan_epilogue+0xe/0x40 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x2045/0x29b0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770 handle_softirqs+0x1dd/0x5f0 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x854/0x940 kernel/smp.c:998 Code: 41 8b 1f 89 de 83 e6 01 31 ff e8 37 72 09 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 0a e8 03 6e 09 00 e9 38 ff ff ff f3 90 <41> 0f b6 44 1d 00 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 1a ff ff RSP: 0018:ffffc900002cf840 EFLAGS: 00000293 RAX: ffffffff81680440 RBX: dffffc0000000000 RCX: ffff888109583cc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900002cf978 R08: ffffc900002cf7c7 R09: 1ffff92000059ef8 R10: 0000000000000000 R11: fffff52000059ef9 R12: 1ffff1103ede7248 R13: 1ffff1103edc7af1 R14: 0000000000000000 R15: ffff8881f6e3d788 on_each_cpu_cond_mask+0x43/0x80 kernel/smp.c:1165 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1574 [inline] text_poke_bp_batch+0x1cf/0x600 arch/x86/kernel/alternative.c:1774 text_poke_flush arch/x86/kernel/alternative.c:1965 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1972 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x38f/0x3b0 kernel/jump_label.c:451 jump_label_update+0x39b/0x450 kernel/jump_label.c:797 static_key_enable_cpuslocked+0x126/0x240 kernel/jump_label.c:173 static_key_enable+0x1a/0x30 kernel/jump_label.c:186 toggle_allocation_gate+0xba/0x440 mm/kfence/core.c:821 process_one_work+0x717/0xc30 kernel/workqueue.c:2302 worker_thread+0xa4d/0x11d0 kernel/workqueue.c:2449 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 44242 is out of range for type 'const int[34]' CPU: 1 PID: 43 Comm: kworker/u4:2 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Workqueue: events_unbound toggle_allocation_gate Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x24 lib/dump_stack.c:113 ubsan_epilogue+0xe/0x40 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1f14/0x29b0 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770 handle_softirqs+0x1dd/0x5f0 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x854/0x940 kernel/smp.c:998 Code: 41 8b 1f 89 de 83 e6 01 31 ff e8 37 72 09 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 0a e8 03 6e 09 00 e9 38 ff ff ff f3 90 <41> 0f b6 44 1d 00 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 1a ff ff RSP: 0018:ffffc900002cf840 EFLAGS: 00000293 RAX: ffffffff81680440 RBX: dffffc0000000000 RCX: ffff888109583cc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900002cf978 R08: ffffc900002cf7c7 R09: 1ffff92000059ef8 R10: 0000000000000000 R11: fffff52000059ef9 R12: 1ffff1103ede7248 R13: 1ffff1103edc7af1 R14: 0000000000000000 R15: ffff8881f6e3d788 on_each_cpu_cond_mask+0x43/0x80 kernel/smp.c:1165 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1574 [inline] text_poke_bp_batch+0x1cf/0x600 arch/x86/kernel/alternative.c:1774 text_poke_flush arch/x86/kernel/alternative.c:1965 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1972 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x38f/0x3b0 kernel/jump_label.c:451 jump_label_update+0x39b/0x450 kernel/jump_label.c:797 static_key_enable_cpuslocked+0x126/0x240 kernel/jump_label.c:173 static_key_enable+0x1a/0x30 kernel/jump_label.c:186 toggle_allocation_gate+0xba/0x440 mm/kfence/core.c:821 process_one_work+0x717/0xc30 kernel/workqueue.c:2302 worker_thread+0xa4d/0x11d0 kernel/workqueue.c:2449 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ================================================================================ aiptek 6-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 41 8b 1f mov (%r15),%ebx 3: 89 de mov %ebx,%esi 5: 83 e6 01 and $0x1,%esi 8: 31 ff xor %edi,%edi a: e8 37 72 09 00 call 0x97246 f: 83 e3 01 and $0x1,%ebx 12: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx 19: fc ff df 1c: 75 0a jne 0x28 1e: e8 03 6e 09 00 call 0x96e26 23: e9 38 ff ff ff jmp 0xffffff60 28: f3 90 pause * 2a: 41 0f b6 44 1d 00 movzbl 0x0(%r13,%rbx,1),%eax <-- trapping instruction 30: 84 c0 test %al,%al 32: 75 14 jne 0x48 34: 41 f7 07 01 00 00 00 testl $0x1,(%r15) 3b: 0f .byte 0xf 3c: 84 1a test %bl,(%rdx) 3e: ff (bad) 3f: ff .byte 0xff