------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 47239 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 309 Comm: kworker/u8:3 Not tainted syzkaller #0 c4896d72d1fb51cdc6291d08376a37fd8080d7bb Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: events_unbound flush_to_ldisc 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:queue_work_on+0x16f/0x1e0 kernel/workqueue.c:2438 Code: 00 02 00 00 31 ff e8 30 e0 31 00 49 81 e7 00 02 00 00 75 07 e8 42 db 31 00 eb 06 e8 3b db 31 00 fb 48 c7 44 24 20 0e 36 e0 45 <4b> c7 04 2e 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 60 RSP: 0018:ffffc9000b73f6a0 EFLAGS: 00000293 RAX: ffffffff81559685 RBX: ffff888113ed1001 RCX: ffff888130c08000 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b73f750 R08: ffff888130c08007 R09: 1ffff11026181000 R10: dffffc0000000000 R11: 0000000000000000 R12: 0000000001000001 R13: dffffc0000000000 R14: 1ffff920016e7ed8 R15: 0000000000000200 queue_work include/linux/workqueue.h:670 [inline] tty_insert_flip_string_and_push_buffer+0x175/0x1f0 drivers/tty/tty_buffer.c:564 pty_write+0xaa/0xe0 drivers/tty/pty.c:118 tty_put_char+0x12e/0x180 drivers/tty/tty_io.c:3168 do_output_char+0x732/0xa00 drivers/tty/n_tty.c:469 __process_echoes+0x2d7/0xa50 drivers/tty/n_tty.c:718 flush_echoes drivers/tty/n_tty.c:808 [inline] __receive_buf drivers/tty/n_tty.c:1643 [inline] n_tty_receive_buf_common+0xc81/0x13a0 drivers/tty/n_tty.c:1740 n_tty_receive_buf2+0x37/0x50 drivers/tty/n_tty.c:1786 tty_ldisc_receive_buf+0xb5/0x1a0 drivers/tty/tty_buffer.c:387 tty_port_default_receive_buf+0x72/0xa0 drivers/tty/tty_port.c:37 receive_buf drivers/tty/tty_buffer.c:445 [inline] flush_to_ldisc+0x2f0/0x820 drivers/tty/tty_buffer.c:495 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 ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 47240 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 309 Comm: kworker/u8:3 Not tainted syzkaller #0 c4896d72d1fb51cdc6291d08376a37fd8080d7bb Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: events_unbound flush_to_ldisc 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:queue_work_on+0x16f/0x1e0 kernel/workqueue.c:2438 Code: 00 02 00 00 31 ff e8 30 e0 31 00 49 81 e7 00 02 00 00 75 07 e8 42 db 31 00 eb 06 e8 3b db 31 00 fb 48 c7 44 24 20 0e 36 e0 45 <4b> c7 04 2e 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 60 RSP: 0018:ffffc9000b73f6a0 EFLAGS: 00000293 RAX: ffffffff81559685 RBX: ffff888113ed1001 RCX: ffff888130c08000 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc9000b73f750 R08: ffff888130c08007 R09: 1ffff11026181000 R10: dffffc0000000000 R11: 0000000000000000 R12: 0000000001000001 R13: dffffc0000000000 R14: 1ffff920016e7ed8 R15: 0000000000000200 queue_work include/linux/workqueue.h:670 [inline] tty_insert_flip_string_and_push_buffer+0x175/0x1f0 drivers/tty/tty_buffer.c:564 pty_write+0xaa/0xe0 drivers/tty/pty.c:118 tty_put_char+0x12e/0x180 drivers/tty/tty_io.c:3168 do_output_char+0x732/0xa00 drivers/tty/n_tty.c:469 __process_echoes+0x2d7/0xa50 drivers/tty/n_tty.c:718 flush_echoes drivers/tty/n_tty.c:808 [inline] __receive_buf drivers/tty/n_tty.c:1643 [inline] n_tty_receive_buf_common+0xc81/0x13a0 drivers/tty/n_tty.c:1740 n_tty_receive_buf2+0x37/0x50 drivers/tty/n_tty.c:1786 tty_ldisc_receive_buf+0xb5/0x1a0 drivers/tty/tty_buffer.c:387 tty_port_default_receive_buf+0x72/0xa0 drivers/tty/tty_port.c:37 receive_buf drivers/tty/tty_buffer.c:445 [inline] flush_to_ldisc+0x2f0/0x820 drivers/tty/tty_buffer.c:495 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: 00 02 add %al,(%rdx) 2: 00 00 add %al,(%rax) 4: 31 ff xor %edi,%edi 6: e8 30 e0 31 00 call 0x31e03b b: 49 81 e7 00 02 00 00 and $0x200,%r15 12: 75 07 jne 0x1b 14: e8 42 db 31 00 call 0x31db5b 19: eb 06 jmp 0x21 1b: e8 3b db 31 00 call 0x31db5b 20: fb sti 21: 48 c7 44 24 20 0e 36 movq $0x45e0360e,0x20(%rsp) 28: e0 45 * 2a: 4b c7 04 2e 00 00 00 movq $0x0,(%r14,%r13,1) <-- trapping instruction 31: 00 32: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 39: 00 00 3b: 48 3b 44 24 60 cmp 0x60(%rsp),%rax