================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 33414 is out of range for type 'const int[34]' CPU: 1 PID: 4264 Comm: kworker/1:5 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Workqueue: rcu_gp process_srcu Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1e87/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1672 dummy_timer+0xa41/0x33c0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 00 00 00 66 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 6e cf 94 f7 48 89 df e8 a6 a6 95 f7 e8 91 8f b6 f7 fb bf 01 00 00 00 66 bf 89 f7 65 8b 05 77 e6 39 76 85 c0 74 02 5b c3 e8 b4 f3 37 RSP: 0018:ffffc900031ffc30 EFLAGS: 00000286 RAX: 597762579ed50600 RBX: ffff8880b9139b40 RCX: 597762579ed50600 RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: 0000000000000001 RBP: ffffc900031ffdb8 R08: ffff8880b9139b43 R09: 1ffff11017227368 R10: dffffc0000000000 R11: ffffed1017227369 R12: ffffffff9635a8d0 R13: dffffc0000000000 R14: 0000000000000080 R15: ffff8880b913fc08 process_one_work+0x754/0xff0 kernel/workqueue.c:2283 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ================================================================================ ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 66 90 add %ah,-0x70(%rsi) 5: 53 push %rbx 6: 48 89 fb mov %rdi,%rbx 9: 48 83 c7 18 add $0x18,%rdi d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 12: e8 6e cf 94 f7 call 0xf794cf85 17: 48 89 df mov %rbx,%rdi 1a: e8 a6 a6 95 f7 call 0xf795a6c5 1f: e8 91 8f b6 f7 call 0xf7b68fb5 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 66 bf 89 f7 call 0xf789bf95 <-- trapping instruction 2f: 65 8b 05 77 e6 39 76 mov %gs:0x7639e677(%rip),%eax # 0x7639e6ad 36: 85 c0 test %eax,%eax 38: 74 02 je 0x3c 3a: 5b pop %rbx 3b: c3 ret 3c: e8 .byte 0xe8 3d: b4 f3 mov $0xf3,%ah 3f: 37 (bad)