================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 27758 is out of range for type 'const int[34]'
CPU: 1 PID: 88 Comm: acpid Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1675
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766
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:preempt_schedule_irq+0xa5/0x120 kernel/sched/core.c:7067
Code: 44 24 20 00 02 00 00 43 c6 44 37 04 f8 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 d1 fb 4c fc fb bf 01 00 00 00 46 e5 ff ff fa bf 01 00 00 00 e8 7b fd 4c fc 65 48 8b 1d c3 d4
RSP: 0018:ffffc900009577a0 EFLAGS: 00000246
RAX: 1ffff11021f4b3e1 RBX: ffffc90000957868 RCX: ffffffff87b7b100
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000957818 R08: ffff88810fa59447 R09: 1ffff11021f4b288
R10: dffffc0000000000 R11: ffffed1021f4b289 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200012aef4
raw_irqentry_exit_cond_resched+0x29/0x30 kernel/entry/common.c:396
irqentry_exit+0x37/0x40 kernel/entry/common.c:439
sysvec_reschedule_ipi+0x78/0x80 arch/x86/kernel/smp.c:244
asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x60 kernel/kcov.c:234
Code: 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 4c 0b 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 5d 66 90 90 90 90 90 90 90 90 90 90 90 90 b8 e2 33 28 be 55 48 89
RSP: 0018:ffffc90000957910 EFLAGS: 00000293
RAX: ffffffff81c3aded RBX: ffffc90000957c34 RCX: ffff88810fa59440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000957970 R08: ffffc90000957707 R09: 1ffff9200012aee0
R10: dffffc0000000000 R11: fffff5200012aee1 R12: dffffc0000000000
R13: 0000000000000000 R14: 1ffff9200012af58 R15: 0000000000000000
path_openat+0x27aa/0x2f30 fs/namei.c:3791
do_filp_open+0x1ee/0x420 fs/namei.c:3817
do_sys_openat2+0x15e/0x820 fs/open.c:1343
do_sys_open fs/open.c:1359 [inline]
__do_sys_openat fs/open.c:1375 [inline]
__se_sys_openat fs/open.c:1370 [inline]
__x64_sys_openat+0x136/0x160 fs/open.c:1370
x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
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:0x7f9b68bd8407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd8eb757e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9b68b4e740 RCX: 00007f9b68bd8407
RDX: 0000000000080800 RSI: 00007ffd8eb759f0 RDI: ffffffffffffff9c
RBP: 00007ffd8eb759f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020
R13: 00007ffd8eb75af0 R14: 00005588360e97fe R15: 00007ffd8eb75af0
================================================================================
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff85e806b8 by task acpid/88
CPU: 1 PID: 88 Comm: acpid Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
print_address_description+0x71/0x200 mm/kasan/report.c:316
print_report+0x4a/0x60 mm/kasan/report.c:420
kasan_report+0x122/0x150 mm/kasan/report.c:524
__asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:350
aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1675
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766
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:preempt_schedule_irq+0xa5/0x120 kernel/sched/core.c:7067
Code: 44 24 20 00 02 00 00 43 c6 44 37 04 f8 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 d1 fb 4c fc fb bf 01 00 00 00 46 e5 ff ff fa bf 01 00 00 00 e8 7b fd 4c fc 65 48 8b 1d c3 d4
RSP: 0018:ffffc900009577a0 EFLAGS: 00000246
RAX: 1ffff11021f4b3e1 RBX: ffffc90000957868 RCX: ffffffff87b7b100
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000957818 R08: ffff88810fa59447 R09: 1ffff11021f4b288
R10: dffffc0000000000 R11: ffffed1021f4b289 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200012aef4
raw_irqentry_exit_cond_resched+0x29/0x30 kernel/entry/common.c:396
irqentry_exit+0x37/0x40 kernel/entry/common.c:439
sysvec_reschedule_ipi+0x78/0x80 arch/x86/kernel/smp.c:244
asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x60 kernel/kcov.c:234
Code: 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 4c 0b 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 5d 66 90 90 90 90 90 90 90 90 90 90 90 90 b8 e2 33 28 be 55 48 89
RSP: 0018:ffffc90000957910 EFLAGS: 00000293
RAX: ffffffff81c3aded RBX: ffffc90000957c34 RCX: ffff88810fa59440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000957970 R08: ffffc90000957707 R09: 1ffff9200012aee0
R10: dffffc0000000000 R11: fffff5200012aee1 R12: dffffc0000000000
R13: 0000000000000000 R14: 1ffff9200012af58 R15: 0000000000000000
path_openat+0x27aa/0x2f30 fs/namei.c:3791
do_filp_open+0x1ee/0x420 fs/namei.c:3817
do_sys_openat2+0x15e/0x820 fs/open.c:1343
do_sys_open fs/open.c:1359 [inline]
__do_sys_openat fs/open.c:1375 [inline]
__se_sys_openat fs/open.c:1370 [inline]
__x64_sys_openat+0x136/0x160 fs/open.c:1370
x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
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:0x7f9b68bd8407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd8eb757e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9b68b4e740 RCX: 00007f9b68bd8407
RDX: 0000000000080800 RSI: 00007ffd8eb759f0 RDI: ffffffffffffff9c
RBP: 00007ffd8eb759f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020
R13: 00007ffd8eb75af0 R14: 00005588360e97fe R15: 00007ffd8eb75af0
The buggy address belongs to the variable:
.str.237+0x38/0x40
The buggy address belongs to the physical page:
page:ffffea000017a000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e80
flags: 0x1000(reserved|zone=0)
raw: 0000000000001000 ffffea000017a008 ffffea000017a008 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner info is not present (never set?)
Memory state around the buggy address:
ffffffff85e80580: 00 00 04 f9 f9 f9 f9 f9 00 00 04 f9 f9 f9 f9 f9
ffffffff85e80600: 00 00 01 f9 f9 f9 f9 f9 00 00 01 f9 f9 f9 f9 f9
>ffffffff85e80680: 00 00 00 02 f9 f9 f9 f9 00 00 01 f9 f9 f9 f9 f9
^
ffffffff85e80700: 00 00 00 f9 f9 f9 f9 f9 00 03 f9 f9 00 03 f9 f9
ffffffff85e80780: 00 03 f9 f9 00 03 f9 f9 00 03 f9 f9 00 03 f9 f9
==================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 27759 is out of range for type 'const int[34]'
CPU: 1 PID: 88 Comm: acpid Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1675
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766
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:preempt_schedule_irq+0xa5/0x120 kernel/sched/core.c:7067
Code: 44 24 20 00 02 00 00 43 c6 44 37 04 f8 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 d1 fb 4c fc fb bf 01 00 00 00 46 e5 ff ff fa bf 01 00 00 00 e8 7b fd 4c fc 65 48 8b 1d c3 d4
RSP: 0018:ffffc900009577a0 EFLAGS: 00000246
RAX: 1ffff11021f4b3e1 RBX: ffffc90000957868 RCX: ffffffff87b7b100
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000957818 R08: ffff88810fa59447 R09: 1ffff11021f4b288
R10: dffffc0000000000 R11: ffffed1021f4b289 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200012aef4
raw_irqentry_exit_cond_resched+0x29/0x30 kernel/entry/common.c:396
irqentry_exit+0x37/0x40 kernel/entry/common.c:439
sysvec_reschedule_ipi+0x78/0x80 arch/x86/kernel/smp.c:244
asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x60 kernel/kcov.c:234
Code: 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 4c 0b 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 5d 66 90 90 90 90 90 90 90 90 90 90 90 90 b8 e2 33 28 be 55 48 89
RSP: 0018:ffffc90000957910 EFLAGS: 00000293
RAX: ffffffff81c3aded RBX: ffffc90000957c34 RCX: ffff88810fa59440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000957970 R08: ffffc90000957707 R09: 1ffff9200012aee0
R10: dffffc0000000000 R11: fffff5200012aee1 R12: dffffc0000000000
R13: 0000000000000000 R14: 1ffff9200012af58 R15: 0000000000000000
path_openat+0x27aa/0x2f30 fs/namei.c:3791
do_filp_open+0x1ee/0x420 fs/namei.c:3817
do_sys_openat2+0x15e/0x820 fs/open.c:1343
do_sys_open fs/open.c:1359 [inline]
__do_sys_openat fs/open.c:1375 [inline]
__se_sys_openat fs/open.c:1370 [inline]
__x64_sys_openat+0x136/0x160 fs/open.c:1370
x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
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:0x7f9b68bd8407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd8eb757e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9b68b4e740 RCX: 00007f9b68bd8407
RDX: 0000000000080800 RSI: 00007ffd8eb759f0 RDI: ffffffffffffff9c
RBP: 00007ffd8eb759f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020
R13: 00007ffd8eb75af0 R14: 00005588360e97fe R15: 00007ffd8eb75af0
================================================================================
aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 44 24 20 rex.R and $0x20,%al
3: 00 02 add %al,(%rdx)
5: 00 00 add %al,(%rax)
7: 43 c6 44 37 04 f8 movb $0xf8,0x4(%r15,%r14,1)
d: 74 0b je 0x1a
f: 0f 0b ud2
11: 48 f7 03 08 00 00 00 testq $0x8,(%rbx)
18: 74 4d je 0x67
1a: bf 01 00 00 00 mov $0x1,%edi
1f: e8 d1 fb 4c fc call 0xfc4cfbf5
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 46 e5 ff ff call 0xffffe575 <-- trapping instruction
2f: fa cli
30: bf 01 00 00 00 mov $0x1,%edi
35: e8 7b fd 4c fc call 0xfc4cfdb5
3a: 65 gs
3b: 48 rex.W
3c: 8b .byte 0x8b
3d: 1d .byte 0x1d
3e: c3 ret
3f: d4 (bad)