------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 255 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 799 Comm: syz-executor Not tainted syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
ubsan_epilogue+0xe/0x40 lib/ubsan.c:231
__ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429
aiptek_irq+0x208d/0x2a00 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__update_page_owner_handle+0x22/0x370 mm/page_owner.c:256
Code: 90 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 38 4c 89 4d a8 44 89 45 c8 89 4d cc 41 89 d7 89 75 d0 <48> 89 fb 49 be 00 00 00 00 00 fc ff df e8 dc ff 9f ff bf 20 00 00
RSP: 0018:ffffc9000b80f598 EFLAGS: 00000292
RAX: 000000000000031f RBX: 0000000bcbb05da9 RCX: 0000000000102dc2
RDX: 0000000000000000 RSI: 00000000043c016c RDI: ffff888107997880
RBP: ffffc9000b80f5f8 R08: 00000000ffffffff R09: 0000000bcbb05da9
R10: ffff88812132b090 R11: ffffffff817790f0 R12: 0000000000000000
R13: 000000000000031f R14: ffff888107997880 R15: 0000000000000000
__set_page_owner+0x129/0x600 mm/page_owner.c:343
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x37d/0x3b0 mm/page_alloc.c:1864
prep_new_page+0x2d/0x180 mm/page_alloc.c:1872
get_page_from_freelist+0x4aea/0x4ba0 mm/page_alloc.c:3949
__alloc_pages_noprof+0x35a/0x7e0 mm/page_alloc.c:5316
vm_area_alloc_pages mm/vmalloc.c:-1 [inline]
__vmalloc_area_node mm/vmalloc.c:3696 [inline]
__vmalloc_node_range_noprof+0x8e5/0x1300 mm/vmalloc.c:3878
vmalloc_user_noprof+0x77/0x90 mm/vmalloc.c:4038
kcov_ioctl+0x5d/0x5a0 kernel/kcov.c:716
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0x123/0x1b0 fs/ioctl.c:892
__x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:892
x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fc842d9f7ab
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffe88ca9c40 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000080000 RCX: 00007fc842d9f7ab
RDX: 0000000000080000 RSI: ffffffff80086301 RDI: 00000000000000dd
RBP: 00007fc8430264e8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000003 R14: 00007ffe88ca9ef8 R15: 0000000000000000
---[ end trace ]---
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 256 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 799 Comm: syz-executor Not tainted syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
ubsan_epilogue+0xe/0x40 lib/ubsan.c:231
__ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429
aiptek_irq+0x1f3c/0x2a00 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__update_page_owner_handle+0x22/0x370 mm/page_owner.c:256
Code: 90 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 38 4c 89 4d a8 44 89 45 c8 89 4d cc 41 89 d7 89 75 d0 <48> 89 fb 49 be 00 00 00 00 00 fc ff df e8 dc ff 9f ff bf 20 00 00
RSP: 0018:ffffc9000b80f598 EFLAGS: 00000292
RAX: 000000000000031f RBX: 0000000bcbb05da9 RCX: 0000000000102dc2
RDX: 0000000000000000 RSI: 00000000043c016c RDI: ffff888107997880
RBP: ffffc9000b80f5f8 R08: 00000000ffffffff R09: 0000000bcbb05da9
R10: ffff88812132b090 R11: ffffffff817790f0 R12: 0000000000000000
R13: 000000000000031f R14: ffff888107997880 R15: 0000000000000000
__set_page_owner+0x129/0x600 mm/page_owner.c:343
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x37d/0x3b0 mm/page_alloc.c:1864
prep_new_page+0x2d/0x180 mm/page_alloc.c:1872
get_page_from_freelist+0x4aea/0x4ba0 mm/page_alloc.c:3949
__alloc_pages_noprof+0x35a/0x7e0 mm/page_alloc.c:5316
vm_area_alloc_pages mm/vmalloc.c:-1 [inline]
__vmalloc_area_node mm/vmalloc.c:3696 [inline]
__vmalloc_node_range_noprof+0x8e5/0x1300 mm/vmalloc.c:3878
vmalloc_user_noprof+0x77/0x90 mm/vmalloc.c:4038
kcov_ioctl+0x5d/0x5a0 kernel/kcov.c:716
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0x123/0x1b0 fs/ioctl.c:892
__x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:892
x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fc842d9f7ab
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffe88ca9c40 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000080000 RCX: 00007fc842d9f7ab
RDX: 0000000000080000 RSI: ffffffff80086301 RDI: 00000000000000dd
RBP: 00007fc8430264e8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000003 R14: 00007ffe88ca9ef8 R15: 0000000000000000
---[ end trace ]---
==================================================================
BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20ab/0x2a00 drivers/input/tablet/aiptek.c:741
Read of size 4 at addr ffffffff8670d5bc by task kauditd/36
CPU: 1 UID: 0 PID: 36 Comm: kauditd Not tainted syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
print_address_description+0x71/0x210 mm/kasan/report.c:377
print_report+0x4a/0x70 mm/kasan/report.c:481
kasan_report+0x162/0x1a0 mm/kasan/report.c:594
__asan_report_load4_noabort+0x18/0x20 mm/kasan/report_generic.c:380
aiptek_irq+0x20ab/0x2a00 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_emit_next_record arch/x86/include/asm/irqflags.h:-1 [inline]
RIP: 0010:console_flush_all+0x755/0xc10 kernel/printk/printk.c:3242
Code: de 48 81 e6 00 02 00 00 31 ff e8 16 a5 1e 00 48 81 e3 00 02 00 00 75 07 e8 28 a0 1e 00 eb 06 e8 21 a0 1e 00 fb 49 8d 5c 24 58 <48> 8b 44 24 38 42 c6 44 38 08 f8 48 8b 44 24 28 42 80 3c 38 00 74
RSP: 0018:ffffc9000025f880 EFLAGS: 00000293
RAX: ffffffff816ac9af RBX: ffffffff880fd2f8 RCX: ffff888103678000
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000025f9b0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200004bf00 R12: ffffffff880fd2a0
R13: 0000000000000001 R14: ffffffff880fd2f8 R15: dffffc0000000000
__console_flush_and_unlock kernel/printk/printk.c:3301 [inline]
console_unlock+0xf8/0x2c0 kernel/printk/printk.c:3341
vprintk_emit+0x282/0x650 kernel/printk/printk.c:2462
vprintk_default+0x2a/0x40 kernel/printk/printk.c:2477
vprintk+0x93/0xa0 kernel/printk/printk_safe.c:75
_printk+0xde/0x140 kernel/printk/printk.c:2487
kauditd_printk_skb kernel/audit.c:547 [inline]
kauditd_hold_skb+0x1cc/0x230 kernel/audit.c:582
kauditd_send_queue+0x2c5/0x320 kernel/audit.c:767
kauditd_thread+0x4ea/0x750 kernel/audit.c:891
kthread+0x2c7/0x360 kernel/kthread.c:389
ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
The buggy address belongs to the variable:
.str+0x1c/0x20
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x670d
flags: 0x4000(reserved|zone=0)
raw: 0000000000004000 ffffea000019c348 ffffea000019c348 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner info is not present (never set?)
Memory state around the buggy address:
ffffffff8670d480: 05 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 02 f9 f9
ffffffff8670d500: f9 f9 f9 f9 00 00 00 00 00 00 00 00 f9 f9 f9 f9
>ffffffff8670d580: 00 00 00 00 06 f9 f9 f9 00 04 f9 f9 00 00 00 00
^
ffffffff8670d600: 00 f9 f9 f9 00 07 f9 f9 00 02 f9 f9 00 00 00 00
ffffffff8670d680: 00 03 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
==================================================================
aiptek 5-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: 90 nop
4: 90 nop
5: 90 nop
6: 90 nop
7: 90 nop
8: 55 push %rbp
9: 48 89 e5 mov %rsp,%rbp
c: 41 57 push %r15
e: 41 56 push %r14
10: 41 55 push %r13
12: 41 54 push %r12
14: 53 push %rbx
15: 48 83 ec 38 sub $0x38,%rsp
19: 4c 89 4d a8 mov %r9,-0x58(%rbp)
1d: 44 89 45 c8 mov %r8d,-0x38(%rbp)
21: 89 4d cc mov %ecx,-0x34(%rbp)
24: 41 89 d7 mov %edx,%r15d
27: 89 75 d0 mov %esi,-0x30(%rbp)
* 2a: 48 89 fb mov %rdi,%rbx <-- trapping instruction
2d: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
34: fc ff df
37: e8 dc ff 9f ff call 0xffa00018
3c: bf .byte 0xbf
3d: 20 00 and %al,(%rax)