================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 547 is out of range for type 'const int[34]'
CPU: 0 PID: 334 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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+0x208d/0x29b0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x364/0x520 drivers/usb/core/hcd.c:1675
usb_hcd_giveback_urb+0x11c/0x410 drivers/usb/core/hcd.c:1758
dummy_timer+0x88c/0x3070 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x3bb/0x8e0 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+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:0x7fec3e779708
Code: 00 00 f8 0f 87 29 03 00 00 c5 fe 6f 07 c5 fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 61 90 f3 0f bc c9 0f b6 04 0f <0f> b6 0c 0e 29 c8 0f 01 d6 75 04 c5 f8 77 c3 c5 fc 77 c3 0f 1f 44
RSP: 002b:00007ffeecb55128 EFLAGS: 00000242
RAX: 000000000000006e RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000558617c6b841 RSI: 0000558617c654b0 RDI: 0000558617c6b841
RBP: 0000000000000005 R08: 0000558617c531a0 R09: 0000000000000020
R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000004
R13: 0000558617c51030 R14: 0000558617c6b841 R15: 00005585f1d7cbcc
================================================================================
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20ab/0x29b0 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff85e6ae4c by task udevd/334
CPU: 0 PID: 334 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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+0x20ab/0x29b0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x364/0x520 drivers/usb/core/hcd.c:1675
usb_hcd_giveback_urb+0x11c/0x410 drivers/usb/core/hcd.c:1758
dummy_timer+0x88c/0x3070 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x3bb/0x8e0 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+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:0x7fec3e779708
Code: 00 00 f8 0f 87 29 03 00 00 c5 fe 6f 07 c5 fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 61 90 f3 0f bc c9 0f b6 04 0f <0f> b6 0c 0e 29 c8 0f 01 d6 75 04 c5 f8 77 c3 c5 fc 77 c3 0f 1f 44
RSP: 002b:00007ffeecb55128 EFLAGS: 00000242
RAX: 000000000000006e RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000558617c6b841 RSI: 0000558617c654b0 RDI: 0000558617c6b841
RBP: 0000000000000005 R08: 0000558617c531a0 R09: 0000000000000020
R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000004
R13: 0000558617c51030 R14: 0000558617c6b841 R15: 00005585f1d7cbcc
The buggy address belongs to the variable:
.str.47+0xc/0x20
The buggy address belongs to the physical page:
page:ffffea0000179a80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e6a
flags: 0x1000(reserved|zone=0)
raw: 0000000000001000 ffffea0000179a88 ffffea0000179a88 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:
ffffffff85e6ad00: 06 f9 f9 f9 00 01 f9 f9 05 f9 f9 f9 00 00 00 00
ffffffff85e6ad80: 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9
>ffffffff85e6ae00: 06 f9 f9 f9 00 01 f9 f9 04 f9 f9 f9 00 f9 f9 f9
^
ffffffff85e6ae80: 06 f9 f9 f9 07 f9 f9 f9 06 f9 f9 f9 00 04 f9 f9
ffffffff85e6af00: 05 f9 f9 f9 00 03 f9 f9 00 03 f9 f9 00 00 00 00
==================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 548 is out of range for type 'const int[34]'
CPU: 0 PID: 334 Comm: udevd Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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+0x1f6d/0x29b0 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x364/0x520 drivers/usb/core/hcd.c:1675
usb_hcd_giveback_urb+0x11c/0x410 drivers/usb/core/hcd.c:1758
dummy_timer+0x88c/0x3070 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x3bb/0x8e0 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+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:0x7fec3e779708
Code: 00 00 f8 0f 87 29 03 00 00 c5 fe 6f 07 c5 fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 61 90 f3 0f bc c9 0f b6 04 0f <0f> b6 0c 0e 29 c8 0f 01 d6 75 04 c5 f8 77 c3 c5 fc 77 c3 0f 1f 44
RSP: 002b:00007ffeecb55128 EFLAGS: 00000242
RAX: 000000000000006e RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000558617c6b841 RSI: 0000558617c654b0 RDI: 0000558617c6b841
RBP: 0000000000000005 R08: 0000558617c531a0 R09: 0000000000000020
R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000004
R13: 0000558617c51030 R14: 0000558617c6b841 R15: 00005585f1d7cbcc
================================================================================
aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19