================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 767 is out of range for type 'const int[34]' CPU: 1 PID: 5001 Comm: syz.1.1028 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 ea cd 5a 00 e8 c5 db f8 00 fa e8 3f 2c 9b 03 65 48 8b 05 87 59 a2 7e 4c 8b 30 41 f7 c6 0e 30 02 00 74 5b fb 41 f6 c6 08 <74> 05 e8 ef 70 a0 03 41 f7 c6 00 10 00 00 74 08 48 89 df e8 8e 98 RSP: 0000:ffffc90000cc7ed0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90000cc7f58 RCX: 4e5584a77693c200 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000cc7f58 RBP: ffffc90000cc7ee0 R08: ffff88811d273cc7 R09: 1ffff11023a4e798 R10: dffffc0000000000 R11: ffffed1023a4e799 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88811d273cc0 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:0x7fae31a55368 Code: 1f 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 47 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01 49 89 47 10 <83> e9 01 73 d3 41 81 fe 00 01 00 00 0f 85 c6 fe ff ff e9 08 ff ff RSP: 002b:00007fae32a32470 EFLAGS: 00000212 RAX: 00000000000bc340 RBX: 00007fae32a32530 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fae32a325d0 RBP: 0000000000000102 R08: 00007fae281f8000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fae32a32540 R12: 0000000000000001 R13: 00007fae31c55e20 R14: 0000000000000000 R15: 00007fae32a325d0 ================================================================================ ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff85e66f3c by task syz.1.1028/5001 CPU: 1 PID: 5001 Comm: syz.1.1028 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 ea cd 5a 00 e8 c5 db f8 00 fa e8 3f 2c 9b 03 65 48 8b 05 87 59 a2 7e 4c 8b 30 41 f7 c6 0e 30 02 00 74 5b fb 41 f6 c6 08 <74> 05 e8 ef 70 a0 03 41 f7 c6 00 10 00 00 74 08 48 89 df e8 8e 98 RSP: 0000:ffffc90000cc7ed0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90000cc7f58 RCX: 4e5584a77693c200 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000cc7f58 RBP: ffffc90000cc7ee0 R08: ffff88811d273cc7 R09: 1ffff11023a4e798 R10: dffffc0000000000 R11: ffffed1023a4e799 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88811d273cc0 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:0x7fae31a55368 Code: 1f 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 47 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01 49 89 47 10 <83> e9 01 73 d3 41 81 fe 00 01 00 00 0f 85 c6 fe ff ff e9 08 ff ff RSP: 002b:00007fae32a32470 EFLAGS: 00000212 RAX: 00000000000bc340 RBX: 00007fae32a32530 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fae32a325d0 RBP: 0000000000000102 R08: 00007fae281f8000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fae32a32540 R12: 0000000000000001 R13: 00007fae31c55e20 R14: 0000000000000000 R15: 00007fae32a325d0 The buggy address belongs to the variable: .str.76+0x1c/0x20 The buggy address belongs to the physical page: page:ffffea0000179980 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e66 flags: 0x1000(reserved|zone=0) raw: 0000000000001000 ffffea0000179988 ffffea0000179988 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: ffffffff85e66e00: 00 00 00 00 f9 f9 f9 f9 00 01 f9 f9 00 f9 f9 f9 ffffffff85e66e80: 00 03 f9 f9 00 06 f9 f9 06 f9 f9 f9 00 05 f9 f9 >ffffffff85e66f00: 06 f9 f9 f9 06 f9 f9 f9 00 00 00 00 00 00 f9 f9 ^ ffffffff85e66f80: f9 f9 f9 f9 00 05 f9 f9 00 03 f9 f9 05 f9 f9 f9 ffffffff85e67000: 07 f9 f9 f9 06 f9 f9 f9 00 00 00 00 00 00 00 00 ================================================================== ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 768 is out of range for type 'const int[34]' CPU: 1 PID: 5001 Comm: syz.1.1028 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 ea cd 5a 00 e8 c5 db f8 00 fa e8 3f 2c 9b 03 65 48 8b 05 87 59 a2 7e 4c 8b 30 41 f7 c6 0e 30 02 00 74 5b fb 41 f6 c6 08 <74> 05 e8 ef 70 a0 03 41 f7 c6 00 10 00 00 74 08 48 89 df e8 8e 98 RSP: 0000:ffffc90000cc7ed0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90000cc7f58 RCX: 4e5584a77693c200 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90000cc7f58 RBP: ffffc90000cc7ee0 R08: ffff88811d273cc7 R09: 1ffff11023a4e798 R10: dffffc0000000000 R11: ffffed1023a4e799 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88811d273cc0 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:0x7fae31a55368 Code: 1f 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 47 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01 49 89 47 10 <83> e9 01 73 d3 41 81 fe 00 01 00 00 0f 85 c6 fe ff ff e9 08 ff ff RSP: 002b:00007fae32a32470 EFLAGS: 00000212 RAX: 00000000000bc340 RBX: 00007fae32a32530 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fae32a325d0 RBP: 0000000000000102 R08: 00007fae281f8000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fae32a32540 R12: 0000000000000001 R13: 00007fae31c55e20 R14: 0000000000000000 R15: 00007fae32a325d0 ================================================================================ aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ip6_tunnel: ip6tnl1 xmit: Local address not yet configured! ip6_tunnel: ip6gretap1 xmit: Local address not yet configured! ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 ea cd 5a 00 call 0x5acdef 5: e8 c5 db f8 00 call 0xf8dbcf a: fa cli b: e8 3f 2c 9b 03 call 0x39b2c4f 10: 65 48 8b 05 87 59 a2 mov %gs:0x7ea25987(%rip),%rax # 0x7ea2599f 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 ef 70 a0 03 call 0x3a0711f 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: 8e .byte 0x8e 3e: 98 cwtl