================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 6691 is out of range for type 'const int[34]'
CPU: 1 PID: 15846 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/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+0x1dd/0x5f0 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+0x58/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0033:0x7fe6a07bc587
Code: b1 17 0f 85 53 01 00 00 48 8b 83 88 00 00 00 8b 13 48 89 68 08 f6 c6 20 0f 84 cd 00 00 00 48 89 df e8 dd b8 00 00 89 c5 8b 03 <25> 00 80 00 00 85 c0 0f 85 0f ff ff ff 48 8b bb 88 00 00 00 80 3d
RSP: 002b:00007ffd0dcc2fd0 EFLAGS: 00000246
RAX: 00000000fbad240c RBX: 00005629db882770 RCX: 00005629db89caa0
RDX: 00000000fbad2c04 RSI: 00007fe6a0917b20 RDI: 00005629db882770
RBP: 0000000000000000 R08: 0000000000000020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 00007ffd0dcc3000
R13: 00007ffd0dcc3400 R14: 0000000000000000 R15: 00005629db8867a0
================================================================================
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff85e6d0cc by task udevd/15846
CPU: 1 PID: 15846 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/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: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+0x1dd/0x5f0 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+0x58/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0033:0x7fe6a07bc587
Code: b1 17 0f 85 53 01 00 00 48 8b 83 88 00 00 00 8b 13 48 89 68 08 f6 c6 20 0f 84 cd 00 00 00 48 89 df e8 dd b8 00 00 89 c5 8b 03 <25> 00 80 00 00 85 c0 0f 85 0f ff ff ff 48 8b bb 88 00 00 00 80 3d
RSP: 002b:00007ffd0dcc2fd0 EFLAGS: 00000246
RAX: 00000000fbad240c RBX: 00005629db882770 RCX: 00005629db89caa0
RDX: 00000000fbad2c04 RSI: 00007fe6a0917b20 RDI: 00005629db882770
RBP: 0000000000000000 R08: 0000000000000020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 00007ffd0dcc3000
R13: 00007ffd0dcc3400 R14: 0000000000000000 R15: 00005629db8867a0
The buggy address belongs to the variable:
.str.13+0xc/0x20
The buggy address belongs to the physical page:
page:ffffea0000179b40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e6d
flags: 0x1000(reserved|zone=0)
raw: 0000000000001000 ffffea0000179b48 ffffea0000179b48 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:
ffffffff85e6cf80: f9 f9 f9 f9 00 02 f9 f9 00 00 06 f9 f9 f9 f9 f9
ffffffff85e6d000: 00 00 07 f9 f9 f9 f9 f9 00 00 05 f9 f9 f9 f9 f9
>ffffffff85e6d080: 06 f9 f9 f9 01 f9 f9 f9 00 04 f9 f9 00 00 06 f9
^
ffffffff85e6d100: f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9 00 00 00 00
ffffffff85e6d180: 00 03 f9 f9 f9 f9 f9 f9 00 00 00 00 00 05 f9 f9
==================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 6692 is out of range for type 'const int[34]'
CPU: 1 PID: 15846 Comm: udevd Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/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+0x1dd/0x5f0 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+0x58/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0033:0x7fe6a07bc587
Code: b1 17 0f 85 53 01 00 00 48 8b 83 88 00 00 00 8b 13 48 89 68 08 f6 c6 20 0f 84 cd 00 00 00 48 89 df e8 dd b8 00 00 89 c5 8b 03 <25> 00 80 00 00 85 c0 0f 85 0f ff ff ff 48 8b bb 88 00 00 00 80 3d
RSP: 002b:00007ffd0dcc2fd0 EFLAGS: 00000246
RAX: 00000000fbad240c RBX: 00005629db882770 RCX: 00005629db89caa0
RDX: 00000000fbad2c04 RSI: 00007fe6a0917b20 RDI: 00005629db882770
RBP: 0000000000000000 R08: 0000000000000020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 00007ffd0dcc3000
R13: 00007ffd0dcc3400 R14: 0000000000000000 R15: 00005629db8867a0
================================================================================
aiptek 10-1:0.0: aiptek_irq - usb_submit_urb failed with result -19