------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 95 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 20 Comm: rcuop/0 Not tainted syzkaller #0 86de5008f7c01450474dc95eb50061c1f601e771
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+0x3ae/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+0xf/0x16 kernel/softirq.c:722
do_softirq+0xb8/0x110 kernel/softirq.c:566
__local_bh_enable_ip+0x74/0x80 kernel/softirq.c:493
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_do_batch+0x590/0xcb0 kernel/rcu/tree.c:2594
nocb_cb_wait kernel/rcu/tree_nocb.h:923 [inline]
rcu_nocb_cb_kthread+0x533/0xb60 kernel/rcu/tree_nocb.h:957
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
---[ 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 ffffffff8670befc by task rcuop/0/20
CPU: 1 UID: 0 PID: 20 Comm: rcuop/0 Not tainted syzkaller #0 86de5008f7c01450474dc95eb50061c1f601e771
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+0x3ae/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+0xf/0x16 kernel/softirq.c:722
do_softirq+0xb8/0x110 kernel/softirq.c:566
__local_bh_enable_ip+0x74/0x80 kernel/softirq.c:493
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_do_batch+0x590/0xcb0 kernel/rcu/tree.c:2594
nocb_cb_wait kernel/rcu/tree_nocb.h:923 [inline]
rcu_nocb_cb_kthread+0x533/0xb60 kernel/rcu/tree_nocb.h:957
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.9+0x3c/0x60
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x670b
flags: 0x4000(reserved|zone=0)
raw: 0000000000004000 ffffea000019c2c8 ffffea000019c2c8 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:
ffffffff8670bd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffffff8670be00: 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
>ffffffff8670be80: 00 00 00 04 f9 f9 f9 f9 00 00 00 00 06 f9 f9 f9
^
ffffffff8670bf00: f9 f9 f9 f9 00 00 00 00 00 03 f9 f9 f9 f9 f9 f9
ffffffff8670bf80: 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9
==================================================================
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 96 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 20 Comm: rcuop/0 Tainted: G B syzkaller #0 86de5008f7c01450474dc95eb50061c1f601e771
Tainted: [B]=BAD_PAGE
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+0x3ae/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+0xf/0x16 kernel/softirq.c:722
do_softirq+0xb8/0x110 kernel/softirq.c:566
__local_bh_enable_ip+0x74/0x80 kernel/softirq.c:493
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_do_batch+0x590/0xcb0 kernel/rcu/tree.c:2594
nocb_cb_wait kernel/rcu/tree_nocb.h:923 [inline]
rcu_nocb_cb_kthread+0x533/0xb60 kernel/rcu/tree_nocb.h:957
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
---[ end trace ]---
aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19