------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 48833 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 751 Comm: syz.4.136 Not tainted syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9 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+0x3ab/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:__sanitizer_cov_trace_pc+0x60/0x70 kernel/kcov.c:235 Code: 98 0c 00 00 83 fa 02 75 21 48 8b 91 a0 0c 00 00 48 8b 32 48 8d 7e 01 8b 89 9c 0c 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 <5d> c3 cc cc cc cc cc 66 0f 1f 84 00 00 00 00 00 b8 4f 18 2c fb 90 RSP: 0018:ffffc9000b8cfa50 EFLAGS: 00000293 RAX: ffffffff81c59cff RBX: ffffea0004cc5680 RCX: ffff88811426a780 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b8cfa50 R08: ffffea0004cc5687 R09: 1ffffd4000998ad0 R10: dffffc0000000000 R11: fffff94000998ad1 R12: dffffc0000000000 R13: 1ffffd4000998ad0 R14: 1ffff92001719f50 R15: 0000000000000200 lru_gen_inc_refs mm/swap.c:433 [inline] folio_mark_accessed+0x35f/0x620 mm/swap.c:489 mark_page_accessed+0x59/0x70 mm/folio-compat.c:39 follow_page_pte+0x8e9/0xba0 mm/gup.c:952 follow_pmd_mask mm/gup.c:-1 [inline] follow_pud_mask mm/gup.c:1041 [inline] follow_p4d_mask mm/gup.c:1058 [inline] follow_page_mask mm/gup.c:1101 [inline] __get_user_pages+0x87f/0x22d0 mm/gup.c:1506 populate_vma_page_range mm/gup.c:1946 [inline] __mm_populate+0x300/0x440 mm/gup.c:2049 mm_populate include/linux/mm.h:3551 [inline] __do_sys_mlockall mm/mlock.c:773 [inline] __se_sys_mlockall+0x483/0x510 mm/mlock.c:749 __x64_sys_mlockall+0x3c/0x60 mm/mlock.c:749 x64_sys_call+0x1bcf/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:152 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:0x7fcb3999fb19 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:00007fcb3a86b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000097 RAX: ffffffffffffffda RBX: 00007fcb39c26090 RCX: 00007fcb3999fb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fcb39a37b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcb39c26128 R14: 00007fcb39c26090 R15: 00007fff94b4aa28 ---[ 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 ffffffff8673bcc4 by task syz.4.136/751 CPU: 0 UID: 0 PID: 751 Comm: syz.4.136 Not tainted syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9 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+0x3ab/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:__sanitizer_cov_trace_pc+0x60/0x70 kernel/kcov.c:235 Code: 98 0c 00 00 83 fa 02 75 21 48 8b 91 a0 0c 00 00 48 8b 32 48 8d 7e 01 8b 89 9c 0c 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 <5d> c3 cc cc cc cc cc 66 0f 1f 84 00 00 00 00 00 b8 4f 18 2c fb 90 RSP: 0018:ffffc9000b8cfa50 EFLAGS: 00000293 RAX: ffffffff81c59cff RBX: ffffea0004cc5680 RCX: ffff88811426a780 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b8cfa50 R08: ffffea0004cc5687 R09: 1ffffd4000998ad0 R10: dffffc0000000000 R11: fffff94000998ad1 R12: dffffc0000000000 R13: 1ffffd4000998ad0 R14: 1ffff92001719f50 R15: 0000000000000200 lru_gen_inc_refs mm/swap.c:433 [inline] folio_mark_accessed+0x35f/0x620 mm/swap.c:489 mark_page_accessed+0x59/0x70 mm/folio-compat.c:39 follow_page_pte+0x8e9/0xba0 mm/gup.c:952 follow_pmd_mask mm/gup.c:-1 [inline] follow_pud_mask mm/gup.c:1041 [inline] follow_p4d_mask mm/gup.c:1058 [inline] follow_page_mask mm/gup.c:1101 [inline] __get_user_pages+0x87f/0x22d0 mm/gup.c:1506 populate_vma_page_range mm/gup.c:1946 [inline] __mm_populate+0x300/0x440 mm/gup.c:2049 mm_populate include/linux/mm.h:3551 [inline] __do_sys_mlockall mm/mlock.c:773 [inline] __se_sys_mlockall+0x483/0x510 mm/mlock.c:749 __x64_sys_mlockall+0x3c/0x60 mm/mlock.c:749 x64_sys_call+0x1bcf/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:152 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:0x7fcb3999fb19 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:00007fcb3a86b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000097 RAX: ffffffffffffffda RBX: 00007fcb39c26090 RCX: 00007fcb3999fb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fcb39a37b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcb39c26128 R14: 00007fcb39c26090 R15: 00007fff94b4aa28 The buggy address belongs to the variable: .str.22+0x44/0xc0 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x673b flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019cec8 ffffea000019cec8 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: ffffffff8673bb80: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 01 f9 f9 ffffffff8673bc00: f9 f9 f9 f9 00 00 00 00 00 00 00 00 f9 f9 f9 f9 >ffffffff8673bc80: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 ^ ffffffff8673bd00: 00 00 00 00 00 00 00 00 00 00 01 f9 f9 f9 f9 f9 ffffffff8673bd80: 00 00 00 00 00 00 02 f9 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 48834 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 751 Comm: syz.4.136 Tainted: G B syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9 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+0x3ab/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:__sanitizer_cov_trace_pc+0x60/0x70 kernel/kcov.c:235 Code: 98 0c 00 00 83 fa 02 75 21 48 8b 91 a0 0c 00 00 48 8b 32 48 8d 7e 01 8b 89 9c 0c 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 <5d> c3 cc cc cc cc cc 66 0f 1f 84 00 00 00 00 00 b8 4f 18 2c fb 90 RSP: 0018:ffffc9000b8cfa50 EFLAGS: 00000293 RAX: ffffffff81c59cff RBX: ffffea0004cc5680 RCX: ffff88811426a780 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b8cfa50 R08: ffffea0004cc5687 R09: 1ffffd4000998ad0 R10: dffffc0000000000 R11: fffff94000998ad1 R12: dffffc0000000000 R13: 1ffffd4000998ad0 R14: 1ffff92001719f50 R15: 0000000000000200 lru_gen_inc_refs mm/swap.c:433 [inline] folio_mark_accessed+0x35f/0x620 mm/swap.c:489 mark_page_accessed+0x59/0x70 mm/folio-compat.c:39 follow_page_pte+0x8e9/0xba0 mm/gup.c:952 follow_pmd_mask mm/gup.c:-1 [inline] follow_pud_mask mm/gup.c:1041 [inline] follow_p4d_mask mm/gup.c:1058 [inline] follow_page_mask mm/gup.c:1101 [inline] __get_user_pages+0x87f/0x22d0 mm/gup.c:1506 populate_vma_page_range mm/gup.c:1946 [inline] __mm_populate+0x300/0x440 mm/gup.c:2049 mm_populate include/linux/mm.h:3551 [inline] __do_sys_mlockall mm/mlock.c:773 [inline] __se_sys_mlockall+0x483/0x510 mm/mlock.c:749 __x64_sys_mlockall+0x3c/0x60 mm/mlock.c:749 x64_sys_call+0x1bcf/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:152 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:0x7fcb3999fb19 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:00007fcb3a86b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000097 RAX: ffffffffffffffda RBX: 00007fcb39c26090 RCX: 00007fcb3999fb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fcb39a37b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcb39c26128 R14: 00007fcb39c26090 R15: 00007fff94b4aa28 ---[ end trace ]--- aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 98 cwtl 1: 0c 00 or $0x0,%al 3: 00 83 fa 02 75 21 add %al,0x217502fa(%rbx) 9: 48 8b 91 a0 0c 00 00 mov 0xca0(%rcx),%rdx 10: 48 8b 32 mov (%rdx),%rsi 13: 48 8d 7e 01 lea 0x1(%rsi),%rdi 17: 8b 89 9c 0c 00 00 mov 0xc9c(%rcx),%ecx 1d: 48 39 cf cmp %rcx,%rdi 20: 73 08 jae 0x2a 22: 48 89 3a mov %rdi,(%rdx) 25: 48 89 44 f2 08 mov %rax,0x8(%rdx,%rsi,8) * 2a: 5d pop %rbp <-- trapping instruction 2b: c3 ret 2c: cc int3 2d: cc int3 2e: cc int3 2f: cc int3 30: cc int3 31: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 38: 00 00 3a: b8 4f 18 2c fb mov $0xfb2c184f,%eax 3f: 90 nop