================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1023 is out of range for type 'const int[34]' CPU: 0 PID: 3637 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:vsnprintf+0x56e/0x1c20 lib/vsprintf.c:-1 Code: fc ff df 48 8b 4c 24 08 0f b6 04 01 84 c0 0f 85 ad 13 00 00 41 83 c7 08 44 89 3a 49 bf 00 00 00 00 00 fc ff df e9 de 07 00 00 <49> be 00 00 00 00 00 fc ff df 48 8b 44 24 08 42 0f b6 04 30 84 c0 RSP: 0018:ffffc900032e77f0 EFLAGS: 00000283 RAX: 0000000000000012 RBX: ffff1000ffffff0f RCX: 0000000000000001 RDX: ffffffff8a2126ee RSI: ffffffff8e0a1e60 RDI: 000000000000000f RBP: ffffffff8b444b02 R08: ffff88807b3b8000 R09: 0000000000000012 R10: 0000000000000012 R11: 0000000000000000 R12: 000000000000000f R13: 00000000000000a5 R14: 0000000000000002 R15: ffffffff8b444b00 snprintf+0xe5/0x140 lib/vsprintf.c:2940 input_print_modalias_bits drivers/input/input.c:1382 [inline] input_print_modalias_parts+0x502/0xc00 drivers/input/input.c:1442 input_print_modalias drivers/input/input.c:1470 [inline] input_add_uevent_modalias_var+0xbc/0x1d0 drivers/input/input.c:1720 dev_uevent+0x4d6/0x740 drivers/base/core.c:2622 uevent_show+0x1a8/0x320 drivers/base/core.c:2671 dev_attr_show+0x50/0xb0 drivers/base/core.c:2372 sysfs_kf_seq_show+0x349/0x4b0 fs/sysfs/file.c:59 seq_read_iter+0x460/0xc50 fs/seq_file.c:230 call_read_iter include/linux/fs.h:2259 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x471/0x960 fs/read_write.c:470 ksys_read+0x14d/0x260 fs/read_write.c:613 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:0x7f61d12a7407 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:00007fffb808a9f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f61d1a23880 RCX: 00007f61d12a7407 RDX: 0000000000001000 RSI: 00005647599d4a00 RDI: 000000000000000c RBP: 00007f61d13efff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a R13: 00007f61d13efea0 R14: 0000000000000000 R15: 00005647599d27a0 ================================================================================ ---------------- Code disassembly (best guess): 0: fc cld 1: ff lcall (bad) 2: df 48 8b fisttps -0x75(%rax) 5: 4c 24 08 rex.WR and $0x8,%al 8: 0f b6 04 01 movzbl (%rcx,%rax,1),%eax c: 84 c0 test %al,%al e: 0f 85 ad 13 00 00 jne 0x13c1 14: 41 83 c7 08 add $0x8,%r15d 18: 44 89 3a mov %r15d,(%rdx) 1b: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 22: fc ff df 25: e9 de 07 00 00 jmp 0x808 * 2a: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 <-- trapping instruction 31: fc ff df 34: 48 8b 44 24 08 mov 0x8(%rsp),%rax 39: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 3e: 84 c0 test %al,%al