================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 259 is out of range for type 'const int[34]' CPU: 1 PID: 970 Comm: kworker/1:2 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: rcu_gp wait_rcu_exp_gp 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+0x1ea9/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1650 dummy_timer+0x8de/0x3320 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x520/0xc40 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1835 handle_softirqs+0x280/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 2b 88 ca f6 65 8b 05 bc b0 71 75 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc900041cf8c0 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a06 RCX: ae380e8d5ffad700 RDX: dffffc0000000000 RSI: ffffffff8acacbe0 RDI: 0000000000000001 RBP: ffffc900041cf948 R08: ffffffff911cd527 R09: 1ffffffff2239aa4 R10: dffffc0000000000 R11: fffffbfff2239aa5 R12: dffffc0000000000 R13: ffffffff8d13746c R14: ffffffff8d1373c0 R15: 1ffff92000839f18 __sync_rcu_exp_select_node_cpus kernel/rcu/tree_exp.h:377 [inline] sync_rcu_exp_select_node_cpus+0x200/0xbe0 kernel/rcu/tree_exp.h:483 sync_rcu_exp_select_cpus kernel/rcu/tree_exp.h:558 [inline] rcu_exp_sel_wait_wake+0x263/0x20a0 kernel/rcu/tree_exp.h:733 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 ================================================================================ ---------------- 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 2b 88 ca f6 call 0xf6ca885a <-- trapping instruction 2f: 65 8b 05 bc b0 71 75 mov %gs:0x7571b0bc(%rip),%eax # 0x7571b0f2 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