================================================================================ UBSAN: array-index-out-of-bounds in net/netfilter/nfnetlink.c:697:13 index 19 is out of range for type 'const int [10]' CPU: 1 PID: 14270 Comm: syz-executor.3 Not tainted 5.18.0-syzkaller-11972-gd1dc87763f40 #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+0x1e3/0x2cb lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0x107/0x150 lib/ubsan.c:283 nfnetlink_unbind+0x174/0x180 net/netfilter/nfnetlink.c:697 netlink_release+0xcd8/0x1730 net/netlink/af_netlink.c:773 __sock_release net/socket.c:650 [inline] sock_close+0xd7/0x260 net/socket.c:1365 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f2030e3bd4b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fffbd8c9240 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f2030e3bd4b RDX: 00007f2030fa0178 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f2030f9d960 R08: 0000000000000000 R09: 00007f2030fa0180 R10: 00007fffbd8c9340 R11: 0000000000000293 R12: 00000000002ee583 R13: 00007fffbd8c9340 R14: 00007f2030f9bf60 R15: 0000000000000032 ================================================================================