================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1407 is out of range for type 'const int[34]' CPU: 1 PID: 10110 Comm: kworker/u4:27 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:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:-1 [inline] RIP: 0010:rcu_is_watching+0x44/0xb0 kernel/rcu/tree.c:700 Code: 73 60 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 30 aa a7 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 ac a2 6e 00 <48> c7 c3 a8 6b 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 RSP: 0018:ffffc900049bfb40 EFLAGS: 00000246 RAX: 1ffffffff194f547 RBX: 0000000000000001 RCX: 194829c12fde1500 RDX: ffff888028441e00 RSI: ffffffff8b1c7bc0 RDI: ffffffff8b1c7b80 RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff22378a0 R10: dffffc0000000000 R11: fffffbfff22378a1 R12: dffffc0000000000 R13: ffffffff8a4b4572 R14: ffffffff8ca7aa38 R15: dffffc0000000000 rcu_read_unlock include/linux/rcupdate.h:815 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x202/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: 73 60 jae 0x62 2: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 9: fc ff df c: 4c 8d 34 dd 30 aa a7 lea -0x735855d0(,%rbx,8),%r14 13: 8c 14: 4c 89 f0 mov %r14,%rax 17: 48 c1 e8 03 shr $0x3,%rax 1b: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 20: 74 08 je 0x2a 22: 4c 89 f7 mov %r14,%rdi 25: e8 ac a2 6e 00 call 0x6ea2d6 * 2a: 48 c7 c3 a8 6b 03 00 mov $0x36ba8,%rbx <-- trapping instruction 31: 49 03 1e add (%r14),%rbx 34: 48 89 d8 mov %rbx,%rax 37: 48 c1 e8 03 shr $0x3,%rax 3b: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax