aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 2312 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 314 Comm: udevd Not tainted syzkaller #0 4d4a838cf2fc485b043991145ccf8426a0241c16 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:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:230 [inline] RIP: 0010:perf_sw_event include/linux/perf_event.h:1495 [inline] RIP: 0010:do_user_addr_fault+0x1cf/0x1230 arch/x86/mm/fault.c:1283 Code: 67 fe 9a 00 48 8b 1b 48 89 de 48 81 e6 00 02 00 00 31 ff e8 c3 3e 42 00 48 81 e3 00 02 00 00 0f 84 63 0d 00 00 fb 4c 89 7d b0 <0f> 1f 44 00 00 e8 c7 39 42 00 44 89 f6 83 e6 40 31 ff 48 89 b5 70 RSP: 0000:ffffc9000b727e50 EFLAGS: 00000206 RAX: ffffffff814537dd RBX: 0000000000000200 RCX: ffff888131be8000 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b727f18 R08: 000000000000002b R09: 000000000000002b R10: 0000000000010206 R11: 00007fff771865b0 R12: 000055ed4541fc38 R13: ffffc9000b727f58 R14: 0000000000000007 R15: ffff888131be8000 handle_page_fault arch/x86/mm/fault.c:1479 [inline] exc_page_fault+0x58/0xc0 arch/x86/mm/fault.c:1534 asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f630deb98c1 Code: 66 85 c9 74 64 48 8d 7d 10 48 8b 04 fa a8 0f 0f 85 44 02 00 00 48 89 c6 83 e9 01 48 c1 ee 0c 48 33 30 48 89 34 fa 66 89 0c 6a <48> c7 40 08 00 00 00 00 48 83 c4 10 5b 5d 41 5c c3 66 0f 1f 44 00 RSP: 002b:00007fff771865b0 EFLAGS: 00010206 RAX: 000055ed4541fc30 RBX: 000000000000006b RCX: 0000000000000006 RDX: 000055ed451db010 RSI: 000055ed45420f60 RDI: 0000000000000016 RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000010 R11: 0000000000000000 R12: fffffffffffffea0 R13: 000055ed4541d070 R14: 0000000000000001 R15: 000055ed4541d030 ---[ 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 ffffffff86706ba0 by task udevd/314 CPU: 1 UID: 0 PID: 314 Comm: udevd Not tainted syzkaller #0 4d4a838cf2fc485b043991145ccf8426a0241c16 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:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:230 [inline] RIP: 0010:perf_sw_event include/linux/perf_event.h:1495 [inline] RIP: 0010:do_user_addr_fault+0x1cf/0x1230 arch/x86/mm/fault.c:1283 Code: 67 fe 9a 00 48 8b 1b 48 89 de 48 81 e6 00 02 00 00 31 ff e8 c3 3e 42 00 48 81 e3 00 02 00 00 0f 84 63 0d 00 00 fb 4c 89 7d b0 <0f> 1f 44 00 00 e8 c7 39 42 00 44 89 f6 83 e6 40 31 ff 48 89 b5 70 RSP: 0000:ffffc9000b727e50 EFLAGS: 00000206 RAX: ffffffff814537dd RBX: 0000000000000200 RCX: ffff888131be8000 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b727f18 R08: 000000000000002b R09: 000000000000002b R10: 0000000000010206 R11: 00007fff771865b0 R12: 000055ed4541fc38 R13: ffffc9000b727f58 R14: 0000000000000007 R15: ffff888131be8000 handle_page_fault arch/x86/mm/fault.c:1479 [inline] exc_page_fault+0x58/0xc0 arch/x86/mm/fault.c:1534 asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f630deb98c1 Code: 66 85 c9 74 64 48 8d 7d 10 48 8b 04 fa a8 0f 0f 85 44 02 00 00 48 89 c6 83 e9 01 48 c1 ee 0c 48 33 30 48 89 34 fa 66 89 0c 6a <48> c7 40 08 00 00 00 00 48 83 c4 10 5b 5d 41 5c c3 66 0f 1f 44 00 RSP: 002b:00007fff771865b0 EFLAGS: 00010206 RAX: 000055ed4541fc30 RBX: 000000000000006b RCX: 0000000000000006 RDX: 000055ed451db010 RSI: 000055ed45420f60 RDI: 0000000000000016 RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000010 R11: 0000000000000000 R12: fffffffffffffea0 R13: 000055ed4541d070 R14: 0000000000000001 R15: 000055ed4541d030 The buggy address belongs to the variable: input_test_match_device_id.__loc.44+0x20/0x60 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6706 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c188 ffffea000019c188 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: ffffffff86706a80: f9 f9 f9 f9 00 00 00 f9 f9 f9 f9 f9 00 00 00 f9 ffffffff86706b00: f9 f9 f9 f9 00 00 00 f9 f9 f9 f9 f9 00 00 00 00 >ffffffff86706b80: 00 00 00 f9 f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 ^ ffffffff86706c00: 00 00 00 f9 f9 f9 f9 f9 00 01 f9 f9 00 00 00 f9 ffffffff86706c80: f9 f9 f9 f9 04 f9 f9 f9 04 f9 f9 f9 00 00 00 f9 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 2313 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 314 Comm: udevd Tainted: G B syzkaller #0 4d4a838cf2fc485b043991145ccf8426a0241c16 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:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:230 [inline] RIP: 0010:perf_sw_event include/linux/perf_event.h:1495 [inline] RIP: 0010:do_user_addr_fault+0x1cf/0x1230 arch/x86/mm/fault.c:1283 Code: 67 fe 9a 00 48 8b 1b 48 89 de 48 81 e6 00 02 00 00 31 ff e8 c3 3e 42 00 48 81 e3 00 02 00 00 0f 84 63 0d 00 00 fb 4c 89 7d b0 <0f> 1f 44 00 00 e8 c7 39 42 00 44 89 f6 83 e6 40 31 ff 48 89 b5 70 RSP: 0000:ffffc9000b727e50 EFLAGS: 00000206 RAX: ffffffff814537dd RBX: 0000000000000200 RCX: ffff888131be8000 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b727f18 R08: 000000000000002b R09: 000000000000002b R10: 0000000000010206 R11: 00007fff771865b0 R12: 000055ed4541fc38 R13: ffffc9000b727f58 R14: 0000000000000007 R15: ffff888131be8000 handle_page_fault arch/x86/mm/fault.c:1479 [inline] exc_page_fault+0x58/0xc0 arch/x86/mm/fault.c:1534 asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f630deb98c1 Code: 66 85 c9 74 64 48 8d 7d 10 48 8b 04 fa a8 0f 0f 85 44 02 00 00 48 89 c6 83 e9 01 48 c1 ee 0c 48 33 30 48 89 34 fa 66 89 0c 6a <48> c7 40 08 00 00 00 00 48 83 c4 10 5b 5d 41 5c c3 66 0f 1f 44 00 RSP: 002b:00007fff771865b0 EFLAGS: 00010206 RAX: 000055ed4541fc30 RBX: 000000000000006b RCX: 0000000000000006 RDX: 000055ed451db010 RSI: 000055ed45420f60 RDI: 0000000000000016 RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000010 R11: 0000000000000000 R12: fffffffffffffea0 R13: 000055ed4541d070 R14: 0000000000000001 R15: 000055ed4541d030 ---[ end trace ]--- aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: 00 48 8b add %cl,-0x75(%rax) 3: 1b 48 89 sbb -0x77(%rax),%ecx 6: de 48 81 fimuls -0x7f(%rax) 9: e6 00 out %al,$0x0 b: 02 00 add (%rax),%al d: 00 31 add %dh,(%rcx) f: ff ljmp (bad) 10: e8 c3 3e 42 00 call 0x423ed8 15: 48 81 e3 00 02 00 00 and $0x200,%rbx 1c: 0f 84 63 0d 00 00 je 0xd85 22: fb sti 23: 4c 89 7d b0 mov %r15,-0x50(%rbp) * 27: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction 2c: e8 c7 39 42 00 call 0x4239f8 31: 44 89 f6 mov %r14d,%esi 34: 83 e6 40 and $0x40,%esi 37: 31 ff xor %edi,%edi 39: 48 rex.W 3a: 89 .byte 0x89 3b: b5 70 mov $0x70,%ch