================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 14964 is out of range for type 'const int[34]'
CPU: 0 PID: 15050 Comm: udevd Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
aiptek_irq+0x2045/0x29b0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
__do_softirq kernel/softirq.c:680 [inline]
invoke_softirq kernel/softirq.c:497 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729
irq_exit_rcu+0x9/0x10 kernel/softirq.c:741
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:unwind_next_frame+0x34c/0x660 arch/x86/kernel/unwind_frame.c:311
Code: 20 4c 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 80 3c 30 00 4c 8d 6b 28 74 08 4c 89 ff e8 d9 5c 81 00 49 8b 0f eb 43 <65> 48 8b 05 9c d0 cc 7e 48 39 45 d0 49 be 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900049c7788 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc900049c77e8 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff81b6f2b6 RDI: ffffc900049c7f48
RBP: ffffc900049c77d8 R08: ffffc900049c78b0 R09: ffffc900049c78a8
R10: 0000000000000001 R11: fffff52000938f09 R12: ffffc900049c7b58
R13: 1ffff92000938f07 R14: ffffc900049c7838 R15: 0000000000000000
arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
kvfree_call_rcu+0x8b/0x7a0 kernel/rcu/tree.c:3445
kernfs_unlink_open_file+0x34e/0x400 fs/kernfs/file.c:653
kernfs_fop_release+0x230/0x2f0 fs/kernfs/file.c:825
__fput+0x1fd/0x8f0 fs/file_table.c:320
____fput+0x15/0x20 fs/file_table.c:348
task_work_run+0x1e1/0x250 kernel/task_work.c:203
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f78cd115a67
Code: 44 00 00 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 01 31 c9 e8 ca 19 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 61 b3 0d 00 f7 d8 64 89 02 b8
RSP: 002b:00007ffdc137dbb8 EFLAGS: 00000297 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 000055b4ef0c0580 RCX: 00007f78cd115a67
RDX: 00007f78cd1efea0 RSI: 000055b4ef0e7c10 RDI: 0000000000000008
RBP: 00007f78cd1efff0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000000
R13: 3d45505954564544 R14: 3d5845444e494649 R15: 3d454d414e564544
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 14965 is out of range for type 'const int[34]'
CPU: 0 PID: 15050 Comm: udevd Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
aiptek_irq+0x1f14/0x29b0 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
__do_softirq kernel/softirq.c:680 [inline]
invoke_softirq kernel/softirq.c:497 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729
irq_exit_rcu+0x9/0x10 kernel/softirq.c:741
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:unwind_next_frame+0x34c/0x660 arch/x86/kernel/unwind_frame.c:311
Code: 20 4c 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 80 3c 30 00 4c 8d 6b 28 74 08 4c 89 ff e8 d9 5c 81 00 49 8b 0f eb 43 <65> 48 8b 05 9c d0 cc 7e 48 39 45 d0 49 be 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900049c7788 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc900049c77e8 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff81b6f2b6 RDI: ffffc900049c7f48
RBP: ffffc900049c77d8 R08: ffffc900049c78b0 R09: ffffc900049c78a8
R10: 0000000000000001 R11: fffff52000938f09 R12: ffffc900049c7b58
R13: 1ffff92000938f07 R14: ffffc900049c7838 R15: 0000000000000000
arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
kvfree_call_rcu+0x8b/0x7a0 kernel/rcu/tree.c:3445
kernfs_unlink_open_file+0x34e/0x400 fs/kernfs/file.c:653
kernfs_fop_release+0x230/0x2f0 fs/kernfs/file.c:825
__fput+0x1fd/0x8f0 fs/file_table.c:320
____fput+0x15/0x20 fs/file_table.c:348
task_work_run+0x1e1/0x250 kernel/task_work.c:203
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f78cd115a67
Code: 44 00 00 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 01 31 c9 e8 ca 19 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 61 b3 0d 00 f7 d8 64 89 02 b8
RSP: 002b:00007ffdc137dbb8 EFLAGS: 00000297 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 000055b4ef0c0580 RCX: 00007f78cd115a67
RDX: 00007f78cd1efea0 RSI: 000055b4ef0e7c10 RDI: 0000000000000008
RBP: 00007f78cd1efff0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000000
R13: 3d45505954564544 R14: 3d5845444e494649 R15: 3d454d414e564544
================================================================================
aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 20 4c 89 f8 and %cl,-0x8(%rcx,%rcx,4)
4: 48 c1 e8 03 shr $0x3,%rax
8: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
f: fc ff df
12: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1)
17: 4c 8d 6b 28 lea 0x28(%rbx),%r13
1b: 74 08 je 0x25
1d: 4c 89 ff mov %r15,%rdi
20: e8 d9 5c 81 00 call 0x815cfe
25: 49 8b 0f mov (%r15),%rcx
28: eb 43 jmp 0x6d
* 2a: 65 48 8b 05 9c d0 cc mov %gs:0x7eccd09c(%rip),%rax # 0x7eccd0ce <-- trapping instruction
31: 7e
32: 48 39 45 d0 cmp %rax,-0x30(%rbp)
36: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
3d: fc ff df