================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 259 is out of range for type 'const int[34]' CPU: 0 PID: 4181 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/0x250 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+0x1eaa/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674 dummy_timer+0x880/0x30b0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x53e/0x800 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x339/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194 Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 4f 9d 8b f7 65 8b 05 70 86 3b 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc90002def860 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a06 RCX: 0cf5801fb734cd00 RDX: dffffc0000000000 RSI: ffffffff8a2b3180 RDI: 0000000000000001 RBP: ffffc90002def8e0 R08: ffffffff964b3c03 R09: 1ffffffff2c96780 R10: dffffc0000000000 R11: fffffbfff2c96781 R12: dffffc0000000000 R13: ffff88805db74000 R14: ffffffff964b3c00 R15: 1ffff920005bdf0c __debug_check_no_obj_freed lib/debugobjects.c:982 [inline] debug_check_no_obj_freed+0x515/0x530 lib/debugobjects.c:1003 slab_free_hook mm/slub.c:1685 [inline] slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kfree+0xef/0x2a0 mm/slub.c:4564 tomoyo_realpath_from_path+0x5d8/0x610 security/tomoyo/realpath.c:291 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x23f/0x5d0 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x120 security/security.c:1349 vfs_getattr+0x26/0x3a0 fs/stat.c:157 vfs_fstat fs/stat.c:182 [inline] __do_sys_newfstat fs/stat.c:421 [inline] __se_sys_newfstat fs/stat.c:418 [inline] __x64_sys_newfstat+0x137/0x210 fs/stat.c:418 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f394ea01ad7 Code: 73 01 c3 48 8b 0d 21 f3 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 RSP: 002b:00007fffb7d12408 EFLAGS: 00000297 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 0000560205d93fa0 RCX: 00007f394ea01ad7 RDX: 00007f394eadfea0 RSI: 00007fffb7d12410 RDI: 0000000000000009 RBP: 00007f394eadfff0 R08: 0000000000000073 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000297 R12: 00007fffb7d125e0 R13: 00007f394eadfff0 R14: 0000000000000015 R15: 00005601c5e569dd ================================================================================ ---------------- Code disassembly (best guess): 0: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp) 7: 00 8: 9c pushf 9: 8f 44 24 20 pop 0x20(%rsp) d: f7 44 24 20 00 02 00 testl $0x200,0x20(%rsp) 14: 00 15: 41 c6 04 07 f8 movb $0xf8,(%r15,%rax,1) 1a: 75 4b jne 0x67 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 4f 9d 8b f7 call 0xf78b9d7e <-- trapping instruction 2f: 65 8b 05 70 86 3b 76 mov %gs:0x763b8670(%rip),%eax # 0x763b86a6 36: 85 c0 test %eax,%eax 38: 74 3c je 0x76 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss