================================================================================ 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: 0 PID: 5972 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 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:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:444 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x5e/0xb0 kernel/rcu/tree.c:700 Code: 03 42 80 3c 38 00 74 08 4c 89 f7 e8 8c 81 6e 00 48 c7 c3 a8 6b 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 2f <8b> 03 65 ff 0d 01 cc 92 7e 74 0c 83 e0 04 c1 e8 02 5b 41 5e 41 5f RSP: 0018:ffffc90004d37ba0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b8e36ba8 RCX: deb1addee7170400 RDX: 0000000000000000 RSI: ffffffff8b1c9c00 RDI: ffffffff8b1c9bc0 RBP: ffffc90004d37cc8 R08: ffffffff8e8b666f R09: 1ffffffff1d16ccd R10: dffffc0000000000 R11: fffffbfff1d16cce R12: 1ffff920009a6f84 R13: ffffffff8d217080 R14: ffffffff8ca7da30 R15: dffffc0000000000 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xc6/0x420 kernel/locking/lockdep.c:5725 __fs_reclaim_acquire mm/page_alloc.c:3599 [inline] fs_reclaim_acquire+0x71/0x100 mm/page_alloc.c:3613 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook+0x2a/0x310 mm/slab.h:714 slab_alloc_node mm/slub.c:3477 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x5a/0x2d0 mm/slub.c:3519 getname_flags+0xbb/0x500 fs/namei.c:140 user_path_at_empty+0x2c/0x60 fs/namei.c:2916 do_readlinkat+0xdd/0x490 fs/stat.c:494 __do_sys_readlink fs/stat.c:527 [inline] __se_sys_readlink fs/stat.c:524 [inline] __x64_sys_readlink+0x7f/0x90 fs/stat.c:524 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0e737153a7 Code: 00 00 90 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 00 31 c9 e8 8a 20 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 21 ba 0d 00 f7 d8 64 89 02 48 RSP: 002b:00007ffca84c8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffca84c8660 RCX: 00007f0e737153a7 RDX: 0000000000000400 RSI: 00007ffca84c8190 RDI: 00007ffca84c8660 RBP: 00007ffca84c8190 R08: 00007ffca84c8e94 R09: 0000000000000009 R10: 0000000000000065 R11: 0000000000000246 R12: 0000000000000400 R13: 00007ffca84c8e95 R14: 00007ffca84c9791 R15: 0000563298a7d00c ================================================================================ ---------------- Code disassembly (best guess): 0: 03 42 80 add -0x80(%rdx),%eax 3: 3c 38 cmp $0x38,%al 5: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 9: 89 f7 mov %esi,%edi b: e8 8c 81 6e 00 call 0x6e819c 10: 48 c7 c3 a8 6b 03 00 mov $0x36ba8,%rbx 17: 49 03 1e add (%r14),%rbx 1a: 48 89 d8 mov %rbx,%rax 1d: 48 c1 e8 03 shr $0x3,%rax 21: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 26: 84 c0 test %al,%al 28: 75 2f jne 0x59 * 2a: 8b 03 mov (%rbx),%eax <-- trapping instruction 2c: 65 ff 0d 01 cc 92 7e decl %gs:0x7e92cc01(%rip) # 0x7e92cc34 33: 74 0c je 0x41 35: 83 e0 04 and $0x4,%eax 38: c1 e8 02 shr $0x2,%eax 3b: 5b pop %rbx 3c: 41 5e pop %r14 3e: 41 5f pop %r15