================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 20872 is out of range for type 'const int[34]' CPU: 1 PID: 5142 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:__sanitizer_cov_trace_cmp8+0x0/0x80 kernel/kcov.c:293 Code: c0 4c 89 01 48 c7 44 11 08 04 00 00 00 48 89 7c 11 10 48 89 74 11 18 48 89 44 11 20 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d d0 d0 7c 7e 65 8b 15 d1 d0 7c RSP: 0018:ffffc900032d7700 EFLAGS: 00000246 RAX: 1ffffffff1c785e3 RBX: 0000000000000000 RCX: ffff88807d819e00 RDX: 0000000000000000 RSI: 00007feda5ea7407 RDI: ffffffffa00076c0 RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff22378a0 R10: dffffc0000000000 R11: fffffbfff22378a1 R12: ffffffffa00076c0 R13: dffffc0000000000 R14: 00007feda5ea7407 R15: ffffffff8e3c3138 bpf_tree_comp kernel/bpf/core.c:632 [inline] __lt_find include/linux/rbtree_latch.h:115 [inline] latch_tree_find include/linux/rbtree_latch.h:208 [inline] bpf_ksym_find kernel/bpf/core.c:708 [inline] is_bpf_text_address+0x140/0x2a0 kernel/bpf/core.c:742 kernel_text_address+0xa0/0xd0 kernel/extable.c:125 __kernel_text_address+0xd/0x30 kernel/extable.c:79 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26 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 kmalloc include/linux/slab.h:600 [inline] kzalloc include/linux/slab.h:721 [inline] uevent_show+0x158/0x300 drivers/base/core.c:2701 dev_attr_show+0x54/0xc0 drivers/base/core.c:2379 sysfs_kf_seq_show+0x34d/0x4c0 fs/sysfs/file.c:59 seq_read_iter+0x464/0xc50 fs/seq_file.c:230 call_read_iter include/linux/fs.h:2012 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x486/0x990 fs/read_write.c:470 ksys_read+0x151/0x260 fs/read_write.c:613 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:0x7feda5ea7407 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:00007ffc09040a10 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007feda659f880 RCX: 00007feda5ea7407 RDX: 0000000000001000 RSI: 0000556c6c82dd90 RDI: 000000000000000c RBP: 00007feda5fefff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a R13: 00007feda5fefea0 R14: 0000000000000000 R15: 0000556c6c81b8a0 ================================================================================ ---------------- Code disassembly (best guess): 0: c0 4c 89 01 48 rorb $0x48,0x1(%rcx,%rcx,4) 5: c7 44 11 08 04 00 00 movl $0x4,0x8(%rcx,%rdx,1) c: 00 d: 48 89 7c 11 10 mov %rdi,0x10(%rcx,%rdx,1) 12: 48 89 74 11 18 mov %rsi,0x18(%rcx,%rdx,1) 17: 48 89 44 11 20 mov %rax,0x20(%rcx,%rdx,1) 1c: c3 ret 1d: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 24: 00 00 00 27: 0f 1f 00 nopl (%rax) * 2a: f3 0f 1e fa endbr64 <-- trapping instruction 2e: 48 8b 04 24 mov (%rsp),%rax 32: 65 48 8b 0d d0 d0 7c mov %gs:0x7e7cd0d0(%rip),%rcx # 0x7e7cd10a 39: 7e 3a: 65 gs 3b: 8b .byte 0x8b 3c: 15 .byte 0x15 3d: d1 d0 rcl $1,%eax 3f: 7c .byte 0x7c