================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 58388 is out of range for type 'const int[34]' CPU: 0 PID: 25 Comm: kdevtmpfs Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0xa58/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:2017 __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:on_stack arch/x86/include/asm/stacktrace.h:60 [inline] RIP: 0010:unwind_next_frame+0x1cd7/0x2990 arch/x86/kernel/unwind_orc.c:665 Code: ff df 80 3c 08 00 74 08 4c 89 ff e8 c3 34 a4 00 49 8b 07 4c 39 f3 0f 96 c1 4c 39 f0 0f 97 c2 84 d1 74 3c 49 8d 4e 08 48 39 d9 <0f> 96 c2 48 39 c1 0f 97 c0 4d 39 e6 0f 97 c3 08 c3 08 d3 4c 89 f7 RSP: 0018:ffffc90000a0f2d8 EFLAGS: 00000202 RAX: ffffc90000a10000 RBX: ffffc90000a08000 RCX: ffffc90000a0f4a8 RDX: ffff88801d650001 RSI: 0000000000000001 RDI: ffffc90000a0f410 RBP: 0000000000000001 R08: ffff88801d650000 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: ffffc90000a0f408 R13: ffffc90000a0f408 R14: ffffc90000a0f4a0 R15: ffffc90000a0f418 __unwind_start+0x5bb/0x730 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf8/0x190 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1007 [inline] __kmalloc+0xb7/0x240 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] inotify_handle_inode_event+0x18a/0x560 fs/notify/inotify/inotify_fsnotify.c:96 fsnotify_handle_event fs/notify/fsnotify.c:311 [inline] send_to_group fs/notify/fsnotify.c:385 [inline] fsnotify+0x13a6/0x1800 fs/notify/fsnotify.c:591 __fsnotify_parent+0x655/0x7c0 fs/notify/fsnotify.c:248 notify_change+0xb3f/0xde0 fs/attr.c:504 handle_create drivers/base/devtmpfs.c:229 [inline] handle drivers/base/devtmpfs.c:384 [inline] devtmpfs_work_loop+0x9d6/0xe40 drivers/base/devtmpfs.c:399 devtmpfsd+0x48/0x50 drivers/base/devtmpfs.c:441 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 ================================================================================ ---------------- Code disassembly (best guess): 0: ff lcall (bad) 1: df 80 3c 08 00 74 filds 0x7400083c(%rax) 7: 08 4c 89 ff or %cl,-0x1(%rcx,%rcx,4) b: e8 c3 34 a4 00 call 0xa434d3 10: 49 8b 07 mov (%r15),%rax 13: 4c 39 f3 cmp %r14,%rbx 16: 0f 96 c1 setbe %cl 19: 4c 39 f0 cmp %r14,%rax 1c: 0f 97 c2 seta %dl 1f: 84 d1 test %dl,%cl 21: 74 3c je 0x5f 23: 49 8d 4e 08 lea 0x8(%r14),%rcx 27: 48 39 d9 cmp %rbx,%rcx * 2a: 0f 96 c2 setbe %dl <-- trapping instruction 2d: 48 39 c1 cmp %rax,%rcx 30: 0f 97 c0 seta %al 33: 4d 39 e6 cmp %r12,%r14 36: 0f 97 c3 seta %bl 39: 08 c3 or %al,%bl 3b: 08 d3 or %dl,%bl 3d: 4c 89 f7 mov %r14,%rdi