================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 28415 is out of range for type 'const int[34]'
CPU: 1 PID: 103 Comm: udevd 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: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:exit_to_user_mode_loop+0x4a/0xb0 kernel/entry/common.c:164
Code: 00 e8 ba bd 5a 00 e8 f5 82 f8 00 fa e8 bf be 9a 03 65 48 8b 05 07 5c a2 7e 4c 8b 30 41 f7 c6 0e 30 02 00 74 5b fb 41 f6 c6 08 <74> 05 e8 6f 03 a0 03 41 f7 c6 00 10 00 00 74 08 48 89 df e8 6e 97
RSP: 0000:ffffc90000a47ed0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc90000a47f58 RCX: a08c97129af88e00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000a47f58
RBP: ffffc90000a47ee0 R08: ffff888110686547 R09: 1ffff110220d0ca8
R10: dffffc0000000000 R11: ffffed10220d0ca9 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000008 R15: ffff888110686540
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
irqentry_exit+0x12/0x40 kernel/entry/common.c:419
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: 0033:0x7f5f52cbac42
Code: 84 80 01 00 00 eb 73 90 e8 8b b2 ff ff e9 0e fe ff ff 66 0f 1f 44 00 00 48 8b 2d e9 6e 13 00 4c 8d 2d 82 6e 13 00 4c 8b 65 08 <49> 83 e4 f8 e9 62 ff ff ff 0f 1f 44 00 00 48 8b 05 81 61 13 00 64
RSP: 002b:00007fffff4a89a0 EFLAGS: 00000202
RAX: 0000000000000040 RBX: 0000000000000030 RCX: 0000000000000000
RDX: 000055d965104010 RSI: 0000000000000030 RDI: 0000000000000001
RBP: 000055d96542a7f0 R08: 0000000000000020 R09: 000055d965356cc0
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000017811
R13: 00007f5f52df1ac0 R14: 0000000000000001 R15: 000055d965345000
================================================================================
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff85e81c3c by task udevd/103
CPU: 1 PID: 103 Comm: udevd 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: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:exit_to_user_mode_loop+0x4a/0xb0 kernel/entry/common.c:164
Code: 00 e8 ba bd 5a 00 e8 f5 82 f8 00 fa e8 bf be 9a 03 65 48 8b 05 07 5c a2 7e 4c 8b 30 41 f7 c6 0e 30 02 00 74 5b fb 41 f6 c6 08 <74> 05 e8 6f 03 a0 03 41 f7 c6 00 10 00 00 74 08 48 89 df e8 6e 97
RSP: 0000:ffffc90000a47ed0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc90000a47f58 RCX: a08c97129af88e00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000a47f58
RBP: ffffc90000a47ee0 R08: ffff888110686547 R09: 1ffff110220d0ca8
R10: dffffc0000000000 R11: ffffed10220d0ca9 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000008 R15: ffff888110686540
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
irqentry_exit+0x12/0x40 kernel/entry/common.c:419
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: 0033:0x7f5f52cbac42
Code: 84 80 01 00 00 eb 73 90 e8 8b b2 ff ff e9 0e fe ff ff 66 0f 1f 44 00 00 48 8b 2d e9 6e 13 00 4c 8d 2d 82 6e 13 00 4c 8b 65 08 <49> 83 e4 f8 e9 62 ff ff ff 0f 1f 44 00 00 48 8b 05 81 61 13 00 64
RSP: 002b:00007fffff4a89a0 EFLAGS: 00000202
RAX: 0000000000000040 RBX: 0000000000000030 RCX: 0000000000000000
RDX: 000055d965104010 RSI: 0000000000000030 RDI: 0000000000000001
RBP: 000055d96542a7f0 R08: 0000000000000020 R09: 000055d965356cc0
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000017811
R13: 00007f5f52df1ac0 R14: 0000000000000001 R15: 000055d965345000
The buggy address belongs to the variable:
.str.281+0x3c/0x40
The buggy address belongs to the physical page:
page:ffffea000017a040 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e81
flags: 0x1000(reserved|zone=0)
raw: 0000000000001000 ffffea000017a048 ffffea000017a048 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:
ffffffff85e81b00: 00 00 00 06 f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9
ffffffff85e81b80: 00 00 00 06 f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9
>ffffffff85e81c00: 00 00 00 06 f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9
^
ffffffff85e81c80: 00 00 00 06 f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9
ffffffff85e81d00: 00 00 00 05 f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9
==================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 28416 is out of range for type 'const int[34]'
CPU: 1 PID: 103 Comm: udevd 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: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:exit_to_user_mode_loop+0x4a/0xb0 kernel/entry/common.c:164
Code: 00 e8 ba bd 5a 00 e8 f5 82 f8 00 fa e8 bf be 9a 03 65 48 8b 05 07 5c a2 7e 4c 8b 30 41 f7 c6 0e 30 02 00 74 5b fb 41 f6 c6 08 <74> 05 e8 6f 03 a0 03 41 f7 c6 00 10 00 00 74 08 48 89 df e8 6e 97
RSP: 0000:ffffc90000a47ed0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc90000a47f58 RCX: a08c97129af88e00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000a47f58
RBP: ffffc90000a47ee0 R08: ffff888110686547 R09: 1ffff110220d0ca8
R10: dffffc0000000000 R11: ffffed10220d0ca9 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000008 R15: ffff888110686540
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
irqentry_exit+0x12/0x40 kernel/entry/common.c:419
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: 0033:0x7f5f52cbac42
Code: 84 80 01 00 00 eb 73 90 e8 8b b2 ff ff e9 0e fe ff ff 66 0f 1f 44 00 00 48 8b 2d e9 6e 13 00 4c 8d 2d 82 6e 13 00 4c 8b 65 08 <49> 83 e4 f8 e9 62 ff ff ff 0f 1f 44 00 00 48 8b 05 81 61 13 00 64
RSP: 002b:00007fffff4a89a0 EFLAGS: 00000202
RAX: 0000000000000040 RBX: 0000000000000030 RCX: 0000000000000000
RDX: 000055d965104010 RSI: 0000000000000030 RDI: 0000000000000001
RBP: 000055d96542a7f0 R08: 0000000000000020 R09: 000055d965356cc0
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000017811
R13: 00007f5f52df1ac0 R14: 0000000000000001 R15: 000055d965345000
================================================================================
aiptek 6-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess), 1 bytes skipped:
0: e8 ba bd 5a 00 call 0x5abdbf
5: e8 f5 82 f8 00 call 0xf882ff
a: fa cli
b: e8 bf be 9a 03 call 0x39abecf
10: 65 48 8b 05 07 5c a2 mov %gs:0x7ea25c07(%rip),%rax # 0x7ea25c1f
17: 7e
18: 4c 8b 30 mov (%rax),%r14
1b: 41 f7 c6 0e 30 02 00 test $0x2300e,%r14d
22: 74 5b je 0x7f
24: fb sti
25: 41 f6 c6 08 test $0x8,%r14b
* 29: 74 05 je 0x30 <-- trapping instruction
2b: e8 6f 03 a0 03 call 0x3a0039f
30: 41 f7 c6 00 10 00 00 test $0x1000,%r14d
37: 74 08 je 0x41
39: 48 89 df mov %rbx,%rdi
3c: e8 .byte 0xe8
3d: 6e outsb %ds:(%rsi),(%dx)
3e: 97 xchg %eax,%edi