================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in net/netfilter/nfnetlink.c:697:28 index 22 is out of range for type 'int [10]' CPU: 0 PID: 7329 Comm: syz-executor.3 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_out_of_bounds.cold+0x62/0x6c lib/ubsan.c:283 nfnetlink_unbind+0x38c/0x3b0 net/netfilter/nfnetlink.c:697 netlink_setsockopt+0x932/0xda0 net/netlink/af_netlink.c:1661 __sys_setsockopt+0x2db/0x6a0 net/socket.c:2259 __do_sys_setsockopt net/socket.c:2270 [inline] __se_sys_setsockopt net/socket.c:2267 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2267 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f73fc489109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f73fd664168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f73fc59bf60 RCX: 00007f73fc489109 RDX: 0000000000000002 RSI: 000000000000010e RDI: 0000000000000003 RBP: 00007f73fc4e308d R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f73fcacfb1f R14: 00007f73fd664300 R15: 0000000000022000 ================================================================================