------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 8837 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 12456 Comm: sed Not tainted syzkaller #0 ef3fe522eb78c0a5ba4bdac8f3746cbd31b933a5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
ubsan_epilogue+0xe/0x40 lib/ubsan.c:231
__ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429
aiptek_irq+0x208d/0x2a00 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:vma_data_pages+0x0/0x140 mm/pgsize_migration.c:496
Code: 48 21 de 0f 94 c3 31 ff e8 0d 21 b7 ff 89 d8 5b 41 5e 5d e9 12 f9 da 03 cc 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 50 49 89 fe 48
RSP: 0000:ffffc9000e1df9f8 EFLAGS: 00000246
RAX: 1ffff11025d80dc2 RBX: ffff88812ec06dc0 RCX: ffff888107b14f00
RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff88812ec06dc0
RBP: ffffc9000e1dfbf0 R08: ffffc9000e1dfda0 R09: 0000000000000004
R10: ffffc9000e1dfd6c R11: fffff52001c3bfb6 R12: 1ffff92001c3bf58
R13: dffffc0000000000 R14: 00000000644b1000 R15: 0000000000000000
handle_pte_fault mm/memory.c:5940 [inline]
__handle_mm_fault mm/memory.c:6083 [inline]
handle_mm_fault+0x1189/0x1ba0 mm/memory.c:6251
do_user_addr_fault+0x951/0x1230 arch/x86/mm/fault.c:1336
handle_page_fault arch/x86/mm/fault.c:1479 [inline]
exc_page_fault+0x58/0xc0 arch/x86/mm/fault.c:1534
asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f966479d289
Code: ff 49 8b 45 10 48 8b a5 b8 fe ff ff 48 85 c0 0f 84 0b 09 00 00 49 8b 75 00 48 8d 14 30 49 89 55 10 48 85 d2 0f 84 f6 08 00 00 <48> 8b 02 49 8d 4d 40 bf ff ff ff 6f 41 ba 29 00 00 70 48 85 c0 75
RSP: 002b:00007fff713a11b0 EFLAGS: 00010206
RAX: 000000000002c530 RBX: 0000000000000004 RCX: 00007f96647b8242
RDX: 00007f96644b1530 RSI: 00007f9664485000 RDI: 00007f96644b3000
RBP: 00007fff713a1300 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000032 R11: 00007fff713a13e8 R12: 00007fff713a1020
R13: 00007f9664781ab0 R14: 00007fff713a13a0 R15: 00007f96644b3000
---[ end trace ]---
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20ab/0x2a00 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff86714654 by task sed/12456
CPU: 1 UID: 0 PID: 12456 Comm: sed Not tainted syzkaller #0 ef3fe522eb78c0a5ba4bdac8f3746cbd31b933a5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
print_address_description+0x71/0x210 mm/kasan/report.c:377
print_report+0x4a/0x70 mm/kasan/report.c:481
kasan_report+0x162/0x1a0 mm/kasan/report.c:594
__asan_report_load4_noabort+0x18/0x20 mm/kasan/report_generic.c:380
aiptek_irq+0x20ab/0x2a00 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:vma_data_pages+0x0/0x140 mm/pgsize_migration.c:496
Code: 48 21 de 0f 94 c3 31 ff e8 0d 21 b7 ff 89 d8 5b 41 5e 5d e9 12 f9 da 03 cc 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 50 49 89 fe 48
RSP: 0000:ffffc9000e1df9f8 EFLAGS: 00000246
RAX: 1ffff11025d80dc2 RBX: ffff88812ec06dc0 RCX: ffff888107b14f00
RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff88812ec06dc0
RBP: ffffc9000e1dfbf0 R08: ffffc9000e1dfda0 R09: 0000000000000004
R10: ffffc9000e1dfd6c R11: fffff52001c3bfb6 R12: 1ffff92001c3bf58
R13: dffffc0000000000 R14: 00000000644b1000 R15: 0000000000000000
handle_pte_fault mm/memory.c:5940 [inline]
__handle_mm_fault mm/memory.c:6083 [inline]
handle_mm_fault+0x1189/0x1ba0 mm/memory.c:6251
do_user_addr_fault+0x951/0x1230 arch/x86/mm/fault.c:1336
handle_page_fault arch/x86/mm/fault.c:1479 [inline]
exc_page_fault+0x58/0xc0 arch/x86/mm/fault.c:1534
asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f966479d289
Code: ff 49 8b 45 10 48 8b a5 b8 fe ff ff 48 85 c0 0f 84 0b 09 00 00 49 8b 75 00 48 8d 14 30 49 89 55 10 48 85 d2 0f 84 f6 08 00 00 <48> 8b 02 49 8d 4d 40 bf ff ff ff 6f 41 ba 29 00 00 70 48 85 c0 75
RSP: 002b:00007fff713a11b0 EFLAGS: 00010206
RAX: 000000000002c530 RBX: 0000000000000004 RCX: 00007f96647b8242
RDX: 00007f96644b1530 RSI: 00007f9664485000 RDI: 00007f96644b3000
RBP: 00007fff713a1300 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000032 R11: 00007fff713a13e8 R12: 00007fff713a1020
R13: 00007f9664781ab0 R14: 00007fff713a13a0 R15: 00007f96644b3000
The buggy address belongs to the variable:
.str.22+0x34/0x40
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6714
flags: 0x4000(reserved|zone=0)
raw: 0000000000004000 ffffea000019c508 ffffea000019c508 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:
ffffffff86714500: 00 06 f9 f9 f9 f9 f9 f9 00 00 01 f9 f9 f9 f9 f9
ffffffff86714580: 00 00 05 f9 f9 f9 f9 f9 00 00 f9 f9 00 00 07 f9
>ffffffff86714600: f9 f9 f9 f9 00 00 00 f9 f9 f9 f9 f9 00 00 00 02
^
ffffffff86714680: f9 f9 f9 f9 00 00 00 f9 f9 f9 f9 f9 00 00 05 f9
ffffffff86714700: f9 f9 f9 f9 00 00 00 04 f9 f9 f9 f9 00 00 00 00
==================================================================
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 8838 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 12456 Comm: sed Tainted: G B syzkaller #0 ef3fe522eb78c0a5ba4bdac8f3746cbd31b933a5
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
ubsan_epilogue+0xe/0x40 lib/ubsan.c:231
__ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429
aiptek_irq+0x1f3c/0x2a00 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:vma_data_pages+0x0/0x140 mm/pgsize_migration.c:496
Code: 48 21 de 0f 94 c3 31 ff e8 0d 21 b7 ff 89 d8 5b 41 5e 5d e9 12 f9 da 03 cc 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 50 49 89 fe 48
RSP: 0000:ffffc9000e1df9f8 EFLAGS: 00000246
RAX: 1ffff11025d80dc2 RBX: ffff88812ec06dc0 RCX: ffff888107b14f00
RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff88812ec06dc0
RBP: ffffc9000e1dfbf0 R08: ffffc9000e1dfda0 R09: 0000000000000004
R10: ffffc9000e1dfd6c R11: fffff52001c3bfb6 R12: 1ffff92001c3bf58
R13: dffffc0000000000 R14: 00000000644b1000 R15: 0000000000000000
handle_pte_fault mm/memory.c:5940 [inline]
__handle_mm_fault mm/memory.c:6083 [inline]
handle_mm_fault+0x1189/0x1ba0 mm/memory.c:6251
do_user_addr_fault+0x951/0x1230 arch/x86/mm/fault.c:1336
handle_page_fault arch/x86/mm/fault.c:1479 [inline]
exc_page_fault+0x58/0xc0 arch/x86/mm/fault.c:1534
asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f966479d289
Code: ff 49 8b 45 10 48 8b a5 b8 fe ff ff 48 85 c0 0f 84 0b 09 00 00 49 8b 75 00 48 8d 14 30 49 89 55 10 48 85 d2 0f 84 f6 08 00 00 <48> 8b 02 49 8d 4d 40 bf ff ff ff 6f 41 ba 29 00 00 70 48 85 c0 75
RSP: 002b:00007fff713a11b0 EFLAGS: 00010206
RAX: 000000000002c530 RBX: 0000000000000004 RCX: 00007f96647b8242
RDX: 00007f96644b1530 RSI: 00007f9664485000 RDI: 00007f96644b3000
RBP: 00007fff713a1300 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000032 R11: 00007fff713a13e8 R12: 00007fff713a1020
R13: 00007f9664781ab0 R14: 00007fff713a13a0 R15: 00007f96644b3000
---[ end trace ]---
aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 48 21 de and %rbx,%rsi
3: 0f 94 c3 sete %bl
6: 31 ff xor %edi,%edi
8: e8 0d 21 b7 ff call 0xffb7211a
d: 89 d8 mov %ebx,%eax
f: 5b pop %rbx
10: 41 5e pop %r14
12: 5d pop %rbp
13: e9 12 f9 da 03 jmp 0x3daf92a
18: cc int3
19: 90 nop
1a: b8 00 00 00 00 mov $0x0,%eax
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: 90 nop
25: 90 nop
26: 90 nop
27: 90 nop
28: 90 nop
29: 90 nop
* 2a: 66 0f 1f 00 nopw (%rax) <-- trapping instruction
2e: 55 push %rbp
2f: 48 89 e5 mov %rsp,%rbp
32: 41 57 push %r15
34: 41 56 push %r14
36: 41 55 push %r13
38: 41 54 push %r12
3a: 53 push %rbx
3b: 50 push %rax
3c: 49 89 fe mov %rdi,%r14
3f: 48 rex.W