------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 15763 is out of range for type 'const int[34]'
CPU: 0 UID: 0 PID: 112 Comm: udevd 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+0x44/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0033:0x7fc70acb5b19
Code: 5d 41 5e 41 5f c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 a9 00 00 00 0f 6f 47 10 48 8b 57 18 66 48 0f 7e c0 48 3b 78 18 75 7b 48 3b
RSP: 002b:00007ffd0a978900 EFLAGS: 00000246
RAX: 0000000000000090 RBX: 0000000000000040 RCX: 0000000000000091
RDX: 00007fc70adf1ba0 RSI: 0000000000000001 RDI: 0000562197bf0550
RBP: 00007fc70adf1ac0 R08: 00007fc70adf1ac0 R09: 0000000000000040
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000030
R13: 0000562197bf0550 R14: 0000000000000090 R15: 00007fc70adf1b20
---[ 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 ffffffff8671b80c by task udevd/112
CPU: 0 UID: 0 PID: 112 Comm: udevd 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+0x44/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0033:0x7fc70acb5b19
Code: 5d 41 5e 41 5f c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 a9 00 00 00 0f 6f 47 10 48 8b 57 18 66 48 0f 7e c0 48 3b 78 18 75 7b 48 3b
RSP: 002b:00007ffd0a978900 EFLAGS: 00000246
RAX: 0000000000000090 RBX: 0000000000000040 RCX: 0000000000000091
RDX: 00007fc70adf1ba0 RSI: 0000000000000001 RDI: 0000562197bf0550
RBP: 00007fc70adf1ac0 R08: 00007fc70adf1ac0 R09: 0000000000000040
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000030
R13: 0000562197bf0550 R14: 0000000000000090 R15: 00007fc70adf1b20
The buggy address belongs to the variable:
media_devnode_fops+0x14c/0x160
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x671b
flags: 0x4000(reserved|zone=0)
raw: 0000000000004000 ffffea000019c6c8 ffffea000019c6c8 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:
ffffffff8671b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffffff8671b780: 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9
>ffffffff8671b800: f9 f9 f9 f9 00 00 00 00 04 f9 f9 f9 f9 f9 f9 f9
^
ffffffff8671b880: 00 00 00 00 f9 f9 f9 f9 00 00 00 03 f9 f9 f9 f9
ffffffff8671b900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 15764 is out of range for type 'const int[34]'
CPU: 0 UID: 0 PID: 112 Comm: udevd Tainted: G B syzkaller #0 ff996278633adec6fd25d1632b496761701c4fe9
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+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+0x44/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0033:0x7fc70acb5b19
Code: 5d 41 5e 41 5f c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 a9 00 00 00 0f 6f 47 10 48 8b 57 18 66 48 0f 7e c0 48 3b 78 18 75 7b 48 3b
RSP: 002b:00007ffd0a978900 EFLAGS: 00000246
RAX: 0000000000000090 RBX: 0000000000000040 RCX: 0000000000000091
RDX: 00007fc70adf1ba0 RSI: 0000000000000001 RDI: 0000562197bf0550
RBP: 00007fc70adf1ac0 R08: 00007fc70adf1ac0 R09: 0000000000000040
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000030
R13: 0000562197bf0550 R14: 0000000000000090 R15: 00007fc70adf1b20
---[ end trace ]---
aiptek 9-1:0.0: aiptek_irq - usb_submit_urb failed with result -19