------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1791 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 355 Comm: udevd Not tainted syzkaller #0 5b18096d2acadad9f3a622c0de28b00c51d60767 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 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+0x1aa/0x620 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:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210 Code: 98 05 48 89 de e8 e0 ba 54 00 5b 5d e9 19 da 1f 04 cc cc cc cc cc cc cc cc cc b8 43 db 6f 98 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 48 8b 45 08 65 48 8b 0d 4c 74 7d 7e 65 8b RSP: 0018:ffffc9000b8bf948 EFLAGS: 00000246 RAX: 1ffffffff0c6e4e1 RBX: ffff888113780770 RCX: ffff888113950000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b8bf980 R08: ffffffff88c09bd7 R09: 1ffffffff118137a R10: 0000000000000000 R11: ffffffff81f6bc30 R12: dffffc0000000000 R13: 1ffff110226f00ee R14: ffffffff86372700 R15: ffffffff86372708 simple_lookup+0xba/0x100 fs/libfs.c:79 lookup_open fs/namei.c:3581 [inline] open_last_lookups fs/namei.c:3702 [inline] path_openat+0x1127/0x35a0 fs/namei.c:3938 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7f6fb5315c3a Code: 41 89 f2 48 89 54 24 e0 41 83 e2 40 75 2a 89 f0 f7 d0 a9 00 00 41 00 74 1f 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 2e c3 0f 1f 44 00 00 48 8d 44 24 08 c7 44 24 RSP: 002b:00007fff006af488 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fff006af4c0 RCX: 00007f6fb5315c3a RDX: 0000000000090800 RSI: 00007fff006af8c0 RDI: 00000000ffffff9c RBP: 000000000000000d R08: 0000564ff660af80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000564ff6602d40 R13: 00007fff006b00c0 R14: 00007fff006afcc0 R15: 00007fff006af8c0 ---[ 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 ffffffff86706cfc by task udevd/355 CPU: 1 UID: 0 PID: 355 Comm: udevd Not tainted syzkaller #0 5b18096d2acadad9f3a622c0de28b00c51d60767 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 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+0x1aa/0x620 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:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210 Code: 98 05 48 89 de e8 e0 ba 54 00 5b 5d e9 19 da 1f 04 cc cc cc cc cc cc cc cc cc b8 43 db 6f 98 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 48 8b 45 08 65 48 8b 0d 4c 74 7d 7e 65 8b RSP: 0018:ffffc9000b8bf948 EFLAGS: 00000246 RAX: 1ffffffff0c6e4e1 RBX: ffff888113780770 RCX: ffff888113950000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b8bf980 R08: ffffffff88c09bd7 R09: 1ffffffff118137a R10: 0000000000000000 R11: ffffffff81f6bc30 R12: dffffc0000000000 R13: 1ffff110226f00ee R14: ffffffff86372700 R15: ffffffff86372708 simple_lookup+0xba/0x100 fs/libfs.c:79 lookup_open fs/namei.c:3581 [inline] open_last_lookups fs/namei.c:3702 [inline] path_openat+0x1127/0x35a0 fs/namei.c:3938 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7f6fb5315c3a Code: 41 89 f2 48 89 54 24 e0 41 83 e2 40 75 2a 89 f0 f7 d0 a9 00 00 41 00 74 1f 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 2e c3 0f 1f 44 00 00 48 8d 44 24 08 c7 44 24 RSP: 002b:00007fff006af488 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fff006af4c0 RCX: 00007f6fb5315c3a RDX: 0000000000090800 RSI: 00007fff006af8c0 RDI: 00000000ffffff9c RBP: 000000000000000d R08: 0000564ff660af80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000564ff6602d40 R13: 00007fff006b00c0 R14: 00007fff006afcc0 R15: 00007fff006af8c0 The buggy address belongs to the variable: .str.7+0x1c/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6706 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c188 ffffea000019c188 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: ffffffff86706b80: 00 00 00 f9 f9 f9 f9 f9 00 02 f9 f9 00 00 02 f9 ffffffff86706c00: f9 f9 f9 f9 00 00 00 f9 f9 f9 f9 f9 00 00 00 03 >ffffffff86706c80: f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9 00 03 f9 f9 ^ ffffffff86706d00: 00 00 05 f9 f9 f9 f9 f9 00 00 00 03 f9 f9 f9 f9 ffffffff86706d80: 00 00 f9 f9 00 00 00 f9 f9 f9 f9 f9 03 f9 f9 f9 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 1792 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 355 Comm: udevd Tainted: G B syzkaller #0 5b18096d2acadad9f3a622c0de28b00c51d60767 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 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+0x1aa/0x620 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:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210 Code: 98 05 48 89 de e8 e0 ba 54 00 5b 5d e9 19 da 1f 04 cc cc cc cc cc cc cc cc cc b8 43 db 6f 98 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 48 8b 45 08 65 48 8b 0d 4c 74 7d 7e 65 8b RSP: 0018:ffffc9000b8bf948 EFLAGS: 00000246 RAX: 1ffffffff0c6e4e1 RBX: ffff888113780770 RCX: ffff888113950000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b8bf980 R08: ffffffff88c09bd7 R09: 1ffffffff118137a R10: 0000000000000000 R11: ffffffff81f6bc30 R12: dffffc0000000000 R13: 1ffff110226f00ee R14: ffffffff86372700 R15: ffffffff86372708 simple_lookup+0xba/0x100 fs/libfs.c:79 lookup_open fs/namei.c:3581 [inline] open_last_lookups fs/namei.c:3702 [inline] path_openat+0x1127/0x35a0 fs/namei.c:3938 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7f6fb5315c3a Code: 41 89 f2 48 89 54 24 e0 41 83 e2 40 75 2a 89 f0 f7 d0 a9 00 00 41 00 74 1f 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 2e c3 0f 1f 44 00 00 48 8d 44 24 08 c7 44 24 RSP: 002b:00007fff006af488 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fff006af4c0 RCX: 00007f6fb5315c3a RDX: 0000000000090800 RSI: 00007fff006af8c0 RDI: 00000000ffffff9c RBP: 000000000000000d R08: 0000564ff660af80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000564ff6602d40 R13: 00007fff006b00c0 R14: 00007fff006afcc0 R15: 00007fff006af8c0 ---[ end trace ]--- aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 98 cwtl 1: 05 48 89 de e8 add $0xe8de8948,%eax 6: e0 ba loopne 0xffffffc2 8: 54 push %rsp 9: 00 5b 5d add %bl,0x5d(%rbx) c: e9 19 da 1f 04 jmp 0x41fda2a 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: cc int3 16: cc int3 17: cc int3 18: cc int3 19: cc int3 1a: b8 43 db 6f 98 mov $0x986fdb43,%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: f3 0f 1e fa endbr64 <-- trapping instruction 2e: 55 push %rbp 2f: 48 89 e5 mov %rsp,%rbp 32: 48 8b 45 08 mov 0x8(%rbp),%rax 36: 65 48 8b 0d 4c 74 7d mov %gs:0x7e7d744c(%rip),%rcx # 0x7e7d748a 3d: 7e 3e: 65 gs 3f: 8b .byte 0x8b