================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 547 is out of range for type 'const int[34]' CPU: 1 PID: 4262 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1eaa/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1675 dummy_timer+0x8d0/0x3330 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x54a/0xd50 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1832 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:put_cpu_partial+0x1b0/0x250 mm/slub.c:2666 Code: 3b 44 24 18 0f 85 b4 00 00 00 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 1c 4c 5c 08 f7 c5 00 02 00 00 74 c0 fb 4d 85 e4 <75> bf eb c8 e8 87 3a 3b 02 85 c0 0f 84 e9 fe ff ff 83 3d 40 54 4d RSP: 0018:ffffc90003d77630 EFLAGS: 00000246 RAX: 9e8fc976c9916600 RBX: ffff888140009640 RCX: 9e8fc976c9916600 RDX: dffffc0000000000 RSI: ffffffff8a8c1aa0 RDI: ffffffff8adf2060 RBP: 0000000000000286 R08: ffffffff90aff2f7 R09: 1ffffffff215fe5e R10: dffffc0000000000 R11: fffffbfff215fe5f R12: 0000000000000000 R13: 0000000000000001 R14: ffff88802fdf0000 R15: ffff8880b8f41ed0 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] __kmem_cache_alloc_node+0x140/0x260 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node_track_caller+0x9e/0x230 mm/slab_common.c:956 kvasprintf+0xe8/0x1a0 lib/kasprintf.c:25 kasprintf+0xdf/0x130 lib/kasprintf.c:59 device_get_devnode+0xab/0x290 drivers/base/core.c:3997 dev_uevent+0x162/0x740 drivers/base/core.c:2581 uevent_show+0x1a2/0x320 drivers/base/core.c:2671 dev_attr_show+0x50/0xb0 drivers/base/core.c:2372 sysfs_kf_seq_show+0x349/0x4b0 fs/sysfs/file.c:59 seq_read_iter+0x49b/0xd50 fs/seq_file.c:230 call_read_iter include/linux/fs.h:2259 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x4a7/0xa00 fs/read_write.c:470 ksys_read+0x14c/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe2cd0a7407 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:00007ffcb236e670 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fe2cd7b7880 RCX: 00007fe2cd0a7407 RDX: 0000000000001000 RSI: 000055b9383ae550 RDI: 0000000000000008 RBP: 00007fe2cd1efff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a R13: 00007fe2cd1efea0 R14: 0000000000000000 R15: 000055b93838b280 ================================================================================ ---------------- Code disassembly (best guess): 0: 3b 44 24 18 cmp 0x18(%rsp),%eax 4: 0f 85 b4 00 00 00 jne 0xbe a: 48 83 c4 20 add $0x20,%rsp e: 5b pop %rbx f: 41 5c pop %r12 11: 41 5d pop %r13 13: 41 5e pop %r14 15: 41 5f pop %r15 17: 5d pop %rbp 18: c3 ret 19: e8 1c 4c 5c 08 call 0x85c4c3a 1e: f7 c5 00 02 00 00 test $0x200,%ebp 24: 74 c0 je 0xffffffe6 26: fb sti 27: 4d 85 e4 test %r12,%r12 * 2a: 75 bf jne 0xffffffeb <-- trapping instruction 2c: eb c8 jmp 0xfffffff6 2e: e8 87 3a 3b 02 call 0x23b3aba 33: 85 c0 test %eax,%eax 35: 0f 84 e9 fe ff ff je 0xffffff24 3b: 83 .byte 0x83 3c: 3d .byte 0x3d 3d: 40 54 rex push %rsp 3f: 4d rex.WRB