================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:685:31 index 88 is out of range for type 'const int[34]' CPU: 0 PID: 5790 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+0x24c8/0x2920 drivers/input/tablet/aiptek.c:685 __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:check_kcov_mode kernel/kcov.c:182 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x17/0x60 kernel/kcov.c:216 Code: 48 8b 3d ec 87 05 0d 48 89 de 5b e9 23 a7 57 00 cc cc cc f3 0f 1e fa 48 8b 04 24 65 48 8b 0d c0 d2 7c 7e 65 8b 15 c1 d2 7c 7e <81> e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 RSP: 0018:ffffc90004707430 EFLAGS: 00000202 RAX: ffffffff813b2a4c RBX: ffffffff8f1cbe84 RCX: ffff88802862bc00 RDX: 0000000080000001 RSI: ffffffff8cfa05a0 RDI: 0000000000000002 RBP: ffffc90004707558 R08: ffff88802862bc00 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8f1cbe89 R13: ffffc90004707508 R14: 0000000000000002 R15: dffffc0000000000 unwind_next_frame+0x67c/0x2990 arch/x86/kernel/unwind_orc.c:505 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 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] kzalloc include/linux/slab.h:721 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x2ad/0x570 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x57c/0x5c0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x282/0x560 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x120 security/security.c:2187 vfs_getattr fs/stat.c:173 [inline] vfs_statx+0x172/0x680 fs/stat.c:248 vfs_fstatat+0x12a/0x1b0 fs/stat.c:299 __do_sys_newfstatat fs/stat.c:463 [inline] __se_sys_newfstatat fs/stat.c:457 [inline] __x64_sys_newfstatat+0x149/0x1f0 fs/stat.c:457 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:0x7f9186b11b0a Code: 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007ffe9a568718 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffe9a568bb0 RCX: 00007f9186b11b0a RDX: 00007ffe9a568720 RSI: 00007ffe9a568bb0 RDI: 00000000ffffff9c RBP: 0000564902d9c910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe9a5687b0 R13: 00007ffe9a568fe5 R14: 00005648ca49aca4 R15: 00005648ca49abcc ================================================================================ ---------------- Code disassembly (best guess): 0: 48 8b 3d ec 87 05 0d mov 0xd0587ec(%rip),%rdi # 0xd0587f3 7: 48 89 de mov %rbx,%rsi a: 5b pop %rbx b: e9 23 a7 57 00 jmp 0x57a733 10: cc int3 11: cc int3 12: cc int3 13: f3 0f 1e fa endbr64 17: 48 8b 04 24 mov (%rsp),%rax 1b: 65 48 8b 0d c0 d2 7c mov %gs:0x7e7cd2c0(%rip),%rcx # 0x7e7cd2e3 22: 7e 23: 65 8b 15 c1 d2 7c 7e mov %gs:0x7e7cd2c1(%rip),%edx # 0x7e7cd2eb * 2a: 81 e2 00 01 ff 00 and $0xff0100,%edx <-- trapping instruction 30: 74 11 je 0x43 32: 81 fa 00 01 00 00 cmp $0x100,%edx 38: 75 35 jne 0x6f 3a: 83 .byte 0x83 3b: b9 1c 16 00 00 mov $0x161c,%ecx