------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 26111 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 54 Comm: kworker/u9:0 Not tainted syzkaller #0 c3f4dbd045f6512adf9f342f5895bf9281952f81
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: hci0 hci_power_on
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+0x36e/0x530 drivers/usb/core/hcd.c:1648
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1757 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838
handle_softirqs+0x1aa/0x620 kernel/softirq.c:621
__do_softirq kernel/softirq.c:659 [inline]
invoke_softirq kernel/softirq.c:476 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708
irq_exit_rcu+0xd/0x30 kernel/softirq.c:720
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_trylock_spinning kernel/printk/printk.c:2076 [inline]
RIP: 0010:vprintk_emit+0x547/0x650 kernel/printk/printk.c:2461
Code: 81 e6 00 02 00 00 31 ff e8 c6 c5 1e 00 48 81 e3 00 02 00 00 75 07 e8 d8 c0 1e 00 eb 06 e8 d1 c0 1e 00 fb c6 05 49 1a 55 07 00 31 fd ff ff e8 bf c0 1e 00 e9 94 fe ff ff 41 ff ce bf 58 89 41
RSP: 0018:ffffc9000077f6c0 EFLAGS: 00000293
RAX: ffffffff8168b0ef RBX: 0000000000000200 RCX: ffff888104a49300
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000077f788 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000efec8 R12: 1ffff920000efedc
R13: 000000000000002b R14: 0000000000000000 R15: dffffc0000000000
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
bt_err+0x122/0x180 net/bluetooth/lib.c:296
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:271 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:287 [inline]
hci_read_local_features_sync net/bluetooth/hci_sync.c:3725 [inline]
hci_init_stage_sync net/bluetooth/hci_sync.c:3640 [inline]
hci_init1_sync net/bluetooth/hci_sync.c:3772 [inline]
hci_init_sync net/bluetooth/hci_sync.c:4852 [inline]
hci_dev_init_sync net/bluetooth/hci_sync.c:5044 [inline]
hci_dev_open_sync+0x1170/0x29c0 net/bluetooth/hci_sync.c:5122
hci_dev_do_open net/bluetooth/hci_core.c:430 [inline]
hci_power_on+0x1a5/0x5a0 net/bluetooth/hci_core.c:959
process_one_work kernel/workqueue.c:3273 [inline]
process_scheduled_works+0x7f7/0x1060 kernel/workqueue.c:3354
worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
kthread+0x2c7/0x360 kernel/kthread.c:389
ret_from_fork+0x67/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 ffffffff8671e0fc by task kworker/u9:0/54
CPU: 1 UID: 0 PID: 54 Comm: kworker/u9:0 Not tainted syzkaller #0 c3f4dbd045f6512adf9f342f5895bf9281952f81
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: hci0 hci_power_on
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+0x36e/0x530 drivers/usb/core/hcd.c:1648
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1757 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838
handle_softirqs+0x1aa/0x620 kernel/softirq.c:621
__do_softirq kernel/softirq.c:659 [inline]
invoke_softirq kernel/softirq.c:476 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708
irq_exit_rcu+0xd/0x30 kernel/softirq.c:720
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_trylock_spinning kernel/printk/printk.c:2076 [inline]
RIP: 0010:vprintk_emit+0x547/0x650 kernel/printk/printk.c:2461
Code: 81 e6 00 02 00 00 31 ff e8 c6 c5 1e 00 48 81 e3 00 02 00 00 75 07 e8 d8 c0 1e 00 eb 06 e8 d1 c0 1e 00 fb c6 05 49 1a 55 07 00 31 fd ff ff e8 bf c0 1e 00 e9 94 fe ff ff 41 ff ce bf 58 89 41
RSP: 0018:ffffc9000077f6c0 EFLAGS: 00000293
RAX: ffffffff8168b0ef RBX: 0000000000000200 RCX: ffff888104a49300
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000077f788 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000efec8 R12: 1ffff920000efedc
R13: 000000000000002b R14: 0000000000000000 R15: dffffc0000000000
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
bt_err+0x122/0x180 net/bluetooth/lib.c:296
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:271 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:287 [inline]
hci_read_local_features_sync net/bluetooth/hci_sync.c:3725 [inline]
hci_init_stage_sync net/bluetooth/hci_sync.c:3640 [inline]
hci_init1_sync net/bluetooth/hci_sync.c:3772 [inline]
hci_init_sync net/bluetooth/hci_sync.c:4852 [inline]
hci_dev_init_sync net/bluetooth/hci_sync.c:5044 [inline]
hci_dev_open_sync+0x1170/0x29c0 net/bluetooth/hci_sync.c:5122
hci_dev_do_open net/bluetooth/hci_core.c:430 [inline]
hci_power_on+0x1a5/0x5a0 net/bluetooth/hci_core.c:959
process_one_work kernel/workqueue.c:3273 [inline]
process_scheduled_works+0x7f7/0x1060 kernel/workqueue.c:3354
worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
kthread+0x2c7/0x360 kernel/kthread.c:389
ret_from_fork+0x67/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.212+0x3c/0x40
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x671e
flags: 0x4000(reserved|zone=0)
raw: 0000000000004000 ffffea000019c788 ffffea000019c788 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:
ffffffff8671df80: 00 00 01 f9 f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9
ffffffff8671e000: 00 00 01 f9 f9 f9 f9 f9 00 00 01 f9 f9 f9 f9 f9
>ffffffff8671e080: 00 00 04 f9 f9 f9 f9 f9 00 00 00 02 f9 f9 f9 f9
^
ffffffff8671e100: 00 00 00 07 f9 f9 f9 f9 00 00 00 07 f9 f9 f9 f9
ffffffff8671e180: 00 00 00 07 f9 f9 f9 f9 00 00 00 07 f9 f9 f9 f9
==================================================================
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 26112 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 54 Comm: kworker/u9:0 Tainted: G B syzkaller #0 c3f4dbd045f6512adf9f342f5895bf9281952f81
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: hci0 hci_power_on
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+0x36e/0x530 drivers/usb/core/hcd.c:1648
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1757 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838
handle_softirqs+0x1aa/0x620 kernel/softirq.c:621
__do_softirq kernel/softirq.c:659 [inline]
invoke_softirq kernel/softirq.c:476 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708
irq_exit_rcu+0xd/0x30 kernel/softirq.c:720
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_trylock_spinning kernel/printk/printk.c:2076 [inline]
RIP: 0010:vprintk_emit+0x547/0x650 kernel/printk/printk.c:2461
Code: 81 e6 00 02 00 00 31 ff e8 c6 c5 1e 00 48 81 e3 00 02 00 00 75 07 e8 d8 c0 1e 00 eb 06 e8 d1 c0 1e 00 fb c6 05 49 1a 55 07 00 31 fd ff ff e8 bf c0 1e 00 e9 94 fe ff ff 41 ff ce bf 58 89 41
RSP: 0018:ffffc9000077f6c0 EFLAGS: 00000293
RAX: ffffffff8168b0ef RBX: 0000000000000200 RCX: ffff888104a49300
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000077f788 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000efec8 R12: 1ffff920000efedc
R13: 000000000000002b R14: 0000000000000000 R15: dffffc0000000000
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
bt_err+0x122/0x180 net/bluetooth/lib.c:296
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:271 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:287 [inline]
hci_read_local_features_sync net/bluetooth/hci_sync.c:3725 [inline]
hci_init_stage_sync net/bluetooth/hci_sync.c:3640 [inline]
hci_init1_sync net/bluetooth/hci_sync.c:3772 [inline]
hci_init_sync net/bluetooth/hci_sync.c:4852 [inline]
hci_dev_init_sync net/bluetooth/hci_sync.c:5044 [inline]
hci_dev_open_sync+0x1170/0x29c0 net/bluetooth/hci_sync.c:5122
hci_dev_do_open net/bluetooth/hci_core.c:430 [inline]
hci_power_on+0x1a5/0x5a0 net/bluetooth/hci_core.c:959
process_one_work kernel/workqueue.c:3273 [inline]
process_scheduled_works+0x7f7/0x1060 kernel/workqueue.c:3354
worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
kthread+0x2c7/0x360 kernel/kthread.c:389
ret_from_fork+0x67/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
----------------
Code disassembly (best guess):
0: 81 e6 00 02 00 00 and $0x200,%esi
6: 31 ff xor %edi,%edi
8: e8 c6 c5 1e 00 call 0x1ec5d3
d: 48 81 e3 00 02 00 00 and $0x200,%rbx
14: 75 07 jne 0x1d
16: e8 d8 c0 1e 00 call 0x1ec0f3
1b: eb 06 jmp 0x23
1d: e8 d1 c0 1e 00 call 0x1ec0f3
22: fb sti
23: c6 05 49 1a 55 07 00 movb $0x0,0x7551a49(%rip) # 0x7551a73
* 2a: e9 31 fd ff ff jmp 0xfffffd60 <-- trapping instruction
2f: e8 bf c0 1e 00 call 0x1ec0f3
34: e9 94 fe ff ff jmp 0xfffffecd
39: 41 ff ce dec %r14d
3c: bf .byte 0xbf
3d: 58 pop %rax
3e: 89 .byte 0x89
3f: 41 rex.B