================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 1279 is out of range for type 'const int[34]'
CPU: 0 PID: 8749 Comm: udevd 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:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline]
RIP: 0010:deref_stack_reg+0xa8/0x230 arch/x86/kernel/unwind_orc.c:403
Code: e8 2d a5 4b 00 85 ed 0f 95 c0 48 8b 2c 24 49 39 ee 0f 96 c1 20 c1 49 39 ec 0f 97 c0 84 c1 74 1e 48 8d 45 08 4c 39 f0 0f 97 c1 <4c> 39 e0 0f 96 c0 84 c1 74 11 e8 49 a1 4b 00 e9 dd 00 00 00 e8 3f
RSP: 0018:ffffc9000d8e70a8 EFLAGS: 00000206
RAX: ffffc9000d8e78d8 RBX: 1ffff92001b1ce39 RCX: 0000000000000001
RDX: ffff88807ae98000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000d8e78d0 R08: ffff88807ae98000 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffc9000d8e8000
R13: 1ffff92001b1ce3b R14: ffffc9000d8e0000 R15: ffffc9000d8e71c8
unwind_next_frame+0x1781/0x2990 arch/x86/kernel/unwind_orc.c:648
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_save_free_info+0x28/0x40 mm/kasan/generic.c:522
____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1811 [inline]
slab_free_freelist_hook+0x130/0x1a0 mm/slub.c:1837
slab_free mm/slub.c:3830 [inline]
__kmem_cache_free+0xba/0x1f0 mm/slub.c:3843
tomoyo_realpath_from_path+0x587/0x5c0 security/tomoyo/realpath.c:286
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_check_open_permission+0x224/0x460 security/tomoyo/file.c:771
security_file_open+0x62/0xa0 security/security.c:2968
do_dentry_open+0x32b/0x14b0 fs/open.c:916
do_open fs/namei.c:3683 [inline]
path_openat+0x284f/0x3270 fs/namei.c:3844
do_filp_open+0x1f2/0x430 fs/namei.c:3871
do_sys_openat2+0x134/0x1d0 fs/open.c:1422
do_sys_open fs/open.c:1437 [inline]
__do_sys_openat fs/open.c:1453 [inline]
__se_sys_openat fs/open.c:1448 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1448
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:0x7f9e4c6a7407
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:00007fffdce20dd0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9e4ce2b880 RCX: 00007f9e4c6a7407
RDX: 0000000000080000 RSI: 00007fffdce20f00 RDI: ffffffffffffff9c
RBP: 00005579c1e04ba0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00005579c1e04c90
R13: 00007fffdce20f00 R14: 00007fffdce228a0 R15: 00005579b32d1bcc
================================================================================
----------------
Code disassembly (best guess):
0: e8 2d a5 4b 00 call 0x4ba532
5: 85 ed test %ebp,%ebp
7: 0f 95 c0 setne %al
a: 48 8b 2c 24 mov (%rsp),%rbp
e: 49 39 ee cmp %rbp,%r14
11: 0f 96 c1 setbe %cl
14: 20 c1 and %al,%cl
16: 49 39 ec cmp %rbp,%r12
19: 0f 97 c0 seta %al
1c: 84 c1 test %al,%cl
1e: 74 1e je 0x3e
20: 48 8d 45 08 lea 0x8(%rbp),%rax
24: 4c 39 f0 cmp %r14,%rax
27: 0f 97 c1 seta %cl
* 2a: 4c 39 e0 cmp %r12,%rax <-- trapping instruction
2d: 0f 96 c0 setbe %al
30: 84 c1 test %al,%cl
32: 74 11 je 0x45
34: e8 49 a1 4b 00 call 0x4ba182
39: e9 dd 00 00 00 jmp 0x11b
3e: e8 .byte 0xe8
3f: 3f (bad)