================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 41266 is out of range for type 'const int[34]' CPU: 1 PID: 8614 Comm: syz.2.1028 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:217 __ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348 aiptek_irq+0x1eb8/0x2920 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1648 dummy_timer+0xa58/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:2017 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194 Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 eb 77 c3 f6 65 8b 05 0c 36 6a 75 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc9000b37f580 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: becbeb9e59e29d00 RDX: dffffc0000000000 RSI: ffffffff8acacce0 RDI: 0000000000000001 RBP: ffffc9000b37f610 R08: ffffffff911ef5af R09: 1ffffffff223deb5 R10: dffffc0000000000 R11: fffffbfff223deb6 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888076d8f6c0 R15: 1ffff9200166feb0 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x12c/0x1a0 kernel/sched/wait.c:213 __unix_dgram_recvmsg+0x4bb/0xd90 net/unix/af_unix.c:2439 sock_recvmsg_nosec+0x82/0xd0 net/socket.c:1047 ____sys_recvmsg+0x4d7/0x5d0 net/socket.c:2812 ___sys_recvmsg+0x214/0x590 net/socket.c:2856 do_recvmmsg+0x377/0x810 net/socket.c:2950 __sys_recvmmsg net/socket.c:3029 [inline] __do_sys_recvmmsg net/socket.c:3052 [inline] __se_sys_recvmmsg net/socket.c:3045 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3045 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7aa499e159 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:00007f7aa57c7028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f7aa4c26090 RCX: 00007f7aa499e159 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000005 RBP: 00007f7aa4a35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7aa4c26128 R14: 00007f7aa4c26090 R15: 00007fffbb5b7ed8 ================================================================================ ---------------- Code disassembly (best guess): 0: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp) 7: 00 8: 9c pushf 9: 8f 44 24 20 pop 0x20(%rsp) d: f7 44 24 20 00 02 00 testl $0x200,0x20(%rsp) 14: 00 15: 41 c6 04 07 f8 movb $0xf8,(%r15,%rax,1) 1a: 75 4b jne 0x67 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 eb 77 c3 f6 call 0xf6c3781a <-- trapping instruction 2f: 65 8b 05 0c 36 6a 75 mov %gs:0x756a360c(%rip),%eax # 0x756a3642 36: 85 c0 test %eax,%eax 38: 74 3c je 0x76 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss