------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 12948 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 337 Comm: udevd Tainted: G S syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 Tainted: [S]=CPU_OUT_OF_SPEC 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:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 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:avtab_search_node+0x1a8/0x560 security/selinux/ss/avtab.c:188 Code: 00 74 08 48 89 df e8 67 fb 66 ff 45 89 ff 49 c1 e7 03 4c 03 3b 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 4c 89 ff e8 3e fb 66 ff 49 8b 1f 48 85 db 0f 84 95 02 00 00 RSP: 0018:ffffc9000d11f158 EFLAGS: 00000246 RAX: 1ffff110215ffccc RBX: ffff88810a383938 RCX: dffffc0000000000 RDX: 00000000000007ff RSI: dffffc0000000000 RDI: ffffc9000d11f3e2 RBP: ffffc9000d11f190 R08: ffff88810cfc4c00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: 000000000000024c R13: 0000000000000486 R14: ffffc9000d11f3e0 R15: ffff88810affe660 context_struct_compute_av+0x5af/0x1730 security/selinux/ss/services.c:657 security_compute_av+0x374/0xfb0 security/selinux/ss/services.c:1147 avc_compute_av+0x89/0x760 security/selinux/avc.c:994 avc_perm_nonode+0xda/0x1d0 security/selinux/avc.c:1118 avc_has_perm_noaudit+0x21f/0x360 security/selinux/avc.c:1161 selinux_inode_permission+0x37d/0x5d0 security/selinux/hooks.c:3148 security_inode_permission+0xb0/0x150 security/security.c:2325 inode_permission+0xf3/0x4c0 fs/namei.c:543 may_lookup fs/namei.c:1768 [inline] link_path_walk+0x22d/0xeb0 fs/namei.c:2374 path_lookupat+0x8d/0x440 fs/namei.c:2587 filename_lookup+0x22d/0x5a0 fs/namei.c:2617 vfs_statx+0x106/0x210 fs/stat.c:312 vfs_fstatat+0xe5/0x1d0 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x127/0x3c0 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f93c5311b0a Code: 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007ffe0117d278 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055642b9dcb40 RCX: 00007f93c5311b0a RDX: 00007ffe0117d280 RSI: 00007ffe0117d310 RDI: 00000000ffffff9c RBP: 000055642b9c42e0 R08: 000055642b9dcb40 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 000055642b9c43d0 R13: 00007ffe0117d310 R14: 00005564123d9ca4 R15: 00005564123d9bcc ---[ 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 ffffffff86711450 by task udevd/337 CPU: 1 UID: 0 PID: 337 Comm: udevd Tainted: G S syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 Tainted: [S]=CPU_OUT_OF_SPEC 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+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:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 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:avtab_search_node+0x1a8/0x560 security/selinux/ss/avtab.c:188 Code: 00 74 08 48 89 df e8 67 fb 66 ff 45 89 ff 49 c1 e7 03 4c 03 3b 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 4c 89 ff e8 3e fb 66 ff 49 8b 1f 48 85 db 0f 84 95 02 00 00 RSP: 0018:ffffc9000d11f158 EFLAGS: 00000246 RAX: 1ffff110215ffccc RBX: ffff88810a383938 RCX: dffffc0000000000 RDX: 00000000000007ff RSI: dffffc0000000000 RDI: ffffc9000d11f3e2 RBP: ffffc9000d11f190 R08: ffff88810cfc4c00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: 000000000000024c R13: 0000000000000486 R14: ffffc9000d11f3e0 R15: ffff88810affe660 context_struct_compute_av+0x5af/0x1730 security/selinux/ss/services.c:657 security_compute_av+0x374/0xfb0 security/selinux/ss/services.c:1147 avc_compute_av+0x89/0x760 security/selinux/avc.c:994 avc_perm_nonode+0xda/0x1d0 security/selinux/avc.c:1118 avc_has_perm_noaudit+0x21f/0x360 security/selinux/avc.c:1161 selinux_inode_permission+0x37d/0x5d0 security/selinux/hooks.c:3148 security_inode_permission+0xb0/0x150 security/security.c:2325 inode_permission+0xf3/0x4c0 fs/namei.c:543 may_lookup fs/namei.c:1768 [inline] link_path_walk+0x22d/0xeb0 fs/namei.c:2374 path_lookupat+0x8d/0x440 fs/namei.c:2587 filename_lookup+0x22d/0x5a0 fs/namei.c:2617 vfs_statx+0x106/0x210 fs/stat.c:312 vfs_fstatat+0xe5/0x1d0 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x127/0x3c0 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f93c5311b0a Code: 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007ffe0117d278 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055642b9dcb40 RCX: 00007f93c5311b0a RDX: 00007ffe0117d280 RSI: 00007ffe0117d310 RDI: 00000000ffffff9c RBP: 000055642b9c42e0 R08: 000055642b9dcb40 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 000055642b9c43d0 R13: 00007ffe0117d310 R14: 00005564123d9ca4 R15: 00005564123d9bcc The buggy address belongs to the variable: .str+0x10/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6711 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c448 ffffea000019c448 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: ffffffff86711300: 00 00 00 f9 f9 f9 f9 f9 04 f9 f9 f9 04 f9 f9 f9 ffffffff86711380: 00 00 00 00 07 f9 f9 f9 f9 f9 f9 f9 05 f9 f9 f9 >ffffffff86711400: 00 00 00 00 00 00 00 00 00 07 f9 f9 00 00 00 00 ^ ffffffff86711480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff86711500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 12949 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 337 Comm: udevd Tainted: G S B syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 Tainted: [S]=CPU_OUT_OF_SPEC, [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+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:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 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:avtab_search_node+0x1a8/0x560 security/selinux/ss/avtab.c:188 Code: 00 74 08 48 89 df e8 67 fb 66 ff 45 89 ff 49 c1 e7 03 4c 03 3b 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 4c 89 ff e8 3e fb 66 ff 49 8b 1f 48 85 db 0f 84 95 02 00 00 RSP: 0018:ffffc9000d11f158 EFLAGS: 00000246 RAX: 1ffff110215ffccc RBX: ffff88810a383938 RCX: dffffc0000000000 RDX: 00000000000007ff RSI: dffffc0000000000 RDI: ffffc9000d11f3e2 RBP: ffffc9000d11f190 R08: ffff88810cfc4c00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: 000000000000024c R13: 0000000000000486 R14: ffffc9000d11f3e0 R15: ffff88810affe660 context_struct_compute_av+0x5af/0x1730 security/selinux/ss/services.c:657 security_compute_av+0x374/0xfb0 security/selinux/ss/services.c:1147 avc_compute_av+0x89/0x760 security/selinux/avc.c:994 avc_perm_nonode+0xda/0x1d0 security/selinux/avc.c:1118 avc_has_perm_noaudit+0x21f/0x360 security/selinux/avc.c:1161 selinux_inode_permission+0x37d/0x5d0 security/selinux/hooks.c:3148 security_inode_permission+0xb0/0x150 security/security.c:2325 inode_permission+0xf3/0x4c0 fs/namei.c:543 may_lookup fs/namei.c:1768 [inline] link_path_walk+0x22d/0xeb0 fs/namei.c:2374 path_lookupat+0x8d/0x440 fs/namei.c:2587 filename_lookup+0x22d/0x5a0 fs/namei.c:2617 vfs_statx+0x106/0x210 fs/stat.c:312 vfs_fstatat+0xe5/0x1d0 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x127/0x3c0 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f93c5311b0a Code: 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007ffe0117d278 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055642b9dcb40 RCX: 00007f93c5311b0a RDX: 00007ffe0117d280 RSI: 00007ffe0117d310 RDI: 00000000ffffff9c RBP: 000055642b9c42e0 R08: 000055642b9dcb40 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 000055642b9c43d0 R13: 00007ffe0117d310 R14: 00005564123d9ca4 R15: 00005564123d9bcc ---[ end trace ]--- aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 00 74 08 48 add %dh,0x48(%rax,%rcx,1) 4: 89 df mov %ebx,%edi 6: e8 67 fb 66 ff call 0xff66fb72 b: 45 89 ff mov %r15d,%r15d e: 49 c1 e7 03 shl $0x3,%r15 12: 4c 03 3b add (%rbx),%r15 15: 4c 89 f8 mov %r15,%rax 18: 48 c1 e8 03 shr $0x3,%rax 1c: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 23: fc ff df 26: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 4c 89 ff mov %r15,%rdi 2f: e8 3e fb 66 ff call 0xff66fb72 34: 49 8b 1f mov (%r15),%rbx 37: 48 85 db test %rbx,%rbx 3a: 0f 84 95 02 00 00 je 0x2d5