------------[ 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: 0 UID: 0 PID: 340 Comm: udevd Not tainted syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x20cb/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 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:check_region_inline mm/kasan/generic.c:171 [inline] RIP: 0010:kasan_check_range+0x15/0x2b0 mm/kasan/generic.c:189 Code: cc cc cc cc cc b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 b0 01 48 85 f6 0f 84 c0 01 00 00 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 4c 8d 04 37 49 39 f8 0f 82 29 02 00 00 49 89 RSP: 0018:ffffc9000b917470 EFLAGS: 00000206 RAX: ffff888107ba3901 RBX: 0000000000000060 RCX: ffffffff8144d478 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc9000b917528 RBP: ffffc9000b917478 R08: ffffc9000b917c4f R09: 0000000000000000 R10: ffffc9000b917670 R11: fffff52001722f8a R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc9000b917528 __asan_memset+0x27/0x50 mm/kasan/shadow.c:84 __unwind_start+0x38/0x410 arch/x86/kernel/unwind_frame.c:378 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565 unpoison_slab_object mm/kasan/common.c:321 [inline] __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_noprof+0x1bf/0x410 mm/slub.c:4260 alloc_empty_file+0xbf/0x270 fs/file_table.c:209 path_openat+0xfe/0x34f0 fs/namei.c:3927 do_filp_open+0x1f5/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1466 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:0x7f8102ea7407 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:00007ffee2e3d2e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8103664880 RCX: 00007f8102ea7407 RDX: 0000000000080000 RSI: 00007ffee2e3d410 RDI: ffffffffffffff9c RBP: 0000564d9d563ff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000564d9d5640e0 R13: 00007ffee2e3d410 R14: 0000564d62902ca4 R15: 0000564d62902bcc ---[ end trace ]--- ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20e9/0x2a00 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff867106bc by task udevd/340 CPU: 0 UID: 0 PID: 340 Comm: udevd Not tainted syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x20e9/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 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:check_region_inline mm/kasan/generic.c:171 [inline] RIP: 0010:kasan_check_range+0x15/0x2b0 mm/kasan/generic.c:189 Code: cc cc cc cc cc b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 b0 01 48 85 f6 0f 84 c0 01 00 00 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 4c 8d 04 37 49 39 f8 0f 82 29 02 00 00 49 89 RSP: 0018:ffffc9000b917470 EFLAGS: 00000206 RAX: ffff888107ba3901 RBX: 0000000000000060 RCX: ffffffff8144d478 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc9000b917528 RBP: ffffc9000b917478 R08: ffffc9000b917c4f R09: 0000000000000000 R10: ffffc9000b917670 R11: fffff52001722f8a R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc9000b917528 __asan_memset+0x27/0x50 mm/kasan/shadow.c:84 __unwind_start+0x38/0x410 arch/x86/kernel/unwind_frame.c:378 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565 unpoison_slab_object mm/kasan/common.c:321 [inline] __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_noprof+0x1bf/0x410 mm/slub.c:4260 alloc_empty_file+0xbf/0x270 fs/file_table.c:209 path_openat+0xfe/0x34f0 fs/namei.c:3927 do_filp_open+0x1f5/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1466 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:0x7f8102ea7407 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:00007ffee2e3d2e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8103664880 RCX: 00007f8102ea7407 RDX: 0000000000080000 RSI: 00007ffee2e3d410 RDI: ffffffffffffff9c RBP: 0000564d9d563ff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000564d9d5640e0 R13: 00007ffee2e3d410 R14: 0000564d62902ca4 R15: 0000564d62902bcc 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:0x6710 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c408 ffffea000019c408 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: ffffffff86710580: 00 02 f9 f9 00 00 02 f9 f9 f9 f9 f9 00 00 00 f9 ffffffff86710600: f9 f9 f9 f9 00 00 00 03 f9 f9 f9 f9 00 00 03 f9 >ffffffff86710680: f9 f9 f9 f9 00 03 f9 f9 00 00 05 f9 f9 f9 f9 f9 ^ ffffffff86710700: 00 00 00 03 f9 f9 f9 f9 00 00 f9 f9 00 00 00 f9 ffffffff86710780: f9 f9 f9 f9 03 f9 f9 f9 00 00 00 00 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: 0 UID: 0 PID: 340 Comm: udevd Tainted: G B syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x1f85/0x2a00 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 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:check_region_inline mm/kasan/generic.c:171 [inline] RIP: 0010:kasan_check_range+0x15/0x2b0 mm/kasan/generic.c:189 Code: cc cc cc cc cc b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 b0 01 48 85 f6 0f 84 c0 01 00 00 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 4c 8d 04 37 49 39 f8 0f 82 29 02 00 00 49 89 RSP: 0018:ffffc9000b917470 EFLAGS: 00000206 RAX: ffff888107ba3901 RBX: 0000000000000060 RCX: ffffffff8144d478 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc9000b917528 RBP: ffffc9000b917478 R08: ffffc9000b917c4f R09: 0000000000000000 R10: ffffc9000b917670 R11: fffff52001722f8a R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc9000b917528 __asan_memset+0x27/0x50 mm/kasan/shadow.c:84 __unwind_start+0x38/0x410 arch/x86/kernel/unwind_frame.c:378 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565 unpoison_slab_object mm/kasan/common.c:321 [inline] __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_noprof+0x1bf/0x410 mm/slub.c:4260 alloc_empty_file+0xbf/0x270 fs/file_table.c:209 path_openat+0xfe/0x34f0 fs/namei.c:3927 do_filp_open+0x1f5/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1466 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:0x7f8102ea7407 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:00007ffee2e3d2e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8103664880 RCX: 00007f8102ea7407 RDX: 0000000000080000 RSI: 00007ffee2e3d410 RDI: ffffffffffffff9c RBP: 0000564d9d563ff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000564d9d5640e0 R13: 00007ffee2e3d410 R14: 0000564d62902ca4 R15: 0000564d62902bcc ---[ end trace ]--- aiptek 3-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: b8 00 00 00 00 mov $0x0,%eax a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 66 0f 1f 00 nopw (%rax) 19: b0 01 mov $0x1,%al 1b: 48 85 f6 test %rsi,%rsi 1e: 0f 84 c0 01 00 00 je 0x1e4 24: 55 push %rbp 25: 48 89 e5 mov %rsp,%rbp 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 41 55 push %r13 2e: 41 54 push %r12 30: 53 push %rbx 31: 4c 8d 04 37 lea (%rdi,%rsi,1),%r8 35: 49 39 f8 cmp %rdi,%r8 38: 0f 82 29 02 00 00 jb 0x267 3e: 49 rex.WB 3f: 89 .byte 0x89