================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1407 is out of range for type 'const int[34]' CPU: 1 PID: 5869 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:217 __ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348 aiptek_irq+0x1eb8/0x2920 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1648 dummy_timer+0xa40/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:unwind_next_frame+0x1781/0x2990 arch/x86/kernel/unwind_orc.c:648 Code: d8 48 c1 e8 03 42 0f b6 04 38 84 c0 48 8b 74 24 08 0f 85 f9 10 00 00 49 0f bf 06 48 01 c6 49 8d 55 40 4c 89 ef e8 cf 14 00 00 <84> c0 0f 84 ac 01 00 00 e8 f2 a9 4b 00 e9 9e 04 00 00 4c 89 e5 4d RSP: 0018:ffffc9000487f6d8 EFLAGS: 00000296 RAX: 1ffff9200090fe01 RBX: ffffffff8f196583 RCX: ffff888024665a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffc9000487fba8 RBP: ffffc9000487f7f8 R08: ffff888024665a00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: ffffc9000487fb60 R13: ffffc9000487f7a8 R14: ffffffff8f196582 R15: dffffc0000000000 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 save_stack+0x125/0x230 mm/page_owner.c:128 __reset_page_owner+0x4e/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 discard_slab mm/slub.c:2127 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2667 put_cpu_partial+0x17c/0x250 mm/slub.c:2743 __slab_free+0x319/0x400 mm/slub.c:3700 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6a/0x4d0 mm/slab.h:767 slab_alloc_node mm/slub.c:3495 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x17e/0x2c0 mm/slub.c:3519 getname_flags+0xbb/0x500 fs/namei.c:140 do_sys_openat2+0xda/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1447 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd2158a7407 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:00007ffcb2bdc9d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd215f84880 RCX: 00007fd2158a7407 RDX: 0000000000080000 RSI: 00007ffcb2bdcb00 RDI: ffffffffffffff9c RBP: 000055b66dddfba0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055b66dddfc90 R13: 00007ffcb2bdcb00 R14: 000055b64402600c R15: 000055b64402cbcc ================================================================================ ---------------- Code disassembly (best guess): 0: d8 48 c1 fmuls -0x3f(%rax) 3: e8 03 42 0f b6 call 0xb60f420b 8: 04 38 add $0x38,%al a: 84 c0 test %al,%al c: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 11: 0f 85 f9 10 00 00 jne 0x1110 17: 49 0f bf 06 movswq (%r14),%rax 1b: 48 01 c6 add %rax,%rsi 1e: 49 8d 55 40 lea 0x40(%r13),%rdx 22: 4c 89 ef mov %r13,%rdi 25: e8 cf 14 00 00 call 0x14f9 * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 84 ac 01 00 00 je 0x1de 32: e8 f2 a9 4b 00 call 0x4baa29 37: e9 9e 04 00 00 jmp 0x4da 3c: 4c 89 e5 mov %r12,%rbp 3f: 4d rex.WRB