------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 27393 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 927 Comm: syz.3.183 Not tainted syzkaller #0 52d57b431c43020f0342b1af6a326091b8e30d09 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/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+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+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:0x7f1b49a72500 Code: fe c6 44 24 0e 01 45 31 ed 45 31 f6 89 7c 24 08 85 c0 0f 84 10 01 00 00 66 90 48 8b 3c 24 49 8b 54 24 40 4c 89 f0 4a 03 14 ef <80> 3d a1 58 3b 00 00 49 89 d6 48 89 d3 74 28 25 ff 0f 00 00 83 f0 RSP: 002b:00007fff1aa52d50 EFLAGS: 00000282 RAX: ffffffff829f63c9 RBX: ffffffff829f63c9 RCX: ffffffff829f63c9 RDX: ffffffff829f6410 RSI: ffffffff829f63c9 RDI: 00007f1b495ff008 RBP: 0000000000000000 R08: 00007f1b49e10000 R09: 00007f1b49e12000 R10: 00000000829f63cd R11: 000000000000000a R12: 00007f1b49e26038 R13: 0000000000073c6f R14: ffffffff829f63c9 R15: 00007f1b4a955720 ---[ 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 ffffffff8671f604 by task syz.3.183/927 CPU: 0 UID: 0 PID: 927 Comm: syz.3.183 Not tainted syzkaller #0 52d57b431c43020f0342b1af6a326091b8e30d09 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/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+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+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:0x7f1b49a72500 Code: fe c6 44 24 0e 01 45 31 ed 45 31 f6 89 7c 24 08 85 c0 0f 84 10 01 00 00 66 90 48 8b 3c 24 49 8b 54 24 40 4c 89 f0 4a 03 14 ef <80> 3d a1 58 3b 00 00 49 89 d6 48 89 d3 74 28 25 ff 0f 00 00 83 f0 RSP: 002b:00007fff1aa52d50 EFLAGS: 00000282 RAX: ffffffff829f63c9 RBX: ffffffff829f63c9 RCX: ffffffff829f63c9 RDX: ffffffff829f6410 RSI: ffffffff829f63c9 RDI: 00007f1b495ff008 RBP: 0000000000000000 R08: 00007f1b49e10000 R09: 00007f1b49e12000 R10: 00000000829f63cd R11: 000000000000000a R12: 00007f1b49e26038 R13: 0000000000073c6f R14: ffffffff829f63c9 R15: 00007f1b4a955720 The buggy address belongs to the variable: .str.299+0x24/0x40 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x671f flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c7c8 ffffea000019c7c8 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: ffffffff8671f500: f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9 00 00 00 05 ffffffff8671f580: f9 f9 f9 f9 00 00 00 05 f9 f9 f9 f9 00 00 07 f9 >ffffffff8671f600: f9 f9 f9 f9 00 00 07 f9 f9 f9 f9 f9 00 00 07 f9 ^ ffffffff8671f680: f9 f9 f9 f9 00 00 07 f9 f9 f9 f9 f9 00 00 00 06 ffffffff8671f700: f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9 00 00 00 06 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 27394 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 927 Comm: syz.3.183 Tainted: G B syzkaller #0 52d57b431c43020f0342b1af6a326091b8e30d09 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/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+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+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:0x7f1b49a72500 Code: fe c6 44 24 0e 01 45 31 ed 45 31 f6 89 7c 24 08 85 c0 0f 84 10 01 00 00 66 90 48 8b 3c 24 49 8b 54 24 40 4c 89 f0 4a 03 14 ef <80> 3d a1 58 3b 00 00 49 89 d6 48 89 d3 74 28 25 ff 0f 00 00 83 f0 RSP: 002b:00007fff1aa52d50 EFLAGS: 00000282 RAX: ffffffff829f63c9 RBX: ffffffff829f63c9 RCX: ffffffff829f63c9 RDX: ffffffff829f6410 RSI: ffffffff829f63c9 RDI: 00007f1b495ff008 RBP: 0000000000000000 R08: 00007f1b49e10000 R09: 00007f1b49e12000 R10: 00000000829f63cd R11: 000000000000000a R12: 00007f1b49e26038 R13: 0000000000073c6f R14: ffffffff829f63c9 R15: 00007f1b4a955720 ---[ end trace ]--- aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19