================================================================================
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: 1 PID: 4188 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
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+0x1eaa/0x28f0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674
dummy_timer+0x880/0x30b0 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+0x53e/0x800 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x339/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:i_uid_into_mnt include/linux/fs.h:1678 [inline]
RIP: 0010:common_perm_cond+0x143/0x350 security/apparmor/lsm.c:229
Code: be f0 07 00 00 4d 03 37 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 10 37 14 fe 4d 8b 3e <48> 83 c3 04 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42
RSP: 0018:ffffc90002dbfc40 EFLAGS: 00000246
RAX: 1ffff1100c01ccfe RBX: ffff8880609a32e8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffff8880771a5190 RDI: ffffffff8a7467c0
RBP: ffffc90002dbfd18 R08: ffffffff8d8a06ef R09: 1ffffffff1b140dd
R10: dffffc0000000000 R11: fffffbfff1b140de R12: 1ffff1100ee34a33
R13: ffff8880771a5198 R14: ffff8880600e67f0 R15: ffffffff8c1cd080
security_inode_getattr+0xcf/0x120 security/security.c:1349
vfs_getattr+0x26/0x3a0 fs/stat.c:157
vfs_fstat fs/stat.c:182 [inline]
__do_sys_newfstat fs/stat.c:421 [inline]
__se_sys_newfstat fs/stat.c:418 [inline]
__x64_sys_newfstat+0x137/0x210 fs/stat.c:418
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd0f3d95467
Code: 48 45 31 c9 45 31 c0 e8 a7 cb fb ff 5a 59 eb c6 e8 0e 3f 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff3f5e5958 EFLAGS: 00000206 ORIG_RAX: 0000000000000005
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd0f3d95467
RDX: 0000000000000000 RSI: 00007fff3f5e5960 RDI: 0000000000000003
RBP: 00007fff3f5e6b4c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007fff3f5e6b60
R13: 00007fd0f3e2c1ca R14: 0000000000013994 R15: 00007fff3f5e6ba0
================================================================================
----------------
Code disassembly (best guess):
0: be f0 07 00 00 mov $0x7f0,%esi
5: 4d 03 37 add (%r15),%r14
8: 4c 89 f0 mov %r14,%rax
b: 48 c1 e8 03 shr $0x3,%rax
f: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
16: fc ff df
19: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)
1d: 74 08 je 0x27
1f: 4c 89 f7 mov %r14,%rdi
22: e8 10 37 14 fe call 0xfe143737
27: 4d 8b 3e mov (%r14),%r15
* 2a: 48 83 c3 04 add $0x4,%rbx <-- trapping instruction
2e: 48 89 d8 mov %rbx,%rax
31: 48 c1 e8 03 shr $0x3,%rax
35: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
3c: fc ff df
3f: 42 rex.X