================================================================================ UBSAN: array-index-out-of-bounds in net/netfilter/nfnetlink.c:697:28 index 25 is out of range for type 'int [10]' CPU: 0 PID: 12640 Comm: syz-executor.0 Not tainted 5.18.0-syzkaller-11972-gd1dc87763f40 #0 Hardware name: linux,dummy-virt (DT) Call trace: dump_backtrace+0x1e0/0x270 arch/arm64/kernel/stacktrace.c:198 show_stack+0x18/0x70 arch/arm64/kernel/stacktrace.c:205 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x9c/0xd8 lib/dump_stack.c:106 dump_stack+0x1c/0x38 lib/dump_stack.c:113 ubsan_epilogue+0x10/0x50 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0x80/0x90 lib/ubsan.c:283 nfnetlink_unbind+0x2bc/0x300 net/netfilter/nfnetlink.c:697 netlink_setsockopt+0x648/0xc10 net/netlink/af_netlink.c:1661 __sys_setsockopt+0x150/0x3f0 net/socket.c:2259 __do_sys_setsockopt net/socket.c:2270 [inline] __se_sys_setsockopt net/socket.c:2267 [inline] __arm64_sys_setsockopt+0xa4/0x100 net/socket.c:2267 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x6c/0x260 arch/arm64/kernel/syscall.c:52 el0_svc_common.constprop.0+0xc4/0x254 arch/arm64/kernel/syscall.c:142 do_el0_svc+0xfc/0x13c arch/arm64/kernel/syscall.c:206 el0_svc+0x70/0x210 arch/arm64/kernel/entry-common.c:624 el0t_64_sync_handler+0x1ac/0x1b0 arch/arm64/kernel/entry-common.c:642 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 ================================================================================