================================================================================
UBSAN: array-index-out-of-bounds in net/netfilter/nf_conntrack_proto_sctp.c:252:2
index 10 is out of range for type 'const char *const[9]'
CPU: 1 PID: 5248 Comm: syz.1.288 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
ubsan_epilogue+0xa/0x30 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
sctp_new_state+0x546/0x570 net/netfilter/nf_conntrack_proto_sctp.c:254
nf_conntrack_sctp_packet+0x1678/0x2e50 net/netfilter/nf_conntrack_proto_sctp.c:469
nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1918 [inline]
nf_conntrack_in+0xc6b/0x17b0 net/netfilter/nf_conntrack_core.c:1991
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_slow+0xb9/0x200 net/netfilter/core.c:584
nf_hook+0x205/0x360 include/linux/netfilter.h:257
__ip_local_out+0x4b7/0x5e0 net/ipv4/ip_output.c:115
ip_local_out net/ipv4/ip_output.c:124 [inline]
__ip_queue_xmit+0x1120/0x1c60 net/ipv4/ip_output.c:538
sctp_packet_transmit+0x234b/0x28c0 net/sctp/output.c:652
sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1499 [inline]
sctp_side_effects net/sctp/sm_sideeffect.c:1206 [inline]
sctp_do_sm+0x18cf/0x5690 net/sctp/sm_sideeffect.c:1177
sctp_endpoint_bh_rcv+0x56f/0x7b0 net/sctp/endpointola.c:402
sctp_rcv+0x11a9/0x1690 net/sctp/input.c:258
ip_protocol_deliver_rcu+0x38c/0x740 net/ipv4/ip_input.c:204
ip_local_deliver_finish+0x1d8/0x320 net/ipv4/ip_input.c:231
NF_HOOK+0x303/0x390 include/linux/netfilter.h:302
NF_HOOK+0x303/0x390 include/linux/netfilter.h:302
__netif_receive_skb_one_core net/core/dev.c:5552 [inline]
__netif_receive_skb+0xcc/0x290 net/core/dev.c:5666
process_backlog+0x366/0x770 net/core/dev.c:6543
__napi_poll+0xbb/0x430 net/core/dev.c:7102
napi_poll net/core/dev.c:7169 [inline]
net_rx_action+0x522/0xa80 net/core/dev.c:7259
handle_softirqs+0x336/0x830 kernel/softirq.c:576
do_softirq+0x142/0x210 kernel/softirq.c:477
__local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:401
rcu_read_unlock_bh include/linux/rcupdate.h:810 [inline]
ip_finish_output2+0xd6e/0x10e0 net/ipv4/ip_output.c:229
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip_output+0x2ba/0x3e0 net/ipv4/ip_output.c:434
dst_output include/net/dst.h:452 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
ip_send_skb+0x12b/0x1d0 net/ipv4/ip_output.c:1598
raw_sendmsg+0x12d8/0x18b0 net/ipv4/raw.c:652
sock_sendmsg_nosec net/socket.c:706 [inline]
__sock_sendmsg net/socket.c:718 [inline]
____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446
___sys_sendmsg+0x236/0x2e0 net/socket.c:2500
__sys_sendmsg net/socket.c:2529 [inline]
__do_sys_sendmsg net/socket.c:2538 [inline]
__se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0b4b547559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0b49794028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f0b4b7c3fa0 RCX: 00007f0b4b547559
RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000003
RBP: 00007f0b4b5d6136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0b4b7c4038 R14: 00007f0b4b7c3fa0 R15: 00007ffdc40d5b48
================================================================================