================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 32639 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:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline]
RIP: 0010:syscall_enter_from_user_mode+0xc/0x30 kernel/entry/common.c:118
Code: 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 5c cc d4 e6 48 89 f0 fb 65 48 8b 0d 14 26 08 7b <48> 8b 71 08 40 f6 c6 3f 74 0a 55 48 89 e5 e8 41 c2 65 fc 5d c3 66
RSP: 0018:ffffc90000967f18 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffffc90000967f20 RCX: ffff88810fcd0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000967f58
RBP: ffffc90000967f48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90000967f58 R15: 0000000000000000
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4f7d3c4407
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:00007ffe2b63c190 EFLAGS: 00000202 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f4f7d33a740 RCX: 00007f4f7d3c4407
RDX: 0000000000000018 RSI: 00007ffe2b63c1e0 RDI: 000000000000000a
RBP: 00007ffe2b63c1e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000056135ea101e4
R13: 000056136881c360 R14: 0000000000000006 R15: 000000000000000a
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 32640 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+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:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline]
RIP: 0010:syscall_enter_from_user_mode+0xc/0x30 kernel/entry/common.c:118
Code: 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 5c cc d4 e6 48 89 f0 fb 65 48 8b 0d 14 26 08 7b <48> 8b 71 08 40 f6 c6 3f 74 0a 55 48 89 e5 e8 41 c2 65 fc 5d c3 66
RSP: 0018:ffffc90000967f18 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffffc90000967f20 RCX: ffff88810fcd0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000967f58
RBP: ffffc90000967f48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90000967f58 R15: 0000000000000000
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4f7d3c4407
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:00007ffe2b63c190 EFLAGS: 00000202 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f4f7d33a740 RCX: 00007f4f7d3c4407
RDX: 0000000000000018 RSI: 00007ffe2b63c1e0 RDI: 000000000000000a
RBP: 00007ffe2b63c1e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000056135ea101e4
R13: 000056136881c360 R14: 0000000000000006 R15: 000000000000000a
================================================================================
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff85ea50fc by task kworker/1:2/60
CPU: 1 PID: 60 Comm: kworker/1:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x48/0x70 kernel/locking/spinlock.c:202
Code: 74 12 48 89 fb 48 c7 c7 80 db 0d 87 e8 f1 f0 b5 fc 48 89 df 48 83 3d 76 db 0c 02 00 74 26 e8 13 0d 00 00 90 fb bf 01 00 00 00 53 96 4b fc 65 8b 05 a4 6d 01 7b 85 c0 74 03 5b 5d c3 e8 74 7c
RSP: 0018:ffffc90000907d08 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000040 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000001
RBP: ffffc90000907d10 R08: ffff888110442047 R09: 1ffff11022088408
R10: dffffc0000000000 R11: ffffed1022088409 R12: ffffe8ffffd21e00
R13: dffffc0000000000 R14: ffff888110442040 R15: ffff88810e917a00
process_one_work+0x6df/0xc30 kernel/workqueue.c:2275
worker_thread+0xa4d/0x11d0 kernel/workqueue.c:2449
kthread+0x281/0x320 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
The buggy address belongs to the variable:
.str.122+0x3c/0x60
The buggy address belongs to the physical page:
page:ffffea000017a940 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5ea5
flags: 0x1000(reserved|zone=0)
raw: 0000000000001000 ffffea000017a948 ffffea000017a948 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:
ffffffff85ea4f80: 00 00 01 f9 f9 f9 f9 f9 00 00 00 00 00 00 01 f9
ffffffff85ea5000: f9 f9 f9 f9 00 00 00 00 00 00 02 f9 f9 f9 f9 f9
>ffffffff85ea5080: 00 00 00 04 f9 f9 f9 f9 00 00 00 00 00 00 00 04
^
ffffffff85ea5100: f9 f9 f9 f9 04 f9 f9 f9 07 f9 f9 f9 06 f9 f9 f9
ffffffff85ea5180: 04 f9 f9 f9 00 05 f9 f9 04 f9 f9 f9 00 00 03 f9
==================================================================
aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 89 e5 mov %esp,%ebp
2: 5d pop %rbp
3: c3 ret
4: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
b: 00 00 00
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: b8 5c cc d4 e6 mov $0xe6d4cc5c,%eax
1e: 48 89 f0 mov %rsi,%rax
21: fb sti
22: 65 48 8b 0d 14 26 08 mov %gs:0x7b082614(%rip),%rcx # 0x7b08263e
29: 7b
* 2a: 48 8b 71 08 mov 0x8(%rcx),%rsi <-- trapping instruction
2e: 40 f6 c6 3f test $0x3f,%sil
32: 74 0a je 0x3e
34: 55 push %rbp
35: 48 89 e5 mov %rsp,%rbp
38: e8 41 c2 65 fc call 0xfc65c27e
3d: 5d pop %rbp
3e: c3 ret
3f: 66 data16