------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 2303 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 320 Comm: udevd Not tainted syzkaller #0 6d6f333215c564de92c741644a4b57c848379815 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/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:update_stack_state+0x37f/0x4d0 arch/x86/kernel/unwind_frame.c:244 Code: c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 80 3c 38 00 74 08 4c 89 f7 e8 4f 7d 9e 00 48 8b 45 98 49 89 06 49 89 c6 48 8b 45 a0 <42> 80 3c 38 00 48 8b 45 d0 4c 8d 60 58 74 08 4c 89 e7 e8 2a 7d 9e RSP: 0018:ffffc9000b8478e8 EFLAGS: 00000246 RAX: 1ffff92001708f4c RBX: ffffc9000b847a10 RCX: ffffc9000b847f01 RDX: ffffc9000b847f10 RSI: 1ffff92001708f42 RDI: 0000000000000000 RBP: ffffc9000b847998 R08: ffffc9000b847ad0 R09: ffffc9000b847ac8 R10: 0000000000000007 R11: ffffffff81778d20 R12: ffffc9000b848000 R13: 1ffff92001708f49 R14: ffffc9000b847f10 R15: dffffc0000000000 unwind_next_frame+0x39e/0x6b0 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x138/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack+0x3e/0x60 mm/kasan/common.c:49 __kasan_record_aux_stack+0xb2/0xd0 mm/kasan/generic.c:541 kasan_record_aux_stack_noalloc+0xf/0x20 mm/kasan/generic.c:551 slab_free_hook mm/slub.c:2406 [inline] slab_free mm/slub.c:4716 [inline] kmem_cache_free+0x49e/0x4f0 mm/slub.c:4827 file_free fs/file_table.c:78 [inline] __fput+0x71e/0xa30 fs/file_table.c:460 __fput_sync+0x4a/0x70 fs/file_table.c:532 __do_sys_close fs/open.c:1586 [inline] __se_sys_close+0x172/0x1f0 fs/open.c:1571 __x64_sys_close+0x3c/0x60 fs/open.c:1571 x64_sys_call+0x2560/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:4 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:0x7fb32a8a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe75a13e80 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007fb32afe8880 RCX: 00007fb32a8a7407 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055b055504500 R13: 0000000000000019 R14: 00007ffe75a14360 R15: 00007ffe75a15bf0 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 2304 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 320 Comm: udevd Not tainted syzkaller #0 6d6f333215c564de92c741644a4b57c848379815 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/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:update_stack_state+0x37f/0x4d0 arch/x86/kernel/unwind_frame.c:244 Code: c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 80 3c 38 00 74 08 4c 89 f7 e8 4f 7d 9e 00 48 8b 45 98 49 89 06 49 89 c6 48 8b 45 a0 <42> 80 3c 38 00 48 8b 45 d0 4c 8d 60 58 74 08 4c 89 e7 e8 2a 7d 9e RSP: 0018:ffffc9000b8478e8 EFLAGS: 00000246 RAX: 1ffff92001708f4c RBX: ffffc9000b847a10 RCX: ffffc9000b847f01 RDX: ffffc9000b847f10 RSI: 1ffff92001708f42 RDI: 0000000000000000 RBP: ffffc9000b847998 R08: ffffc9000b847ad0 R09: ffffc9000b847ac8 R10: 0000000000000007 R11: ffffffff81778d20 R12: ffffc9000b848000 R13: 1ffff92001708f49 R14: ffffc9000b847f10 R15: dffffc0000000000 unwind_next_frame+0x39e/0x6b0 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x138/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack+0x3e/0x60 mm/kasan/common.c:49 __kasan_record_aux_stack+0xb2/0xd0 mm/kasan/generic.c:541 kasan_record_aux_stack_noalloc+0xf/0x20 mm/kasan/generic.c:551 slab_free_hook mm/slub.c:2406 [inline] slab_free mm/slub.c:4716 [inline] kmem_cache_free+0x49e/0x4f0 mm/slub.c:4827 file_free fs/file_table.c:78 [inline] __fput+0x71e/0xa30 fs/file_table.c:460 __fput_sync+0x4a/0x70 fs/file_table.c:532 __do_sys_close fs/open.c:1586 [inline] __se_sys_close+0x172/0x1f0 fs/open.c:1571 __x64_sys_close+0x3c/0x60 fs/open.c:1571 x64_sys_call+0x2560/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:4 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:0x7fb32a8a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe75a13e80 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007fb32afe8880 RCX: 00007fb32a8a7407 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055b055504500 R13: 0000000000000019 R14: 00007ffe75a14360 R15: 00007ffe75a15bf0 ---[ end trace ]--- aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 a: fc ff df d: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 12: 74 08 je 0x1c 14: 4c 89 f7 mov %r14,%rdi 17: e8 4f 7d 9e 00 call 0x9e7d6b 1c: 48 8b 45 98 mov -0x68(%rbp),%rax 20: 49 89 06 mov %rax,(%r14) 23: 49 89 c6 mov %rax,%r14 26: 48 8b 45 a0 mov -0x60(%rbp),%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 48 8b 45 d0 mov -0x30(%rbp),%rax 33: 4c 8d 60 58 lea 0x58(%rax),%r12 37: 74 08 je 0x41 39: 4c 89 e7 mov %r12,%rdi 3c: e8 .byte 0xe8 3d: 2a 7d 9e sub -0x62(%rbp),%bh