================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 1796 is out of range for type 'const int[34]'
CPU: 1 PID: 5673 Comm: kworker/u4:13 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
dump_stack_lvl+0x188/0x24e 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+0x1e87/0x28f0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1673
dummy_timer+0xa21/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:50
Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 90 90 90 90 90 90 90 b9 00 10 00 00 31 c0 aa c3 90 90 90 90 90 90 89 c8 48 c1 e9 03 74 18 0f 1f 84 00 00
RSP: 0018:ffffc90004c5f290 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000880
RDX: ffff88801e77d000 RSI: 0000000000000003 RDI: ffff88801e77d780
RBP: 00000000001d2040 R08: ffffea000079de37 R09: ffffed1003cef000
R10: dffffc0000000000 R11: fffff940000f3bc7 R12: 0000000000000001
R13: 0000000000000000 R14: ffffea000079de00 R15: 0000000000000008
clear_page arch/x86/include/asm/page_64.h:58 [inline]
clear_highpage include/linux/highmem.h:242 [inline]
clear_highpage_kasan_tagged include/linux/highmem.h:252 [inline]
kernel_init_pages mm/page_alloc.c:1408 [inline]
post_alloc_hook+0x12c/0x1a0 mm/page_alloc.c:2555
prep_new_page mm/page_alloc.c:2567 [inline]
get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358
__alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658
alloc_slab_page+0x5d/0x180 mm/slub.c:1799
allocate_slab mm/slub.c:1944 [inline]
new_slab+0x87/0x2d0 mm/slub.c:1997
___slab_alloc+0xbc5/0x1240 mm/slub.c:3154
__slab_alloc mm/slub.c:3240 [inline]
slab_alloc_node mm/slub.c:3325 [inline]
__kmem_cache_alloc_node+0x126/0x270 mm/slub.c:3398
kmalloc_trace+0x26/0xe0 mm/slab_common.c:1026
kmalloc include/linux/slab.h:563 [inline]
kzalloc include/linux/slab.h:699 [inline]
tomoyo_dump_page+0xe5/0x670 security/tomoyo/domain.c:909
tomoyo_scan_bprm security/tomoyo/condition.c:130 [inline]
tomoyo_condition+0x20b5/0x2dd0 security/tomoyo/condition.c:1120
tomoyo_check_acl+0x177/0x3f0 security/tomoyo/domain.c:177
tomoyo_execute_permission+0x11f/0x400 security/tomoyo/file.c:615
tomoyo_find_next_domain+0x442/0x1a30 security/tomoyo/domain.c:755
tomoyo_bprm_check_security+0x100/0x150 security/tomoyo/tomoyo.c:101
security_bprm_check+0x5e/0x90 security/security.c:870
search_binary_handler fs/exec.c:1752 [inline]
exec_binprm fs/exec.c:1805 [inline]
bprm_execve+0xa5d/0x17e0 fs/exec.c:1874
kernel_execve+0x87a/0x980 fs/exec.c:2039
call_usermodehelper_exec_async+0x207/0x350 kernel/umh.c:113
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
================================================================================
----------------
Code disassembly (best guess):
0: 48 89 47 18 mov %rax,0x18(%rdi)
4: 48 89 47 20 mov %rax,0x20(%rdi)
8: 48 89 47 28 mov %rax,0x28(%rdi)
c: 48 89 47 30 mov %rax,0x30(%rdi)
10: 48 89 47 38 mov %rax,0x38(%rdi)
14: 48 8d 7f 40 lea 0x40(%rdi),%rdi
18: 75 d9 jne 0xfffffff3
1a: 90 nop
1b: c3 ret
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: b9 00 10 00 00 mov $0x1000,%ecx
28: 31 c0 xor %eax,%eax
* 2a: f3 aa rep stos %al,%es:(%rdi) <-- trapping instruction
2c: c3 ret
2d: 90 nop
2e: 90 nop
2f: 90 nop
30: 90 nop
31: 90 nop
32: 90 nop
33: 89 c8 mov %ecx,%eax
35: 48 c1 e9 03 shr $0x3,%rcx
39: 74 18 je 0x53
3b: 0f .byte 0xf
3c: 1f (bad)
3d: 84 00 test %al,(%rax)