================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 1279 is out of range for type 'const int[34]'
CPU: 1 PID: 8803 Comm: syz.7.982 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
dump_stack_lvl+0x188/0x24e 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:1673
dummy_timer+0xa21/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:soundcore_open+0x1a2/0x4b0 sound/sound_core.c:550
Code: f9 48 8b 3b e8 7f 9b 76 f9 84 c0 74 2d e8 86 9b 89 f9 48 8b 44 24 10 42 80 3c 30 00 74 08 4c 89 ef e8 32 c8 da f9 4d 8b 6d 00 16 e8 67 9b 89 f9 eb 0c e8 60 9b 89 f9 eb 05 e8 59 9b 89 f9 45
RSP: 0018:ffffc9000530f7e8 EFLAGS: 00000246
RAX: 1ffff11005c521f1 RBX: ffffffff8b805100 RCX: 0000000000080000
RDX: ffffc9001f82a000 RSI: 0000000000000409 RDI: 000000000000040a
RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000a61eec R12: 0000000000000003
R13: ffffffff8b805100 R14: dffffc0000000000 R15: 1ffffffff2e05287
chrdev_open+0x585/0x5f0 fs/char_dev.c:414
do_dentry_open+0x7dd/0x10b0 fs/open.c:882
do_open fs/namei.c:3634 [inline]
path_openat+0x2674/0x2f10 fs/namei.c:3791
do_filp_open+0x1ee/0x420 fs/namei.c:3818
do_sys_openat2+0x14b/0x4f0 fs/open.c:1320
do_sys_open fs/open.c:1336 [inline]
__do_sys_openat fs/open.c:1352 [inline]
__se_sys_openat fs/open.c:1347 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1347
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f50b8f9e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f50b9d8e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f50b9225fa0 RCX: 00007f50b8f9e0d9
RDX: 0040000000040201 RSI: 0000200000000140 RDI: ffffffffffffff9c
RBP: 00007f50b9035024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f50b9226038 R14: 00007f50b9225fa0 R15: 00007ffe29d42f68
================================================================================
----------------
Code disassembly (best guess):
0: f9 stc
1: 48 8b 3b mov (%rbx),%rdi
4: e8 7f 9b 76 f9 call 0xf9769b88
9: 84 c0 test %al,%al
b: 74 2d je 0x3a
d: e8 86 9b 89 f9 call 0xf9899b98
12: 48 8b 44 24 10 mov 0x10(%rsp),%rax
17: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1)
1c: 74 08 je 0x26
1e: 4c 89 ef mov %r13,%rdi
21: e8 32 c8 da f9 call 0xf9dac858
26: 4d 8b 6d 00 mov 0x0(%r13),%r13
* 2a: eb 16 jmp 0x42 <-- trapping instruction
2c: e8 67 9b 89 f9 call 0xf9899b98
31: eb 0c jmp 0x3f
33: e8 60 9b 89 f9 call 0xf9899b98
38: eb 05 jmp 0x3f
3a: e8 59 9b 89 f9 call 0xf9899b98
3f: 45 rex.RB