================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 26165 is out of range for type 'const int[34]'
CPU: 0 PID: 3207 Comm: syz.8.783 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/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+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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:209
Code: fb e8 23 00 00 00 48 8b 3d 1c 90 21 06 48 89 de e8 34 e4 44 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 90 fb 90 7e 65 8b 15 91 fb 90 7e
RSP: 0018:ffffc9000f02f3e0 EFLAGS: 00000246
RAX: 0000002b5e26238d RBX: dffffc0000000000 RCX: cfd73ba0fb2b7500
RDX: 1ffffffff0f6ea00 RSI: ffffffff87b7501c RDI: ffffea00050e8840
RBP: ffffc9000f02f410 R08: ffffffff87b75008 R09: ffffffff87b75018
R10: ffffffff87b75003 R11: 1ffffffff0f6ea00 R12: 0000000000000000
R13: ffffea00050e8868 R14: ffffea00050e8840 R15: dffffc0000000000
__reset_page_owner+0x34/0x190 mm/page_owner.c:164
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1581 [inline]
free_pcp_prepare mm/page_alloc.c:1655 [inline]
free_unref_page_prepare+0x81b/0x820 mm/page_alloc.c:3622
free_unref_page_list+0x117/0x8d0 mm/page_alloc.c:3773
release_pages+0xc7e/0xce0 mm/swap.c:1053
free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:316
tlb_batch_pages_flush mm/mmu_gather.c:59 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:254 [inline]
tlb_flush_mmu+0x107/0x1f0 mm/mmu_gather.c:261
zap_pte_range mm/memory.c:1550 [inline]
zap_pmd_range mm/memory.c:1599 [inline]
zap_pud_range mm/memory.c:1628 [inline]
zap_p4d_range mm/memory.c:1649 [inline]
unmap_page_range+0x20ed/0x2360 mm/memory.c:1670
unmap_single_vma mm/memory.c:1716 [inline]
unmap_vmas+0x34c/0x480 mm/memory.c:1756
exit_mmap+0x2a4/0xc10 mm/mmap.c:3371
__mmput+0x92/0x340 kernel/fork.c:1321
mmput+0x4b/0x150 kernel/fork.c:1345
exit_mm kernel/exit.c:575 [inline]
do_exit+0xa62/0x29f0 kernel/exit.c:883
do_group_exit+0x21b/0x2e0 kernel/exit.c:1040
__do_sys_exit_group kernel/exit.c:1051 [inline]
__se_sys_exit_group kernel/exit.c:1049 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1049
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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:0x7f9b2759f559
Code: Unable to access opcode bytes at 0x7f9b2759f52f.
RSP: 002b:00007ffe0def6cc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9b2759f559
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffe0def6d2c R08: 0000000000000000 R09: 00000000000927c0
R10: 0000000000000006 R11: 0000000000000246 R12: 000000000000001e
R13: 00000000000927c0 R14: 000000000002d40f R15: 00007ffe0def6d80
================================================================================
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff85e7ffd4 by task syz.8.783/3207
CPU: 0 PID: 3207 Comm: syz.8.783 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/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+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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:209
Code: fb e8 23 00 00 00 48 8b 3d 1c 90 21 06 48 89 de e8 34 e4 44 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 90 fb 90 7e 65 8b 15 91 fb 90 7e
RSP: 0018:ffffc9000f02f3e0 EFLAGS: 00000246
RAX: 0000002b5e26238d RBX: dffffc0000000000 RCX: cfd73ba0fb2b7500
RDX: 1ffffffff0f6ea00 RSI: ffffffff87b7501c RDI: ffffea00050e8840
RBP: ffffc9000f02f410 R08: ffffffff87b75008 R09: ffffffff87b75018
R10: ffffffff87b75003 R11: 1ffffffff0f6ea00 R12: 0000000000000000
R13: ffffea00050e8868 R14: ffffea00050e8840 R15: dffffc0000000000
__reset_page_owner+0x34/0x190 mm/page_owner.c:164
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1581 [inline]
free_pcp_prepare mm/page_alloc.c:1655 [inline]
free_unref_page_prepare+0x81b/0x820 mm/page_alloc.c:3622
free_unref_page_list+0x117/0x8d0 mm/page_alloc.c:3773
release_pages+0xc7e/0xce0 mm/swap.c:1053
free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:316
tlb_batch_pages_flush mm/mmu_gather.c:59 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:254 [inline]
tlb_flush_mmu+0x107/0x1f0 mm/mmu_gather.c:261
zap_pte_range mm/memory.c:1550 [inline]
zap_pmd_range mm/memory.c:1599 [inline]
zap_pud_range mm/memory.c:1628 [inline]
zap_p4d_range mm/memory.c:1649 [inline]
unmap_page_range+0x20ed/0x2360 mm/memory.c:1670
unmap_single_vma mm/memory.c:1716 [inline]
unmap_vmas+0x34c/0x480 mm/memory.c:1756
exit_mmap+0x2a4/0xc10 mm/mmap.c:3371
__mmput+0x92/0x340 kernel/fork.c:1321
mmput+0x4b/0x150 kernel/fork.c:1345
exit_mm kernel/exit.c:575 [inline]
do_exit+0xa62/0x29f0 kernel/exit.c:883
do_group_exit+0x21b/0x2e0 kernel/exit.c:1040
__do_sys_exit_group kernel/exit.c:1051 [inline]
__se_sys_exit_group kernel/exit.c:1049 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1049
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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:0x7f9b2759f559
Code: Unable to access opcode bytes at 0x7f9b2759f52f.
RSP: 002b:00007ffe0def6cc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9b2759f559
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffe0def6d2c R08: 0000000000000000 R09: 00000000000927c0
R10: 0000000000000006 R11: 0000000000000246 R12: 000000000000001e
R13: 00000000000927c0 R14: 000000000002d40f R15: 00007ffe0def6d80
The buggy address belongs to the variable:
.str.131+0x14/0x40
The buggy address belongs to the physical page:
page:ffffea0000179fc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e7f
flags: 0x1000(reserved|zone=0)
raw: 0000000000001000 ffffea0000179fc8 ffffea0000179fc8 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:
ffffffff85e7fe80: 00 00 07 f9 f9 f9 f9 f9 00 00 00 03 f9 f9 f9 f9
ffffffff85e7ff00: 00 00 03 f9 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9
>ffffffff85e7ff80: 00 00 07 f9 f9 f9 f9 f9 00 00 06 f9 f9 f9 f9 f9
^
ffffffff85e80000: 00 00 06 f9 f9 f9 f9 f9 00 00 06 f9 f9 f9 f9 f9
ffffffff85e80080: 00 00 04 f9 f9 f9 f9 f9 00 00 04 f9 f9 f9 f9 f9
==================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 26166 is out of range for type 'const int[34]'
CPU: 0 PID: 3207 Comm: syz.8.783 Tainted: G B W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/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+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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:209
Code: fb e8 23 00 00 00 48 8b 3d 1c 90 21 06 48 89 de e8 34 e4 44 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 90 fb 90 7e 65 8b 15 91 fb 90 7e
RSP: 0018:ffffc9000f02f3e0 EFLAGS: 00000246
RAX: 0000002b5e26238d RBX: dffffc0000000000 RCX: cfd73ba0fb2b7500
RDX: 1ffffffff0f6ea00 RSI: ffffffff87b7501c RDI: ffffea00050e8840
RBP: ffffc9000f02f410 R08: ffffffff87b75008 R09: ffffffff87b75018
R10: ffffffff87b75003 R11: 1ffffffff0f6ea00 R12: 0000000000000000
R13: ffffea00050e8868 R14: ffffea00050e8840 R15: dffffc0000000000
__reset_page_owner+0x34/0x190 mm/page_owner.c:164
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1581 [inline]
free_pcp_prepare mm/page_alloc.c:1655 [inline]
free_unref_page_prepare+0x81b/0x820 mm/page_alloc.c:3622
free_unref_page_list+0x117/0x8d0 mm/page_alloc.c:3773
release_pages+0xc7e/0xce0 mm/swap.c:1053
free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:316
tlb_batch_pages_flush mm/mmu_gather.c:59 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:254 [inline]
tlb_flush_mmu+0x107/0x1f0 mm/mmu_gather.c:261
zap_pte_range mm/memory.c:1550 [inline]
zap_pmd_range mm/memory.c:1599 [inline]
zap_pud_range mm/memory.c:1628 [inline]
zap_p4d_range mm/memory.c:1649 [inline]
unmap_page_range+0x20ed/0x2360 mm/memory.c:1670
unmap_single_vma mm/memory.c:1716 [inline]
unmap_vmas+0x34c/0x480 mm/memory.c:1756
exit_mmap+0x2a4/0xc10 mm/mmap.c:3371
__mmput+0x92/0x340 kernel/fork.c:1321
mmput+0x4b/0x150 kernel/fork.c:1345
exit_mm kernel/exit.c:575 [inline]
do_exit+0xa62/0x29f0 kernel/exit.c:883
do_group_exit+0x21b/0x2e0 kernel/exit.c:1040
__do_sys_exit_group kernel/exit.c:1051 [inline]
__se_sys_exit_group kernel/exit.c:1049 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1049
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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:0x7f9b2759f559
Code: Unable to access opcode bytes at 0x7f9b2759f52f.
RSP: 002b:00007ffe0def6cc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9b2759f559
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffe0def6d2c R08: 0000000000000000 R09: 00000000000927c0
R10: 0000000000000006 R11: 0000000000000246 R12: 000000000000001e
R13: 00000000000927c0 R14: 000000000002d40f R15: 00007ffe0def6d80
================================================================================
bridge0: received packet on bridge_slave_1 with own address as source address (addr:aa:aa:aa:aa:aa:1c, vlan:0)
aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
bridge0: received packet on bridge_slave_1 with own address as source address (addr:aa:aa:aa:aa:aa:1c, vlan:0)
----------------
Code disassembly (best guess):
0: fb sti
1: e8 23 00 00 00 call 0x29
6: 48 8b 3d 1c 90 21 06 mov 0x621901c(%rip),%rdi # 0x6219029
d: 48 89 de mov %rbx,%rsi
10: e8 34 e4 44 00 call 0x44e449
15: 5b pop %rbx
16: 5d pop %rbp
17: c3 ret
18: 00 90 90 90 90 90 add %dl,-0x6f6f6f70(%rax)
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: b8 0c 67 40 a5 mov $0xa540670c,%eax
29: 55 push %rbp
* 2a: 48 89 e5 mov %rsp,%rbp <-- trapping instruction
2d: 48 8b 45 08 mov 0x8(%rbp),%rax
31: 65 48 8b 0d 90 fb 90 mov %gs:0x7e90fb90(%rip),%rcx # 0x7e90fbc9
38: 7e
39: 65 8b 15 91 fb 90 7e mov %gs:0x7e90fb91(%rip),%edx # 0x7e90fbd1