------------[ 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: 1 UID: 0 PID: 317 Comm: udevd Not tainted syzkaller #0 c36f08223ec58598e05683a28d55b954d63a7946 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:ffffc90001b7f4b8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff9200036fe9c RCX: 0000000000000640 RDX: ffff8881177ac000 RSI: 0000000000000004 RDI: ffff8881177ac9c0 RBP: ffffc90001b7f570 R08: ffffea00045debf7 R09: 0000000000000000 R10: ffffed1022ef5000 R11: fffff940008bbd7f 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 vfs_fstatat+0xcb/0x1d0 fs/stat.c:340 __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:0x7fb8bd911b0a 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:00007ffe74b51e58 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000561eeaa20b40 RCX: 00007fb8bd911b0a RDX: 00007ffe74b51e60 RSI: 00007ffe74b51ef0 RDI: 00000000ffffff9c RBP: 0000561eeaa11700 R08: 0000561eeaa20b40 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 0000561eeaa117f0 R13: 00007ffe74b51ef0 R14: 0000561eb9139ca4 R15: 0000561eb9139bcc ---[ 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: 1 UID: 0 PID: 317 Comm: udevd Not tainted syzkaller #0 c36f08223ec58598e05683a28d55b954d63a7946 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:ffffc90001b7f4b8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff9200036fe9c RCX: 0000000000000640 RDX: ffff8881177ac000 RSI: 0000000000000004 RDI: ffff8881177ac9c0 RBP: ffffc90001b7f570 R08: ffffea00045debf7 R09: 0000000000000000 R10: ffffed1022ef5000 R11: fffff940008bbd7f 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 vfs_fstatat+0xcb/0x1d0 fs/stat.c:340 __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:0x7fb8bd911b0a 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:00007ffe74b51e58 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000561eeaa20b40 RCX: 00007fb8bd911b0a RDX: 00007ffe74b51e60 RSI: 00007ffe74b51ef0 RDI: 00000000ffffff9c RBP: 0000561eeaa11700 R08: 0000561eeaa20b40 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 0000561eeaa117f0 R13: 00007ffe74b51ef0 R14: 0000561eb9139ca4 R15: 0000561eb9139bcc ---[ 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