================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 30753 is out of range for type 'const int[34]' CPU: 1 PID: 1774 Comm: syz.0.277 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 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+0x1d7/0x600 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:finish_task_switch+0x173/0x7c0 kernel/sched/core.c:5302 Code: 80 3c 2b 00 74 08 4c 89 f7 e8 49 94 69 00 4d 8b 2e 4d 85 ed 0f 85 cd 00 00 00 4c 89 e7 e8 75 2b b4 03 fb 49 8d 9f 48 0b 00 00 <48> 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 RSP: 0018:ffffc900106673a8 EFLAGS: 00000282 RAX: 0000000080000001 RBX: ffff88811f058b48 RCX: 0000000000000000 RDX: 0000000040000002 RSI: 0000000000000000 RDI: 00000000ffffffff RBP: ffffc900106673f0 R08: ffffffff8792fff3 R09: 1ffffffff0f25ffe R10: dffffc0000000000 R11: fffffbfff0f25fff R12: ffff8881f6f37f00 R13: 0000000000000000 R14: ffff8881f6f38a60 R15: ffff88811f058000 context_switch kernel/sched/core.c:5428 [inline] __schedule+0xcbb/0x1700 kernel/sched/core.c:6762 schedule+0xbd/0x170 kernel/sched/core.c:6838 schedule_timeout+0xba/0x340 kernel/time/timer.c:1996 unix_wait_for_peer+0x1f2/0x2e0 net/unix/af_unix.c:1451 unix_dgram_sendmsg+0xece/0x1710 net/unix/af_unix.c:2053 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x5fb/0x9c0 net/socket.c:2509 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2563 __sys_sendmmsg+0x2cc/0x4e0 net/socket.c:2649 __do_sys_sendmmsg net/socket.c:2678 [inline] __se_sys_sendmmsg net/socket.c:2675 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2675 x64_sys_call+0x3f5/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:308 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7a76b9e1d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7a77ae0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f7a76e25fa0 RCX: 00007f7a76b9e1d9 RDX: 0000000000000651 RSI: 0000200000000380 RDI: 0000000000000004 RBP: 00007f7a76c35888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7a76e26038 R14: 00007f7a76e25fa0 R15: 00007fff90da3938 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 30754 is out of range for type 'const int[34]' CPU: 1 PID: 1774 Comm: syz.0.277 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 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+0x1d7/0x600 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:finish_task_switch+0x173/0x7c0 kernel/sched/core.c:5302 Code: 80 3c 2b 00 74 08 4c 89 f7 e8 49 94 69 00 4d 8b 2e 4d 85 ed 0f 85 cd 00 00 00 4c 89 e7 e8 75 2b b4 03 fb 49 8d 9f 48 0b 00 00 <48> 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 RSP: 0018:ffffc900106673a8 EFLAGS: 00000282 RAX: 0000000080000001 RBX: ffff88811f058b48 RCX: 0000000000000000 RDX: 0000000040000002 RSI: 0000000000000000 RDI: 00000000ffffffff RBP: ffffc900106673f0 R08: ffffffff8792fff3 R09: 1ffffffff0f25ffe R10: dffffc0000000000 R11: fffffbfff0f25fff R12: ffff8881f6f37f00 R13: 0000000000000000 R14: ffff8881f6f38a60 R15: ffff88811f058000 context_switch kernel/sched/core.c:5428 [inline] __schedule+0xcbb/0x1700 kernel/sched/core.c:6762 schedule+0xbd/0x170 kernel/sched/core.c:6838 schedule_timeout+0xba/0x340 kernel/time/timer.c:1996 unix_wait_for_peer+0x1f2/0x2e0 net/unix/af_unix.c:1451 unix_dgram_sendmsg+0xece/0x1710 net/unix/af_unix.c:2053 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x5fb/0x9c0 net/socket.c:2509 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2563 __sys_sendmmsg+0x2cc/0x4e0 net/socket.c:2649 __do_sys_sendmmsg net/socket.c:2678 [inline] __se_sys_sendmmsg net/socket.c:2675 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2675 x64_sys_call+0x3f5/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:308 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7a76b9e1d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7a77ae0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f7a76e25fa0 RCX: 00007f7a76b9e1d9 RDX: 0000000000000651 RSI: 0000200000000380 RDI: 0000000000000004 RBP: 00007f7a76c35888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7a76e26038 R14: 00007f7a76e25fa0 R15: 00007fff90da3938 ================================================================================ aiptek 6-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 80 3c 2b 00 cmpb $0x0,(%rbx,%rbp,1) 4: 74 08 je 0xe 6: 4c 89 f7 mov %r14,%rdi 9: e8 49 94 69 00 call 0x699457 e: 4d 8b 2e mov (%r14),%r13 11: 4d 85 ed test %r13,%r13 14: 0f 85 cd 00 00 00 jne 0xe7 1a: 4c 89 e7 mov %r12,%rdi 1d: e8 75 2b b4 03 call 0x3b42b97 22: fb sti 23: 49 8d 9f 48 0b 00 00 lea 0xb48(%r15),%rbx * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 48 c1 e8 03 shr $0x3,%rax 31: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 38: fc ff df 3b: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax