------------[ 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: 382 Comm: udevd Not tainted syzkaller #0 d17067fa43c370e744802cb602e9182a4a42e9ef Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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:clear_page_erms+0xb/0x30 arch/x86/lib/clear_page_64.S:50 Code: 48 8d 7f 40 75 d9 90 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa b9 00 10 00 00 31 c0 aa e9 4e 7a 03 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000f1f798 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff920001e3ef8 RCX: 0000000000000640 RDX: ffff8881163ca000 RSI: 0000000000000006 RDI: ffff8881163ca9c0 RBP: ffffc90000f1f850 R08: ffffea000458f3f7 R09: 0000000000000000 R10: ffffed1022c79000 R11: fffff940008b1e7f R12: 0000000000000008 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000003 prep_new_page+0x2d/0x190 mm/page_alloc.c:1871 get_page_from_freelist+0x496e/0x4a20 mm/page_alloc.c:3948 __alloc_pages_noprof+0x35f/0x7e0 mm/page_alloc.c:5315 alloc_slab_page+0x6b/0x1e0 mm/slub.c:-1 allocate_slab+0x69/0x420 mm/slub.c:2687 new_slab mm/slub.c:2741 [inline] ___slab_alloc+0x5a2/0x8d0 mm/slub.c:3934 __slab_alloc mm/slub.c:4025 [inline] __slab_alloc_node mm/slub.c:4078 [inline] slab_alloc_node mm/slub.c:4239 [inline] kmem_cache_alloc_noprof+0x290/0x410 mm/slub.c:4260 getname_flags+0xc5/0x700 fs/namei.c:139 getname fs/namei.c:225 [inline] __do_sys_mkdir fs/namei.c:4308 [inline] __se_sys_mkdir fs/namei.c:4306 [inline] __x64_sys_mkdir+0x61/0x80 fs/namei.c:4306 x64_sys_call+0x26c8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:84 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:0x7f8a26f14c37 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db ce ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 53 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 91 c1 0d 00 f7 d8 64 89 02 b8 RSP: 002b:00007fffed6252b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fffed626fba RCX: 00007f8a26f14c37 RDX: 0000000000000009 RSI: 00000000000001ed RDI: 00007fffed6252c0 RBP: 00007fffed626380 R08: 00007fffed626fb0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffed626fb0 R13: 0000000000000000 R14: 0000562871a2a7d4 R15: 0000000000000009 ---[ end trace ]--- ------------[ 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: 382 Comm: udevd Not tainted syzkaller #0 d17067fa43c370e744802cb602e9182a4a42e9ef Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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:clear_page_erms+0xb/0x30 arch/x86/lib/clear_page_64.S:50 Code: 48 8d 7f 40 75 d9 90 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa b9 00 10 00 00 31 c0 aa e9 4e 7a 03 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000f1f798 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff920001e3ef8 RCX: 0000000000000640 RDX: ffff8881163ca000 RSI: 0000000000000006 RDI: ffff8881163ca9c0 RBP: ffffc90000f1f850 R08: ffffea000458f3f7 R09: 0000000000000000 R10: ffffed1022c79000 R11: fffff940008b1e7f R12: 0000000000000008 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000003 prep_new_page+0x2d/0x190 mm/page_alloc.c:1871 get_page_from_freelist+0x496e/0x4a20 mm/page_alloc.c:3948 __alloc_pages_noprof+0x35f/0x7e0 mm/page_alloc.c:5315 alloc_slab_page+0x6b/0x1e0 mm/slub.c:-1 allocate_slab+0x69/0x420 mm/slub.c:2687 new_slab mm/slub.c:2741 [inline] ___slab_alloc+0x5a2/0x8d0 mm/slub.c:3934 __slab_alloc mm/slub.c:4025 [inline] __slab_alloc_node mm/slub.c:4078 [inline] slab_alloc_node mm/slub.c:4239 [inline] kmem_cache_alloc_noprof+0x290/0x410 mm/slub.c:4260 getname_flags+0xc5/0x700 fs/namei.c:139 getname fs/namei.c:225 [inline] __do_sys_mkdir fs/namei.c:4308 [inline] __se_sys_mkdir fs/namei.c:4306 [inline] __x64_sys_mkdir+0x61/0x80 fs/namei.c:4306 x64_sys_call+0x26c8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:84 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:0x7f8a26f14c37 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db ce ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 53 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 91 c1 0d 00 f7 d8 64 89 02 b8 RSP: 002b:00007fffed6252b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fffed626fba RCX: 00007f8a26f14c37 RDX: 0000000000000009 RSI: 00000000000001ed RDI: 00007fffed6252c0 RBP: 00007fffed626380 R08: 00007fffed626fb0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffed626fb0 R13: 0000000000000000 R14: 0000562871a2a7d4 R15: 0000000000000009 ---[ end trace ]--- aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 48 8d 7f 40 lea 0x40(%rdi),%rdi 4: 75 d9 jne 0xffffffdf 6: 90 nop 7: c3 ret 8: cc int3 9: cc int3 a: cc int3 b: cc int3 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: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: f3 0f 1e fa endbr64 23: b9 00 10 00 00 mov $0x1000,%ecx 28: 31 c0 xor %eax,%eax * 2a: f3 aa rep stos %al,%es:(%rdi) <-- trapping instruction 2c: e9 4e 7a 03 00 jmp 0x37a7f 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: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop