================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 32767 is out of range for type 'const int[34]' CPU: 0 PID: 1604 Comm: syz.2.351 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:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:update_stack_state+0x422/0x490 arch/x86/kernel/unwind_frame.c:-1 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 84 47 81 00 4c 89 33 43 80 3c 2c 00 48 8b 5d c8 74 08 48 89 df e8 7e 46 81 00 01 48 83 3b 00 0f 85 82 fe ff ff 43 80 3c 2c 00 74 0a 48 89 df RSP: 0018:ffffc9000d7c7308 EFLAGS: 00000246 RAX: 1ffff92001af8e8e RBX: ffffc9000d7c7468 RCX: ffffc9000d7c7701 RDX: ffffc9000d7c77e8 RSI: 1ffff92001af8e86 RDI: ffffc9000d7c7450 RBP: ffffc9000d7c73b8 R08: ffffc9000d7c74f0 R09: ffffc9000d7c74e8 R10: 0000000000000002 R11: fffff52001af8e91 R12: 1ffff92001af8e8d R13: dffffc0000000000 R14: ffffffff81b6c701 R15: ffffc9000d7c7480 unwind_next_frame+0x39e/0x660 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:250 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] kmem_cache_free+0x12d/0x300 mm/slub.c:3737 putname+0x111/0x160 fs/namei.c:272 io_openat2+0x132/0xc90 io_uring/openclose.c:157 io_openat+0x1b/0x20 io_uring/openclose.c:167 io_issue_sqe+0x210/0xb30 io_uring/io_uring.c:1747 io_queue_sqe io_uring/io_uring.c:1927 [inline] io_submit_sqe io_uring/io_uring.c:2193 [inline] io_submit_sqes+0xa13/0x1ba0 io_uring/io_uring.c:2306 __do_sys_io_uring_enter io_uring/io_uring.c:3430 [inline] __se_sys_io_uring_enter+0x32c/0x1f50 io_uring/io_uring.c:3362 __x64_sys_io_uring_enter+0xe5/0x100 io_uring/io_uring.c:3362 x64_sys_call+0x4b2/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa345d9e0d9 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:00007fa3447f6f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa345d9e0d9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000015 RBP: 00000000000001dc R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000d00 R13: 0000200000000d08 R14: 00000000000003c9 R15: 0000000000000000 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 32768 is out of range for type 'const int[34]' CPU: 0 PID: 1604 Comm: syz.2.351 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+0x1f14/0x29b0 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:update_stack_state+0x422/0x490 arch/x86/kernel/unwind_frame.c:-1 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 84 47 81 00 4c 89 33 43 80 3c 2c 00 48 8b 5d c8 74 08 48 89 df e8 7e 46 81 00 01 48 83 3b 00 0f 85 82 fe ff ff 43 80 3c 2c 00 74 0a 48 89 df RSP: 0018:ffffc9000d7c7308 EFLAGS: 00000246 RAX: 1ffff92001af8e8e RBX: ffffc9000d7c7468 RCX: ffffc9000d7c7701 RDX: ffffc9000d7c77e8 RSI: 1ffff92001af8e86 RDI: ffffc9000d7c7450 RBP: ffffc9000d7c73b8 R08: ffffc9000d7c74f0 R09: ffffc9000d7c74e8 R10: 0000000000000002 R11: fffff52001af8e91 R12: 1ffff92001af8e8d R13: dffffc0000000000 R14: ffffffff81b6c701 R15: ffffc9000d7c7480 unwind_next_frame+0x39e/0x660 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:250 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] kmem_cache_free+0x12d/0x300 mm/slub.c:3737 putname+0x111/0x160 fs/namei.c:272 io_openat2+0x132/0xc90 io_uring/openclose.c:157 io_openat+0x1b/0x20 io_uring/openclose.c:167 io_issue_sqe+0x210/0xb30 io_uring/io_uring.c:1747 io_queue_sqe io_uring/io_uring.c:1927 [inline] io_submit_sqe io_uring/io_uring.c:2193 [inline] io_submit_sqes+0xa13/0x1ba0 io_uring/io_uring.c:2306 __do_sys_io_uring_enter io_uring/io_uring.c:3430 [inline] __se_sys_io_uring_enter+0x32c/0x1f50 io_uring/io_uring.c:3362 __x64_sys_io_uring_enter+0xe5/0x100 io_uring/io_uring.c:3362 x64_sys_call+0x4b2/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa345d9e0d9 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:00007fa3447f6f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa345d9e0d9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000015 RBP: 00000000000001dc R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000d00 R13: 0000200000000d08 R14: 00000000000003c9 R15: 0000000000000000 ================================================================================ aiptek 5-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: d8 48 c1 fmuls -0x3f(%rax) 3: e8 03 42 80 3c call 0x3c80420b 8: 28 00 sub %al,(%rax) a: 74 08 je 0x14 c: 48 89 df mov %rbx,%rdi f: e8 84 47 81 00 call 0x814798 14: 4c 89 33 mov %r14,(%rbx) 17: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 1c: 48 8b 5d c8 mov -0x38(%rbp),%rbx 20: 74 08 je 0x2a 22: 48 89 df mov %rbx,%rdi 25: e8 7e 46 81 00 call 0x8146a8 * 2a: b0 01 mov $0x1,%al <-- trapping instruction 2c: 48 83 3b 00 cmpq $0x0,(%rbx) 30: 0f 85 82 fe ff ff jne 0xfffffeb8 36: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 3b: 74 0a je 0x47 3d: 48 89 df mov %rbx,%rdi