------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 5403 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 315 Comm: udevd Not tainted syzkaller #0 52749abf125da3aebe1f5771d25291006b6a1b72 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+0x36e/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:its_return_thunk+0x0/0x10 arch/x86/lib/retpoline.S:401 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 e9 7b e7 61 fb cc RSP: 0018:ffffc9000b757810 EFLAGS: 00000246 RAX: ffffc9000b757900 RBX: 0000000000000048 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000b757948 RBP: ffffc9000b757830 R08: ffffc9000b757947 R09: 0000000000000000 R10: ffffc9000b757900 R11: fffff520016eaf29 R12: ffff88810af78000 R13: 1ffff920016eaf1c R14: 0000000000000000 R15: ffffc9000b757900 context_init security/selinux/ss/context.h:153 [inline] string_to_context_struct+0x45/0x680 security/selinux/ss/services.c:1444 security_context_to_sid_core+0x35b/0x5c0 security/selinux/ss/services.c:1558 security_context_to_sid_force+0x37/0x50 security/selinux/ss/services.c:1639 selinux_inode_post_setxattr+0x10f/0x4b0 security/selinux/hooks.c:3353 security_inode_post_setxattr+0xea/0x150 security/security.c:2535 __vfs_setxattr_noperm+0x50f/0x670 fs/xattr.c:238 __vfs_setxattr_locked+0x212/0x240 fs/xattr.c:295 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] path_setxattr+0x337/0x5a0 fs/xattr.c:658 __do_sys_lsetxattr fs/xattr.c:683 [inline] __se_sys_lsetxattr fs/xattr.c:679 [inline] __x64_sys_lsetxattr+0xc6/0xe0 fs/xattr.c:679 x64_sys_call+0x2db8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:190 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:0x7f4c6611d57a Code: 48 83 c4 08 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f 44 00 00 31 db eb e4 0f 1f 40 00 49 89 ca b8 bd 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4e 38 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffce527bb78 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 0000563bb3436e00 RCX: 00007f4c6611d57a RDX: 0000563bb3436e00 RSI: 00007f4c6682529c RDI: 00007ffce527c6c0 RBP: 0000563bb31f98d0 R08: 0000000000000000 R09: 0000000000000030 R10: 000000000000001b R11: 0000000000000246 R12: 00007ffce527c6c0 R13: 0000000000000001 R14: 0000563b7a3d76d7 R15: 0000563bb3437d70 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 5404 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 315 Comm: udevd Not tainted syzkaller #0 52749abf125da3aebe1f5771d25291006b6a1b72 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+0x36e/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:its_return_thunk+0x0/0x10 arch/x86/lib/retpoline.S:401 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 e9 7b e7 61 fb cc RSP: 0018:ffffc9000b757810 EFLAGS: 00000246 RAX: ffffc9000b757900 RBX: 0000000000000048 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000b757948 RBP: ffffc9000b757830 R08: ffffc9000b757947 R09: 0000000000000000 R10: ffffc9000b757900 R11: fffff520016eaf29 R12: ffff88810af78000 R13: 1ffff920016eaf1c R14: 0000000000000000 R15: ffffc9000b757900 context_init security/selinux/ss/context.h:153 [inline] string_to_context_struct+0x45/0x680 security/selinux/ss/services.c:1444 security_context_to_sid_core+0x35b/0x5c0 security/selinux/ss/services.c:1558 security_context_to_sid_force+0x37/0x50 security/selinux/ss/services.c:1639 selinux_inode_post_setxattr+0x10f/0x4b0 security/selinux/hooks.c:3353 security_inode_post_setxattr+0xea/0x150 security/security.c:2535 __vfs_setxattr_noperm+0x50f/0x670 fs/xattr.c:238 __vfs_setxattr_locked+0x212/0x240 fs/xattr.c:295 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] path_setxattr+0x337/0x5a0 fs/xattr.c:658 __do_sys_lsetxattr fs/xattr.c:683 [inline] __se_sys_lsetxattr fs/xattr.c:679 [inline] __x64_sys_lsetxattr+0xc6/0xe0 fs/xattr.c:679 x64_sys_call+0x2db8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:190 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:0x7f4c6611d57a Code: 48 83 c4 08 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f 44 00 00 31 db eb e4 0f 1f 40 00 49 89 ca b8 bd 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4e 38 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffce527bb78 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 0000563bb3436e00 RCX: 00007f4c6611d57a RDX: 0000563bb3436e00 RSI: 00007f4c6682529c RDI: 00007ffce527c6c0 RBP: 0000563bb31f98d0 R08: 0000000000000000 R09: 0000000000000030 R10: 000000000000001b R11: 0000000000000246 R12: 00007ffce527c6c0 R13: 0000000000000001 R14: 0000563b7a3d76d7 R15: 0000563bb3437d70 ---[ end trace ]--- aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 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: cc int3 1b: cc int3 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: cc int3 * 2a: c3 ret <-- trapping instruction 2b: cc int3 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: e9 7b e7 61 fb jmp 0xfb61e7ba 3f: cc int3