------------[ cut here ]------------ 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 UID: 0 PID: 725 Comm: syz.0.82 Not tainted syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x20cb/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 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:io_init_req io_uring/io_uring.c:2136 [inline] RIP: 0010:io_submit_sqe io_uring/io_uring.c:2220 [inline] RIP: 0010:io_submit_sqes+0x6aa/0x1b30 io_uring/io_uring.c:2373 Code: 00 00 e8 89 7a e7 fe 49 bc 00 00 00 00 00 fc ff df 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 31 0b 00 00 45 0f b7 75 00 <44> 89 f6 81 e6 00 02 00 00 31 ff e8 f6 7d e7 fe 44 89 f0 25 00 02 RSP: 0018:ffffc900112afa78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90001a82000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900112afbd0 R08: ffff888137eeb877 R09: 0000000000000000 R10: ffff888137eeb868 R11: ffffed1026fdd70f R12: dffffc0000000000 R13: ffffffff8650c508 R14: 0000000000000f2f R15: ffff88812919a000 __do_sys_io_uring_enter io_uring/io_uring.c:3408 [inline] __se_sys_io_uring_enter+0x326/0x24f0 io_uring/io_uring.c:3339 __x64_sys_io_uring_enter+0xe9/0x110 io_uring/io_uring.c:3339 x64_sys_call+0x2d28/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fb97f99ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb980775f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 0000200000001000 RCX: 00007fb97f99ce59 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000000000ca RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000007e20 R13: 0000200000007e28 R14: 0000000000000001 R15: 00000000000000bd ---[ end trace ]--- ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20e9/0x2a00 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff8670f34c by task syz.0.82/725 CPU: 0 UID: 0 PID: 725 Comm: syz.0.82 Not tainted syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x20e9/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 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:io_init_req io_uring/io_uring.c:2136 [inline] RIP: 0010:io_submit_sqe io_uring/io_uring.c:2220 [inline] RIP: 0010:io_submit_sqes+0x6aa/0x1b30 io_uring/io_uring.c:2373 Code: 00 00 e8 89 7a e7 fe 49 bc 00 00 00 00 00 fc ff df 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 31 0b 00 00 45 0f b7 75 00 <44> 89 f6 81 e6 00 02 00 00 31 ff e8 f6 7d e7 fe 44 89 f0 25 00 02 RSP: 0018:ffffc900112afa78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90001a82000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900112afbd0 R08: ffff888137eeb877 R09: 0000000000000000 R10: ffff888137eeb868 R11: ffffed1026fdd70f R12: dffffc0000000000 R13: ffffffff8650c508 R14: 0000000000000f2f R15: ffff88812919a000 __do_sys_io_uring_enter io_uring/io_uring.c:3408 [inline] __se_sys_io_uring_enter+0x326/0x24f0 io_uring/io_uring.c:3339 __x64_sys_io_uring_enter+0xe9/0x110 io_uring/io_uring.c:3339 x64_sys_call+0x2d28/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fb97f99ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb980775f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 0000200000001000 RCX: 00007fb97f99ce59 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000000000ca RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000007e20 R13: 0000200000007e28 R14: 0000000000000001 R15: 00000000000000bd The buggy address belongs to the variable: .str.48+0xc/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x670f flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c3c8 ffffea000019c3c8 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: ffffffff8670f200: 07 f9 f9 f9 04 f9 f9 f9 06 f9 f9 f9 00 01 f9 f9 ffffffff8670f280: 05 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff8670f300: 00 00 00 00 f9 f9 f9 f9 06 f9 f9 f9 00 01 f9 f9 ^ ffffffff8670f380: 04 f9 f9 f9 00 f9 f9 f9 06 f9 f9 f9 07 f9 f9 f9 ffffffff8670f400: 06 f9 f9 f9 00 04 f9 f9 05 f9 f9 f9 00 03 f9 f9 ================================================================== ------------[ cut here ]------------ 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 UID: 0 PID: 725 Comm: syz.0.82 Tainted: G B syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x1f85/0x2a00 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 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:io_init_req io_uring/io_uring.c:2136 [inline] RIP: 0010:io_submit_sqe io_uring/io_uring.c:2220 [inline] RIP: 0010:io_submit_sqes+0x6aa/0x1b30 io_uring/io_uring.c:2373 Code: 00 00 e8 89 7a e7 fe 49 bc 00 00 00 00 00 fc ff df 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 31 0b 00 00 45 0f b7 75 00 <44> 89 f6 81 e6 00 02 00 00 31 ff e8 f6 7d e7 fe 44 89 f0 25 00 02 RSP: 0018:ffffc900112afa78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90001a82000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900112afbd0 R08: ffff888137eeb877 R09: 0000000000000000 R10: ffff888137eeb868 R11: ffffed1026fdd70f R12: dffffc0000000000 R13: ffffffff8650c508 R14: 0000000000000f2f R15: ffff88812919a000 __do_sys_io_uring_enter io_uring/io_uring.c:3408 [inline] __se_sys_io_uring_enter+0x326/0x24f0 io_uring/io_uring.c:3339 __x64_sys_io_uring_enter+0xe9/0x110 io_uring/io_uring.c:3339 x64_sys_call+0x2d28/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fb97f99ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb980775f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 0000200000001000 RCX: 00007fb97f99ce59 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000000000ca RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000007e20 R13: 0000200000007e28 R14: 0000000000000001 R15: 00000000000000bd ---[ end trace ]--- aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: e8 89 7a e7 fe call 0xfee77a90 7: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 e: fc ff df 11: 4c 89 e8 mov %r13,%rax 14: 48 c1 e8 03 shr $0x3,%rax 18: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax 1d: 84 c0 test %al,%al 1f: 0f 85 31 0b 00 00 jne 0xb56 25: 45 0f b7 75 00 movzwl 0x0(%r13),%r14d * 2a: 44 89 f6 mov %r14d,%esi <-- trapping instruction 2d: 81 e6 00 02 00 00 and $0x200,%esi 33: 31 ff xor %edi,%edi 35: e8 f6 7d e7 fe call 0xfee77e30 3a: 44 89 f0 mov %r14d,%eax 3d: 25 .byte 0x25 3e: 00 02 add %al,(%rdx)