------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 547 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 96 Comm: acpid Not tainted syzkaller #0 c4896d72d1fb51cdc6291d08376a37fd8080d7bb 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:memset+0x0/0x30 arch/x86/lib/memset_64.S:31 Code: 89 54 17 fe eb 0c 48 83 fa 01 72 06 44 8a 1e 44 88 1f e9 d3 4e 02 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa eb 2a 49 89 f9 40 88 f0 48 89 d1 f3 aa 4c 89 c8 c3 cc RSP: 0018:ffffc900007ff990 EFLAGS: 00000202 RAX: 1ffff920000fff01 RBX: 0000000000000038 RCX: ffffffff81fde9c3 RDX: 0000000000000038 RSI: 0000000000000000 RDI: ffffc900007ffaa0 RBP: ffffc900007ff9b0 R08: ffffc900007ffad7 R09: 1ffff920000fff5a R10: dffffc0000000000 R11: fffff520000fff5b R12: ffff888117e0e5a0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc900007ffaa0 fsnotify+0x213/0x1f80 fs/notify/fsnotify.c:531 __fsnotify_parent+0x4c3/0x6e0 fs/notify/fsnotify.c:271 fsnotify_parent include/linux/fsnotify.h:99 [inline] fsnotify_file include/linux/fsnotify.h:159 [inline] fsnotify_access include/linux/fsnotify.h:408 [inline] vfs_read+0x9a6/0xc70 fs/read_write.c:574 ksys_read+0x145/0x260 fs/read_write.c:713 __do_sys_read fs/read_write.c:723 [inline] __se_sys_read fs/read_write.c:721 [inline] __x64_sys_read+0x7f/0x90 fs/read_write.c:721 x64_sys_call+0x2638/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:1 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:0x7f80ef35e407 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:00007fff5bb28d40 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f80ef2d4740 RCX: 00007f80ef35e407 RDX: 0000000000000018 RSI: 00007fff5bb28d90 RDI: 000000000000000a RBP: 00007fff5bb28d90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005619a95b41e4 R13: 00005619d5cd3360 R14: 0000000000000006 R15: 000000000000000a ---[ 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 ffffffff8670508c by task acpid/96 CPU: 0 UID: 0 PID: 96 Comm: acpid Not tainted syzkaller #0 c4896d72d1fb51cdc6291d08376a37fd8080d7bb 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:memset+0x0/0x30 arch/x86/lib/memset_64.S:31 Code: 89 54 17 fe eb 0c 48 83 fa 01 72 06 44 8a 1e 44 88 1f e9 d3 4e 02 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa eb 2a 49 89 f9 40 88 f0 48 89 d1 f3 aa 4c 89 c8 c3 cc RSP: 0018:ffffc900007ff990 EFLAGS: 00000202 RAX: 1ffff920000fff01 RBX: 0000000000000038 RCX: ffffffff81fde9c3 RDX: 0000000000000038 RSI: 0000000000000000 RDI: ffffc900007ffaa0 RBP: ffffc900007ff9b0 R08: ffffc900007ffad7 R09: 1ffff920000fff5a R10: dffffc0000000000 R11: fffff520000fff5b R12: ffff888117e0e5a0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc900007ffaa0 fsnotify+0x213/0x1f80 fs/notify/fsnotify.c:531 __fsnotify_parent+0x4c3/0x6e0 fs/notify/fsnotify.c:271 fsnotify_parent include/linux/fsnotify.h:99 [inline] fsnotify_file include/linux/fsnotify.h:159 [inline] fsnotify_access include/linux/fsnotify.h:408 [inline] vfs_read+0x9a6/0xc70 fs/read_write.c:574 ksys_read+0x145/0x260 fs/read_write.c:713 __do_sys_read fs/read_write.c:723 [inline] __se_sys_read fs/read_write.c:721 [inline] __x64_sys_read+0x7f/0x90 fs/read_write.c:721 x64_sys_call+0x2638/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:1 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:0x7f80ef35e407 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:00007fff5bb28d40 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f80ef2d4740 RCX: 00007f80ef35e407 RDX: 0000000000000018 RSI: 00007fff5bb28d90 RDI: 000000000000000a RBP: 00007fff5bb28d90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005619a95b41e4 R13: 00005619d5cd3360 R14: 0000000000000006 R15: 000000000000000a The buggy address belongs to the variable: .str.48+0xc/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6705 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c148 ffffea000019c148 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: ffffffff86704f80: 06 f9 f9 f9 00 01 f9 f9 05 f9 f9 f9 00 00 00 00 ffffffff86705000: 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 >ffffffff86705080: 06 f9 f9 f9 00 01 f9 f9 04 f9 f9 f9 00 f9 f9 f9 ^ ffffffff86705100: 06 f9 f9 f9 07 f9 f9 f9 06 f9 f9 f9 00 04 f9 f9 ffffffff86705180: 05 f9 f9 f9 00 03 f9 f9 00 03 f9 f9 00 00 00 00 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 548 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 96 Comm: acpid Tainted: G B syzkaller #0 c4896d72d1fb51cdc6291d08376a37fd8080d7bb Tainted: [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:memset+0x0/0x30 arch/x86/lib/memset_64.S:31 Code: 89 54 17 fe eb 0c 48 83 fa 01 72 06 44 8a 1e 44 88 1f e9 d3 4e 02 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa eb 2a 49 89 f9 40 88 f0 48 89 d1 f3 aa 4c 89 c8 c3 cc RSP: 0018:ffffc900007ff990 EFLAGS: 00000202 RAX: 1ffff920000fff01 RBX: 0000000000000038 RCX: ffffffff81fde9c3 RDX: 0000000000000038 RSI: 0000000000000000 RDI: ffffc900007ffaa0 RBP: ffffc900007ff9b0 R08: ffffc900007ffad7 R09: 1ffff920000fff5a R10: dffffc0000000000 R11: fffff520000fff5b R12: ffff888117e0e5a0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc900007ffaa0 fsnotify+0x213/0x1f80 fs/notify/fsnotify.c:531 __fsnotify_parent+0x4c3/0x6e0 fs/notify/fsnotify.c:271 fsnotify_parent include/linux/fsnotify.h:99 [inline] fsnotify_file include/linux/fsnotify.h:159 [inline] fsnotify_access include/linux/fsnotify.h:408 [inline] vfs_read+0x9a6/0xc70 fs/read_write.c:574 ksys_read+0x145/0x260 fs/read_write.c:713 __do_sys_read fs/read_write.c:723 [inline] __se_sys_read fs/read_write.c:721 [inline] __x64_sys_read+0x7f/0x90 fs/read_write.c:721 x64_sys_call+0x2638/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:1 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:0x7f80ef35e407 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:00007fff5bb28d40 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f80ef2d4740 RCX: 00007f80ef35e407 RDX: 0000000000000018 RSI: 00007fff5bb28d90 RDI: 000000000000000a RBP: 00007fff5bb28d90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005619a95b41e4 R13: 00005619d5cd3360 R14: 0000000000000006 R15: 000000000000000a ---[ end trace ]--- aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 89 54 17 fe mov %edx,-0x2(%rdi,%rdx,1) 4: eb 0c jmp 0x12 6: 48 83 fa 01 cmp $0x1,%rdx a: 72 06 jb 0x12 c: 44 8a 1e mov (%rsi),%r11b f: 44 88 1f mov %r11b,(%rdi) 12: e9 d3 4e 02 00 jmp 0x24eea 17: cc int3 18: cc int3 19: cc int3 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 90 nop 28: 90 nop 29: 90 nop * 2a: f3 0f 1e fa endbr64 <-- trapping instruction 2e: eb 2a jmp 0x5a 30: 49 89 f9 mov %rdi,%r9 33: 40 88 f0 mov %sil,%al 36: 48 89 d1 mov %rdx,%rcx 39: f3 aa rep stos %al,%es:(%rdi) 3b: 4c 89 c8 mov %r9,%rax 3e: c3 ret 3f: cc int3