Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
net/llc/af_llc.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| BUF_SIZE | 0 | sk->sk_prot_creator | (-1),448 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sk | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &sk->sk_callback_lock | |
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/unix/af_unix.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| BUF_SIZE | 1 | parent | (-1),192 |
| BUF_SIZE | 1 | parent | (-1),192 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sk | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &sk->sk_callback_lock | |
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/phonet/socket.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| 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 | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| BUF_SIZE | 1 | parent | (-1),192 |
| BUF_SIZE | 1 | parent | (-1),192 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | sk | |
| LOCK2 | 0 | &sk->sk_callback_lock | |
| TYPE_LOCK | (struct sock)->sk_callback_lock |
crypto/af_alg.c af_alg_accept() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_family | 38 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_incoming_cpu | (-1) |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_rcv_wnd | u32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_refcnt.refs.counter | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_rx_queue_mapping | u16max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_state | 7 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_tw_rcv_nxt | u32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_tx_queue_mapping | u16max |
| PARAM_VALUE | 0 | sk->ns_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_allocation | 3264 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sk->sk_cgrp_data.cgroup | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_cgrp_data.cgroup->self.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_data_ready | 528724923562565632 |
| PARAM_VALUE | 0 | sk->sk_destruct | 3381852785913503744 |
| PARAM_VALUE | 0 | sk->sk_drop_counters | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_drop_counters->drops0.counter | 0 |
| PARAM_VALUE | 0 | sk->sk_drop_counters->drops1.counter | 0 |
| PARAM_VALUE | 0 | sk->sk_drops.counter | 0 |
| PARAM_VALUE | 0 | sk->sk_error_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_error_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_error_queue.qlen | 0 |
| PARAM_VALUE | 0 | sk->sk_error_report | 6702601906265018368 |
| PARAM_VALUE | 0 | sk->sk_frag.offset | 0 |
| PARAM_VALUE | 0 | sk->sk_frag.page | 0 |
| PARAM_VALUE | 0 | sk->sk_ll_usec | 0 |
| PARAM_VALUE | 0 | sk->sk_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_lock.owned | 0 |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.next->next | 4096-ptr_max |
| 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->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_max_pacing_rate | u64max |
| PARAM_VALUE | 0 | sk->sk_napi_id | 0 |
| PARAM_VALUE | 0 | sk->sk_owner | 0 |
| PARAM_VALUE | 0 | sk->sk_pacing_rate | u64max |
| PARAM_VALUE | 0 | sk->sk_pacing_shift | 10 |
| PARAM_VALUE | 0 | sk->sk_peek_off | (-1) |
| PARAM_VALUE | 0 | sk->sk_peer_pid | 0 |
| PARAM_VALUE | 0 | sk->sk_prot_creator | 7379911863954685952 |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner | 0 |
| PARAM_VALUE | 0 | sk->sk_prot_creator->slab | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_rcvbuf | 212992 |
| PARAM_VALUE | 0 | sk->sk_rcvlowat | 1 |
| PARAM_VALUE | 0 | sk->sk_rcvtimeo | s64max |
| PARAM_VALUE | 0 | sk->sk_receive_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_receive_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_receive_queue.qlen | 0 |
| PARAM_VALUE | 0 | sk->sk_security | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_send_head | 0 |
| PARAM_VALUE | 0 | sk->sk_sndbuf | 212992 |
| PARAM_VALUE | 0 | sk->sk_sndtimeo | s64max |
| PARAM_VALUE | 0 | sk->sk_socket | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_stamp | (-1000000000) |
| PARAM_VALUE | 0 | sk->sk_state_change | 8403502521175646208 |
| PARAM_VALUE | 0 | sk->sk_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | sk->sk_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | sk->sk_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_use_task_frag | 1 |
| PARAM_VALUE | 0 | sk->sk_wmem_alloc.refs.counter | 1 |
| PARAM_VALUE | 0 | sk->sk_wq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_write_pending | 0 |
| PARAM_VALUE | 0 | sk->sk_write_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_write_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_write_queue.qlen | 0 |
| PARAM_VALUE | 0 | sk->sk_write_space | 892094836763238400 |
| PARAM_VALUE | 0 | sk->sk_zckey.counter | 0 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->__sk_common.skc_state | 7 |
| PARAM_VALUE | 1 | parent->sk->sk_allocation | 3264 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.magic | 3736018669 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent->sk->sk_error_queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_error_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_error_queue.qlen | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_rcvbuf | 212992 |
| PARAM_VALUE | 1 | parent->sk->sk_receive_queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_receive_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_receive_queue.qlen | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_send_head | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_sndbuf | 212992 |
| PARAM_VALUE | 1 | parent->sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_timer.entry.pprev | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_timer.flags | 0-4194302 |
| PARAM_VALUE | 1 | parent->sk->sk_use_task_frag | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_write_queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_write_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_write_queue.qlen | 0 |
| BUF_SIZE | 0 | sk->sk_prot_creator | 448 |
| BUF_SIZE | 1 | parent | (-1),192 |
| BUF_SIZE | 1 | parent | (-1),192 |
| DATA_SOURCE | 0 | sk | r sk_alloc |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | sk |
net/ipv4/af_inet.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| 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 | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| CAPPED_DATA | 0 | sk | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 1 | parent->sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | sk | |
| LOCK2 | 0 | &sk->sk_callback_lock | |
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/vmw_vsock/af_vsock.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| 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 | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->state | 3 |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->state | 3 |
| BUF_SIZE | 0 | sk | 1480 |
| BUF_SIZE | 1 | parent | (-1),192 |
| BUF_SIZE | 1 | parent | (-1),192 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | listener | ||
| LOCK2 | 0 | sk | |
| LOCK2 | 0 | &sk->sk_callback_lock | |
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/smc/af_smc.c sock_graft() -> security_sock_graft()
| 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->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_state | 0-6,8-255 |
| 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->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_memcg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_user_data | 0 |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->__sk_common.skc_state | 0-6,8-255 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 1 | parent->sk->sk_rcu.next | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_reuseport_cb | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_user_data | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | parent | ||
| LOCK2 | 0 | &sk->sk_callback_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/bluetooth/af_bluetooth.c sock_graft() -> security_sock_graft()
| 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->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_state | 0-8,10-255 |
| 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->parent | 0 |
| PARAM_VALUE | 0 | sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.next | 0 |
| 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 | 0 | sk->sk_memcg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_user_data | 0 |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->__sk_common.skc_state | 0-8,10-255 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 1 | parent->sk->sk_rcu.next | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_reuseport_cb | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_user_data | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| BUF_SIZE | 0 | sk | (-1),1480 |
| BUF_SIZE | 0 | sk | (-1),1480 |
| CAPPED_DATA | 0 | sk | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->prev->data_len | |
| LOCK2 | bh | ||
| LOCK2 | parent | ||
| LOCK2 | 0 | sk | |
| LOCK2 | 0 | &sk->sk_callback_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/nfc/llcp_sock.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_state | 1 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| 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 | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->__sk_common.skc_state | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | parent->sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| BUF_SIZE | 0 | sk | 1480 |
| CAPPED_DATA | 0 | sk | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->prev->data_len | |
| LOCK2 | bh | ||
| LOCK2 | parent | ||
| LOCK2 | 0 | sk | |
| LOCK2 | 0 | &sk->sk_callback_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sock)->sk_callback_lock |
net/x25/af_x25.c sock_graft() -> security_sock_graft()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_socket->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_wq_raw | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | parent->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | parent->sk->sk_wq | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->sk->sk_wq_raw | 4096-ptr_max |
| BUF_SIZE | 1 | parent | (-1),192 |
| BUF_SIZE | 1 | parent | (-1),192 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sk | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &sk->sk_callback_lock | |
| TYPE_LOCK | (struct sock)->sk_callback_lock |