================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 9222 is out of range for type 'const int[34]' CPU: 0 PID: 3640 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+0x188/0x24e lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1e87/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1673 dummy_timer+0xa21/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:memset+0x2b/0x40 mm/kasan/shadow.c:47 Code: 41 56 53 48 89 d3 89 f5 49 89 fe 48 8b 4c 24 18 48 89 d6 ba 01 00 00 00 e8 92 ec ff ff 84 c0 74 11 4c 89 f7 89 ee 48 89 da 5b <41> 5e 5d e9 cd c2 4b 08 31 c0 5b 41 5e 5d c3 66 0f 1f 44 00 00 41 RSP: 0018:ffffc900032e7428 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc900032e74e8 RCX: ffffffff8139037a RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900032e7538 RBP: 0000000000000000 R08: ffffc900032e7547 R09: 1ffff9200065cea8 R10: dffffc0000000000 R11: fffff5200065cea9 R12: dffffc0000000000 R13: ffffc900032e8000 R14: ffffc900032e7538 R15: ffffc900032e751d unwind_next_frame+0x8da/0x1fd0 arch/x86/kernel/unwind_orc.c:546 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] kernfs_fop_open+0x3ce/0xc60 fs/kernfs/file.c:690 do_dentry_open+0x7dd/0x10b0 fs/open.c:882 do_open fs/namei.c:3634 [inline] path_openat+0x2674/0x2f10 fs/namei.c:3791 do_filp_open+0x1ee/0x420 fs/namei.c:3818 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f4f13ea7407 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:00007fff01eb1e70 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f4f145bf880 RCX: 00007f4f13ea7407 RDX: 0000000000080000 RSI: 00007fff01eb1ff0 RDI: ffffffffffffff9c RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055dc776747f5 R13: 000055dc776747f5 R14: 0000000000000001 R15: 00007fff01eb6640 ================================================================================ ---------------- Code disassembly (best guess): 0: 41 56 push %r14 2: 53 push %rbx 3: 48 89 d3 mov %rdx,%rbx 6: 89 f5 mov %esi,%ebp 8: 49 89 fe mov %rdi,%r14 b: 48 8b 4c 24 18 mov 0x18(%rsp),%rcx 10: 48 89 d6 mov %rdx,%rsi 13: ba 01 00 00 00 mov $0x1,%edx 18: e8 92 ec ff ff call 0xffffecaf 1d: 84 c0 test %al,%al 1f: 74 11 je 0x32 21: 4c 89 f7 mov %r14,%rdi 24: 89 ee mov %ebp,%esi 26: 48 89 da mov %rbx,%rdx 29: 5b pop %rbx * 2a: 41 5e pop %r14 <-- trapping instruction 2c: 5d pop %rbp 2d: e9 cd c2 4b 08 jmp 0x84bc2ff 32: 31 c0 xor %eax,%eax 34: 5b pop %rbx 35: 41 5e pop %r14 37: 5d pop %rbp 38: c3 ret 39: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 3f: 41 rex.B