------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in ./include/net/ipv6.h:616:21 index 16 is out of range for type 'const __u8[16]' (aka 'const unsigned char[16]') CPU: 1 UID: 0 PID: 6088 Comm: syz.3.40 Not tainted 6.15.0-rc3-syzkaller-00586-gf438eee2c8c9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x40 lib/ubsan.c:231 __ubsan_handle_out_of_bounds+0xe9/0xf0 lib/ubsan.c:453 ipv6_addr_prefix+0x145/0x1d0 include/net/ipv6.h:616 ip6_route_info_create+0x629/0xa70 net/ipv6/route.c:3814 ip6_route_add+0x29/0x2f0 net/ipv6/route.c:3902 ipv6_route_ioctl+0x35c/0x480 net/ipv6/route.c:4539 inet6_ioctl+0x219/0x280 net/ipv6/af_inet6.c:577 sock_do_ioctl+0xd9/0x300 net/socket.c:1190 sock_ioctl+0x576/0x790 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb6b338e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb6b42c4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb6b35b5fa0 RCX: 00007fb6b338e969 RDX: 0000200000000080 RSI: 000000000000890b RDI: 0000000000000003 RBP: 00007fb6b3410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb6b35b5fa0 R15: 00007ffeaa2117b8 ---[ end trace ]---