syzbot


UBSAN: array-index-out-of-bounds in aiptek_irq

Status: upstream: reported C repro on 2026/06/10 19:26
Reported-by: syzbot+74b75376ca81b21ff7ca@syzkaller.appspotmail.com
First crash: 1d03h, last: 11h38m
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 UBSAN: array-index-out-of-bounds in aiptek_irq origin:upstream 15 C 11 57m 1d07h 0/2 upstream: reported C repro on 2026/06/10 15:23
linux-6.6 UBSAN: array-index-out-of-bounds in aiptek_irq 15 4 10h15m 1d02h 0/2 upstream: reported on 2026/06/10 20:15
android-6-12 UBSAN: array-index-out-of-bounds in aiptek_irq 15 C 40 1h54m 1d09h 0/1 premoderation: reported C repro on 2026/06/10 12:41
linux-5.15 UBSAN: array-index-out-of-bounds in aiptek_irq origin:lts-only 15 C 2 7h02m 1d04h 0/3 upstream: reported C repro on 2026/06/10 17:51
android-5-15 UBSAN: array-index-out-of-bounds in aiptek_irq 15 C 4 14h56m 15h40m 0/2 upstream: reported C repro on 2026/06/11 06:49
android-5-10 UBSAN: array-index-out-of-bounds in aiptek_irq 15 C 15 14h51m 1d09h 0/2 upstream: reported C repro on 2026/06/10 13:22

Sample crash report:
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 38062 is out of range for type 'const int[34]'
CPU: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call trace:
 dump_backtrace+0x1c0/0x1ec arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __dump_stack+0x30/0x40 lib/dump_stack.c:88
 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106
 dump_stack+0x1c/0x5c lib/dump_stack.c:113
 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151
 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282
 aiptek_irq+0x1974/0x22c0 drivers/input/tablet/aiptek.c:741
 __usb_hcd_giveback_urb+0x2e0/0x500 drivers/usb/core/hcd.c:1675
 usb_hcd_giveback_urb+0x100/0x3b8 drivers/usb/core/hcd.c:1758
 dummy_timer+0x5e8/0x244c drivers/usb/gadget/udc/dummy_hcd.c:2004
 __run_hrtimer kernel/time/hrtimer.c:1751 [inline]
 __hrtimer_run_queues+0x438/0xc40 kernel/time/hrtimer.c:1815
 hrtimer_run_softirq+0x160/0x400 kernel/time/hrtimer.c:1832
 handle_softirqs+0x318/0xc60 kernel/softirq.c:596
 __do_softirq+0x14/0x20 kernel/softirq.c:630
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85
 invoke_softirq kernel/softirq.c:477 [inline]
 __irq_exit_rcu+0x23c/0x438 kernel/softirq.c:679
 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691
 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline]
 el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581
 arch_local_irq_enable+0xc/0x18 arch/arm64/include/asm/irqflags.h:35
 default_idle_call+0x68/0xd8 kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x35c/0x600 kernel/sched/idle.c:323
 cpu_startup_entry+0x5c/0x74 kernel/sched/idle.c:422
 rest_init+0x2d4/0x2f0 init/main.c:745
 start_kernel+0x0/0x538 init/main.c:904
 start_kernel+0x48c/0x538 init/main.c:1151
 __primary_switched+0xb8/0xc0 arch/arm64/kernel/head.S:468
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 38063 is out of range for type 'const int[34]'
CPU: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call trace:
 dump_backtrace+0x1c0/0x1ec arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __dump_stack+0x30/0x40 lib/dump_stack.c:88
 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106
 dump_stack+0x1c/0x5c lib/dump_stack.c:113
 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151
 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282
 aiptek_irq+0x1844/0x22c0 drivers/input/tablet/aiptek.c:763
 __usb_hcd_giveback_urb+0x2e0/0x500 drivers/usb/core/hcd.c:1675
 usb_hcd_giveback_urb+0x100/0x3b8 drivers/usb/core/hcd.c:1758
 dummy_timer+0x5e8/0x244c drivers/usb/gadget/udc/dummy_hcd.c:2004
 __run_hrtimer kernel/time/hrtimer.c:1751 [inline]
 __hrtimer_run_queues+0x438/0xc40 kernel/time/hrtimer.c:1815
 hrtimer_run_softirq+0x160/0x400 kernel/time/hrtimer.c:1832
 handle_softirqs+0x318/0xc60 kernel/softirq.c:596
 __do_softirq+0x14/0x20 kernel/softirq.c:630
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85
 invoke_softirq kernel/softirq.c:477 [inline]
 __irq_exit_rcu+0x23c/0x438 kernel/softirq.c:679
 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691
 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline]
 el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581
 arch_local_irq_enable+0xc/0x18 arch/arm64/include/asm/irqflags.h:35
 default_idle_call+0x68/0xd8 kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x35c/0x600 kernel/sched/idle.c:323
 cpu_startup_entry+0x5c/0x74 kernel/sched/idle.c:422
 rest_init+0x2d4/0x2f0 init/main.c:745
 start_kernel+0x0/0x538 init/main.c:904
 start_kernel+0x48c/0x538 init/main.c:1151
 __primary_switched+0xb8/0xc0 arch/arm64/kernel/head.S:468
================================================================================
aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/11 09:51 linux-6.1.y 228da13e907e b754d2d8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 UBSAN: array-index-out-of-bounds in aiptek_irq
2026/06/11 09:15 linux-6.1.y 228da13e907e b754d2d8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 UBSAN: array-index-out-of-bounds in aiptek_irq
2026/06/11 08:26 linux-6.1.y 228da13e907e b754d2d8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 UBSAN: array-index-out-of-bounds in aiptek_irq
2026/06/11 10:51 linux-6.1.y 228da13e907e b754d2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan UBSAN: array-index-out-of-bounds in aiptek_irq
2026/06/11 07:34 linux-6.1.y 228da13e907e b754d2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan UBSAN: array-index-out-of-bounds in aiptek_irq
2026/06/10 19:25 linux-6.1.y 228da13e907e f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan UBSAN: array-index-out-of-bounds in aiptek_irq
2026/06/11 07:49 linux-6.1.y 228da13e907e b754d2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 UBSAN: array-index-out-of-bounds in aiptek_irq
* Struck through repros no longer work on HEAD.