================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 690 is out of range for type 'const int[34]' CPU: 1 PID: 12428 Comm: kworker/u4:33 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: bat_events batadv_nc_worker 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+0xa40/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2003 __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:lockdep_enabled kernel/locking/lockdep.c:116 [inline] RIP: 0010:lock_release+0xcd/0x8c0 kernel/locking/lockdep.c:5767 Code: e5 76 00 48 0f a3 1d 0a 74 23 0d 73 0d e8 cb 30 08 00 84 c0 0f 84 44 05 00 00 48 c7 c0 5c b1 8c 8e 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 4c 05 00 00 83 3d 90 a8 23 0d 00 0f 84 a9 04 00 00 65 RSP: 0018:ffffc900197efa40 EFLAGS: 00000a07 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 44039ce7c84ab900 RDX: 0000000000000000 RSI: ffffffff8b1d0640 RDI: ffffffff8b1d0600 RBP: ffffc900197efb50 R08: ffffffff8e8c7caf R09: 1ffffffff1d18f95 R10: dffffc0000000000 R11: fffffbfff1d18f96 R12: ffffffff8a5428f2 R13: dffffc0000000000 R14: ffff88805ce98d00 R15: 1ffff920032fdf54 rcu_lock_release include/linux/rcupdate.h:344 [inline] rcu_read_unlock include/linux/rcupdate.h:819 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28b/0x600 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2730 worker_thread+0xa5e/0xfe0 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: e5 76 in $0x76,%eax 2: 00 48 0f add %cl,0xf(%rax) 5: a3 1d 0a 74 23 0d 73 movabs %eax,0xe80d730d23740a1d c: 0d e8 e: cb lret f: 30 08 xor %cl,(%rax) 11: 00 84 c0 0f 84 44 05 add %al,0x544840f(%rax,%rax,8) 18: 00 00 add %al,(%rax) 1a: 48 c7 c0 5c b1 8c 8e mov $0xffffffff8e8cb15c,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 4c 05 00 00 jne 0x57e 32: 83 3d 90 a8 23 0d 00 cmpl $0x0,0xd23a890(%rip) # 0xd23a8c9 39: 0f 84 a9 04 00 00 je 0x4e8 3f: 65 gs