Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

security/security.c security_sk_alloc() -> security_sk_free()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->sk_security 0,4096-ptr_max
BUF_SIZE 0 sk (-1)-s32max
BUF_SIZE 0 sk (-1)-s32max
DATA_SOURCE 0 sk $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/core/sock.c sk_prot_alloc() -> security_sk_free()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->sk_security 0,4096-ptr_max
BUF_SIZE 0 sk 0-u32max,u64max
BUF_SIZE 0 sk 0-u32max,u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/core/sock.c sk_prot_free() -> security_sk_free()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sk->ns_tracker 0,4096-ptr_max
PARAM_VALUE 0 sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 sk->ns_tracker->dead 0-1
PARAM_VALUE 0 sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 sk->sk_bpf_storage 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup 4096-ptr_max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup->self.flags 1-u32max
PARAM_VALUE 0 sk->sk_filter 0
PARAM_VALUE 0 sk->sk_frag.page 0
PARAM_VALUE 0 sk->sk_memcg 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_memcg->css.flags 1-u32max
PARAM_VALUE 0 sk->sk_memcg->css.refcnt.data 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_peer_cred 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_peer_cred->process_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_peer_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->rcu.func 1-u64max
PARAM_VALUE 0 sk->sk_peer_cred->rcu.next 0
PARAM_VALUE 0 sk->sk_peer_cred->request_key_auth->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_peer_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->session_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_peer_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->thread_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_peer_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 sk->sk_peer_cred->ucounts->ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_peer_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_peer_cred->user->uidhash_node->next->pprev 1-u64max
PARAM_VALUE 0 sk->sk_peer_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 sk->sk_peer_cred->user_ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_peer_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_peer_pid 0,4096-ptr_max
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
CAPPED_DATA 0 sk->sk_peer_cred 1
CAPPED_DATA 0 sk->sk_peer_pid 1
DATA_SOURCE 0 sk $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu