Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/socket.c __sctp_connect() -> sctp_verify_addr()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_state 0,2-7,9-255
PARAM_VALUE 0 sk->sk_lock.owned 1
PARAM_VALUE 0 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->sa.sa_family 2,10
BUF_SIZE 1 addr (-1)-s32max
BUF_SIZE 1 addr (-1)-s32max
CAPPED_DATA 2 len 1
DATA_SOURCE 0 sk $0
DATA_SOURCE 1 addr $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 sk->sk_receive_queue.prev->next->truesize
NO_OVERFLOW_SIMPLE 0 sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 sk->sk_receive_queue.prev->truesize
NO_OVERFLOW_SIMPLE 0 sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 sk->sk_write_queue.next->truesize
UNITS 0 sk unit_byte
UNITS 2 len unit_byte
USER_PTR 1 addr
LOCK2 0 sk

net/sctp/socket.c sctp_addr_id2transport() -> sctp_verify_addr()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.owned 1
PARAM_VALUE 0 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
DATA_SOURCE 0 sk $0
DATA_SOURCE 1 addr $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 2 len unit_byte
LOCK2 0 sk

net/sctp/socket.c sctp_asconf_mgmt() -> sctp_verify_addr()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->ep 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->sa.sa_family 2,10
BUF_SIZE 1 addr 28
DATA_SOURCE 0 sk $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
LOCK2 &net->sctp.addr_wq_lock
LOCK2 &sk->sk_lock.slock
LOCK2 bh
TYPE_LOCK (struct netns_sctp)->addr_wq_lock
TYPE_LOCK (struct socket_lock_t)->slock

net/sctp/socket.c sctp_connect_add_peer() -> sctp_verify_addr()

Type Parameter Key Value
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->sa.sa_family 0,2,10
BUF_SIZE 1 addr (-1),28
BUF_SIZE 1 addr (-1),28
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 len $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr->v6.sin6_flowinfo 0-u32max
UNITS 0 sk unit_byte
UNITS 2 len unit_byte
LOCK2 sk

net/sctp/socket.c sctp_sendmsg_get_daddr() -> sctp_verify_addr()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 1 addr 1-u64max
PARAM_VALUE 2 len 0-28
BUF_SIZE 1 addr (-1)-0,12,28,128
BUF_SIZE 1 addr (-1)-0,12,28,128
DATA_SOURCE 0 sk $0
FUZZY_MAX 2 len 28
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr->sa.sa_family 0-u16max[u]
USER_DATA 1 addr->v4.sin_addr.s_addr 0-u32max[u]
USER_DATA 1 addr->v4.sin_family 0-u16max[u]
USER_DATA 1 addr->v4.sin_port 0-u16max[u]
USER_DATA 1 addr->v6.sin6_family 0-u16max[u]
USER_DATA 1 addr->v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 addr->v6.sin6_port 0-u16max[u]
USER_DATA 1 addr->v6.sin6_scope_id 0-u32max[u]
USER_DATA 2 len 0-28
UNITS 0 sk unit_byte
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
USER_PTR 1 addr
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk