------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 33159 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 444 Comm: udevd Not tainted syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 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+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:kernel_text_address+0x5/0xe0 kernel/extable.c:95 Code: c2 5b 5d c3 cc cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <48> 89 e5 41 57 41 56 53 48 81 ff 00 00 00 81 0f 93 c0 48 81 ff 00 RSP: 0018:ffffc9000b7af3f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff85a37a27 RCX: 00000000016f5e01 RDX: ffffc9000b7aff20 RSI: 1ffff920016f5e8a RDI: ffffffff85a37a27 RBP: ffffc9000b7af410 R08: ffffc9000b7af510 R09: ffffc9000b7af508 R10: 000000000000000a R11: ffffffff81759ed0 R12: ffff888115754c00 R13: ffff888144f90780 R14: dffffc0000000000 R15: 1ffff920016f5e92 unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0x10a/0x170 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_alloc_info+0x3a/0x50 mm/kasan/generic.c:565 unpoison_slab_object mm/kasan/common.c:321 [inline] __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_node_noprof+0x1ca/0x420 mm/slub.c:4305 __alloc_skb+0x10c/0x360 net/core/skbuff.c:677 alloc_skb include/linux/skbuff.h:1363 [inline] netlink_alloc_large_skb+0xf7/0x1b0 net/netlink/af_netlink.c:1180 netlink_sendmsg+0x576/0xad0 net/netlink/af_netlink.c:1864 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x99e/0xa00 net/socket.c:2609 ___sys_sendmsg+0x2a6/0x370 net/socket.c:2663 __sys_sendmsg net/socket.c:2692 [inline] __do_sys_sendmsg net/socket.c:2701 [inline] __se_sys_sendmsg net/socket.c:2699 [inline] __x64_sys_sendmsg+0x206/0x2e0 net/socket.c:2699 x64_sys_call+0x2a4c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f7c740a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe3b3af9a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7c747de880 RCX: 00007f7c740a7407 RDX: 0000000000000000 RSI: 00007ffe3b3afa00 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000035f R13: 000055b73b778c90 R14: 0000000000000000 R15: 0000000000000000 ---[ 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 ffffffff8672501c by task udevd/444 CPU: 0 UID: 0 PID: 444 Comm: udevd Not tainted syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 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+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:kernel_text_address+0x5/0xe0 kernel/extable.c:95 Code: c2 5b 5d c3 cc cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <48> 89 e5 41 57 41 56 53 48 81 ff 00 00 00 81 0f 93 c0 48 81 ff 00 RSP: 0018:ffffc9000b7af3f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff85a37a27 RCX: 00000000016f5e01 RDX: ffffc9000b7aff20 RSI: 1ffff920016f5e8a RDI: ffffffff85a37a27 RBP: ffffc9000b7af410 R08: ffffc9000b7af510 R09: ffffc9000b7af508 R10: 000000000000000a R11: ffffffff81759ed0 R12: ffff888115754c00 R13: ffff888144f90780 R14: dffffc0000000000 R15: 1ffff920016f5e92 unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0x10a/0x170 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_alloc_info+0x3a/0x50 mm/kasan/generic.c:565 unpoison_slab_object mm/kasan/common.c:321 [inline] __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_node_noprof+0x1ca/0x420 mm/slub.c:4305 __alloc_skb+0x10c/0x360 net/core/skbuff.c:677 alloc_skb include/linux/skbuff.h:1363 [inline] netlink_alloc_large_skb+0xf7/0x1b0 net/netlink/af_netlink.c:1180 netlink_sendmsg+0x576/0xad0 net/netlink/af_netlink.c:1864 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x99e/0xa00 net/socket.c:2609 ___sys_sendmsg+0x2a6/0x370 net/socket.c:2663 __sys_sendmsg net/socket.c:2692 [inline] __do_sys_sendmsg net/socket.c:2701 [inline] __se_sys_sendmsg net/socket.c:2699 [inline] __x64_sys_sendmsg+0x206/0x2e0 net/socket.c:2699 x64_sys_call+0x2a4c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f7c740a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe3b3af9a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7c747de880 RCX: 00007f7c740a7407 RDX: 0000000000000000 RSI: 00007ffe3b3afa00 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000035f R13: 000055b73b778c90 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the variable: .str.31+0x1c/0x40 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6725 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c948 ffffea000019c948 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: ffffffff86724f00: 00 03 f9 f9 00 00 04 f9 f9 f9 f9 f9 00 00 06 f9 ffffffff86724f80: f9 f9 f9 f9 00 00 05 f9 f9 f9 f9 f9 00 07 f9 f9 >ffffffff86725000: 00 00 07 f9 f9 f9 f9 f9 00 04 f9 f9 00 00 01 f9 ^ ffffffff86725080: f9 f9 f9 f9 00 06 f9 f9 00 00 02 f9 f9 f9 f9 f9 ffffffff86725100: 00 03 f9 f9 00 00 00 00 00 04 f9 f9 00 00 00 05 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 33160 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 444 Comm: udevd Tainted: G B syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290 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+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:kernel_text_address+0x5/0xe0 kernel/extable.c:95 Code: c2 5b 5d c3 cc cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <48> 89 e5 41 57 41 56 53 48 81 ff 00 00 00 81 0f 93 c0 48 81 ff 00 RSP: 0018:ffffc9000b7af3f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff85a37a27 RCX: 00000000016f5e01 RDX: ffffc9000b7aff20 RSI: 1ffff920016f5e8a RDI: ffffffff85a37a27 RBP: ffffc9000b7af410 R08: ffffc9000b7af510 R09: ffffc9000b7af508 R10: 000000000000000a R11: ffffffff81759ed0 R12: ffff888115754c00 R13: ffff888144f90780 R14: dffffc0000000000 R15: 1ffff920016f5e92 unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0x10a/0x170 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_alloc_info+0x3a/0x50 mm/kasan/generic.c:565 unpoison_slab_object mm/kasan/common.c:321 [inline] __kasan_slab_alloc+0x73/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_node_noprof+0x1ca/0x420 mm/slub.c:4305 __alloc_skb+0x10c/0x360 net/core/skbuff.c:677 alloc_skb include/linux/skbuff.h:1363 [inline] netlink_alloc_large_skb+0xf7/0x1b0 net/netlink/af_netlink.c:1180 netlink_sendmsg+0x576/0xad0 net/netlink/af_netlink.c:1864 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x99e/0xa00 net/socket.c:2609 ___sys_sendmsg+0x2a6/0x370 net/socket.c:2663 __sys_sendmsg net/socket.c:2692 [inline] __do_sys_sendmsg net/socket.c:2701 [inline] __se_sys_sendmsg net/socket.c:2699 [inline] __x64_sys_sendmsg+0x206/0x2e0 net/socket.c:2699 x64_sys_call+0x2a4c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f7c740a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe3b3af9a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7c747de880 RCX: 00007f7c740a7407 RDX: 0000000000000000 RSI: 00007ffe3b3afa00 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000035f R13: 000055b73b778c90 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace ]--- aiptek 6-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: c2 5b 5d ret $0x5d5b 3: c3 ret 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 10: 00 00 00 13: 66 90 xchg %ax,%ax 15: b8 00 00 00 00 mov $0x0,%eax 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 66 0f 1f 00 nopw (%rax) 29: 55 push %rbp * 2a: 48 89 e5 mov %rsp,%rbp <-- trapping instruction 2d: 41 57 push %r15 2f: 41 56 push %r14 31: 53 push %rbx 32: 48 81 ff 00 00 00 81 cmp $0xffffffff81000000,%rdi 39: 0f 93 c0 setae %al 3c: 48 rex.W 3d: 81 .byte 0x81 3e: ff 00 incl (%rax)