================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 255 is out of range for type 'const int[34]' CPU: 0 PID: 42 Comm: kworker/u4:2 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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:lock_release+0x5/0x8c0 kernel/locking/lockdep.c:5762 Code: c1 0f 8c 5d fa ff ff 4c 89 f7 e8 26 d4 76 00 e9 50 fa ff ff 41 be 2f 00 00 00 e9 66 fa ff ff 66 0f 1f 44 00 00 f3 0f 1e fa 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec e0 00 00 RSP: 0018:ffffc90000b2fb50 EFLAGS: 00000287 RAX: 0000000000000000 RBX: ffff888060a0dac0 RCX: ffff8880186f9e00 RDX: 0000000000000000 RSI: ffffffff8a4b4572 RDI: ffffffff8d131da0 RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff22378a0 R10: dffffc0000000000 R11: fffffbfff22378a1 R12: dffffc0000000000 R13: ffffffff8a4b4572 R14: ffff88807b980d00 R15: 0000000000000164 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), 1 bytes skipped: 0: 0f 8c 5d fa ff ff jl 0xfffffa63 6: 4c 89 f7 mov %r14,%rdi 9: e8 26 d4 76 00 call 0x76d434 e: e9 50 fa ff ff jmp 0xfffffa63 13: 41 be 2f 00 00 00 mov $0x2f,%r14d 19: e9 66 fa ff ff jmp 0xfffffa84 1e: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 24: f3 0f 1e fa endbr64 28: 55 push %rbp * 29: 48 89 e5 mov %rsp,%rbp <-- trapping instruction 2c: 41 57 push %r15 2e: 41 56 push %r14 30: 41 55 push %r13 32: 41 54 push %r12 34: 53 push %rbx 35: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp 39: 48 rex.W 3a: 81 .byte 0x81 3b: ec in (%dx),%al 3c: e0 00 loopne 0x3e