================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 261 is out of range for type 'const int[34]' CPU: 1 PID: 11660 Comm: syz.1.1819 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:217 __ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348 aiptek_irq+0x1eb8/0x2920 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1648 dummy_timer+0xa40/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:136 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x234/0x290 mm/kasan/generic.c:187 Code: ef 30 bb 07 00 00 00 45 84 ff 75 70 4d 01 f3 49 01 db 4d 89 dc 4d 85 db 74 95 4d 01 d1 4d 39 cc 75 0d 41 83 e0 07 45 0f be 09 <45> 39 c8 7c 80 0f b6 d2 e8 cf f2 ff ff 34 01 e9 71 ff ff ff 49 01 RSP: 0018:ffffc90005597648 EFLAGS: 00000206 RAX: 00000000ffffff01 RBX: ffffffffffffffff RCX: ffffffff8169561f RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900055976c0 RBP: ffffc90005597730 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000ab2ed8 R12: fffff52000ab2ed8 R13: dffffc0000000000 R14: fffff52000ab2ed9 R15: 1ffff92000ab2ed8 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1295 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock+0x11f/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:351 [inline] unix_dgram_sendmsg+0x96b/0x16e0 net/unix/af_unix.c:2044 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x61b/0x980 net/socket.c:2595 ___sys_sendmsg+0x2a6/0x360 net/socket.c:2649 __sys_sendmmsg+0x2ca/0x510 net/socket.c:2735 __do_sys_sendmmsg net/socket.c:2764 [inline] __se_sys_sendmmsg net/socket.c:2761 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2761 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3927f9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3928e53028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f3928215fa0 RCX: 00007f3927f9ce59 RDX: 0000000000000651 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007f3928032e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3928216038 R14: 00007f3928215fa0 R15: 00007ffd76026788 ================================================================================ ---------------- Code disassembly (best guess): 0: ef out %eax,(%dx) 1: 30 bb 07 00 00 00 xor %bh,0x7(%rbx) 7: 45 84 ff test %r15b,%r15b a: 75 70 jne 0x7c c: 4d 01 f3 add %r14,%r11 f: 49 01 db add %rbx,%r11 12: 4d 89 dc mov %r11,%r12 15: 4d 85 db test %r11,%r11 18: 74 95 je 0xffffffaf 1a: 4d 01 d1 add %r10,%r9 1d: 4d 39 cc cmp %r9,%r12 20: 75 0d jne 0x2f 22: 41 83 e0 07 and $0x7,%r8d 26: 45 0f be 09 movsbl (%r9),%r9d * 2a: 45 39 c8 cmp %r9d,%r8d <-- trapping instruction 2d: 7c 80 jl 0xffffffaf 2f: 0f b6 d2 movzbl %dl,%edx 32: e8 cf f2 ff ff call 0xfffff306 37: 34 01 xor $0x1,%al 39: e9 71 ff ff ff jmp 0xffffffaf 3e: 49 rex.WB 3f: 01 .byte 0x1