Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 32 files:
- arch/s390/kernel/cert_store.c
- block/sed-opal.c, line 323
- certs/system_keyring.c, line 182
- crypto/af_alg.c, line 339
- crypto/asymmetric_keys/asymmetric_type.c, line 108
- crypto/asymmetric_keys/x509_loader.c, line 46
- drivers/nvdimm/security.c, line 102
- drivers/nvme/common/keyring.c
- drivers/platform/cznic/turris-signing-key.c, line 149
- fs/afs/cm_security.c, line 170
- fs/crypto/keyring.c, line 678
- include/linux/key.h, line 320
- kernel/bpf/helpers.c
- kernel/crash_dump_dm_crypt.c, line 76
- lib/digsig.c, line 220
- net/handshake/tlshd.c
- net/rxrpc/rxperf.c
- net/rxrpc/security.c, line 198
- security/integrity/digsig.c, line 188
- security/integrity/digsig_asymmetric.c, line 52
- security/keys/dh.c, line 31
- security/keys/key.c
- security/keys/keyctl.c
- security/keys/keyctl_pkey.c, line 101
- security/keys/keyring.c
- security/keys/permission.c, line 51
- security/keys/persistent.c
- security/keys/process_keys.c
- security/keys/request_key.c
- security/keys/request_key_auth.c, line 304
- security/selinux/hooks.c, line 7092
- security/smack/smack_lsm.c, line 4647
Smatch caller information:
block/sed-opal.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | $0 |
| CAPABLE | 0 | 21 | |
| HALF_LOCKED2 | &dev->dev_lock |
block/sed-opal.c read_sed_opal_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| CAPABLE | 0 | 21 | |
| HALF_LOCKED2 | &dev->dev_lock |
security/keys/request_key_auth.c key_get_instantiation_authkey() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| DATA_SOURCE | 0 | key_ref | r search_process_keyrings_rcu |
fs/crypto/keyring.c get_keyring_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
fs/crypto/keyring.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
security/keys/request_key.c construct_alloc_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| DATA_SOURCE | 0 | key_ref | r search_process_keyrings_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &user->cons_lock | ||
| HALF_LOCKED2 | &dest_keyring->sem | ||
| HALF_LOCKED2 | &idmap->idmap_mutex | ||
| HALF_LOCKED2 | global &key_types_sem | ||
| TYPE_LOCK | (struct key_user)->cons_lock |
security/keys/request_key.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| LOCK2 | global &key_types_sem |
security/keys/request_key.c request_key_and_link() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| DATA_SOURCE | 0 | key_ref | r search_process_keyrings_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &idmap->idmap_mutex | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/request_key.c request_key_rcu() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| DATA_SOURCE | 0 | key_ref | r search_process_keyrings_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cgroup_mutex |
security/keys/dh.c dh_data_from_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl_pkey.c keyctl_pkey_params_get() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
net/rxrpc/security.c rxrpc_look_up_server_security() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| LOCK2 | &conn->local->services_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct rxrpc_local)->services_lock |
security/smack/smack_lsm.c smack_key_permission() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | key_ref | $0 |
lib/digsig.c digsig_verify() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
security/integrity/digsig.c integrity_add_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
security/integrity/digsig.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
drivers/nvdimm/security.c nvdimm_lookup_user_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/cznic/turris-signing-key.c devm_turris_signing_key_create() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/crash_dump_dm_crypt.c add_key_to_keyring() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
kernel/crash_dump_dm_crypt.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
net/handshake/tlshd.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/handshake/tlshd.c tls_handshake_private_keyring() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/handshake/tlshd.c tls_handshake_private_keyring() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
security/keys/proc.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/afs/cm_security.c afs_create_token_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/rxrpc/rxperf.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
net/rxrpc/rxperf.c rxperf_add_rxkad_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
net/rxrpc/rxperf.c rxperf_add_yfs_rxgk_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
security/keys/keyctl.c __do_sys_add_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
security/keys/keyctl.c __do_sys_add_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
security/keys/keyctl.c __do_sys_request_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c __do_sys_request_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c get_instantiation_keyring() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| HALF_LOCKED2 | global &key_types_sem |
security/keys/keyctl.c keyctl_chown_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_describe_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
security/keys/keyctl.c keyctl_get_keyring_ID() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_get_security() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
security/keys/keyctl.c keyctl_invalidate_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| CAPABLE | 0 | 21 |
security/keys/keyctl.c keyctl_invalidate_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
security/keys/keyctl.c keyctl_keyring_clear() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| CAPABLE | 0 | 21 |
security/keys/keyctl.c keyctl_keyring_clear() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
security/keys/keyctl.c keyctl_keyring_link() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_keyring_link() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_keyring_move() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_keyring_move() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_keyring_move() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_keyring_search() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c keyctl_keyring_search() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c keyctl_keyring_search() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c keyctl_keyring_unlink() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_keyring_unlink() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_read_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_revoke_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
security/keys/keyctl.c keyctl_session_to_parent() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_set_timeout() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
security/keys/keyctl.c keyctl_setperm_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/keyctl.c keyctl_watch_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
security/keys/persistent.c key_get_persistent() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 1-u64max |
security/keys/persistent.c key_get_persistent() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $2 |
security/keys/persistent.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
security/keys/persistent.c keyctl_get_persistent() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
certs/blacklist.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iint->mutex |
security/keys/key.c __key_create_or_update() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| STR_LEN | 0 | key_ref | (-1),3-4,7,9-10 |
| STR_LEN | 0 | key_ref | (-1),3-4,7,9-10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_types_sem |
security/keys/key.c __key_create_or_update() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 1-u64max |
| DATA_SOURCE | 0 | key_ref | r find_key_to_update |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_types_sem | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
security/keys/key.c __key_update() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 1-u64max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_types_sem | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
security/keys/key.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 1-u64max |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_types_sem | ||
| HALF_LOCKED2 | &keyring->sem |
security/keys/key.c key_update() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
crypto/af_alg.c lookup_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &smc->clcsock_release_lock |
security/integrity/digsig_asymmetric.c request_asymmetric_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
security/keys/keyring.c find_key_to_update() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| STR_LEN | 0 | key_ref | (-1),3-4,7,9-10 |
| STR_LEN | 0 | key_ref | (-1),3-4,7,9-10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | &ns->keyring_sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/keyring.c keyring_restrict() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-18446744073709547521 |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
security/keys/keyring.c keyring_search_rcu() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| STR_LEN | 0 | key_ref | (-1),13,19,456 |
| STR_LEN | 0 | key_ref | (-1),13,19,456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/keys/keyring.c keyring_search_rcu() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
security/keys/keyring.c search_nested_keyrings() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
certs/system_keyring.c add_to_secondary_keyring() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
certs/system_keyring.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
drivers/nvme/common/keyring.c nvme_tls_psk_lookup() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex |
drivers/nvme/common/keyring.c nvme_tls_psk_refresh() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
crypto/asymmetric_keys/x509_loader.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
crypto/asymmetric_keys/x509_loader.c x509_load_certificate_list() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r key_create_or_update |
crypto/asymmetric_keys/asymmetric_type.c find_asymmetric_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dest_keyring->sem | ||
| HALF_LOCKED2 | &keyring->sem |
security/keys/permission.c key_task_permission() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | $0 |
| STR_LEN | 0 | key_ref | (-1),3-4,7,9-10,13,19,456 |
| STR_LEN | 0 | key_ref | (-1),3-4,7,9-10,13,19,456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &key_session_mutex | ||
| HALF_LOCKED2 | global &key_types_sem | ||
| HALF_LOCKED2 | global &keyring_name_lock |
security/keys/process_keys.c get_user_session_keyring_rcu() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | rcu_read |
security/keys/process_keys.c key_ref_put() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 4096-18446744073709547521 |
| DATA_SOURCE | 0 | key_ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | sk |
security/keys/process_keys.c look_up_user_keyrings() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &user_ns->keyring_sem | ||
| TYPE_LOCK | (struct user_namespace)->keyring_sem |
security/keys/process_keys.c look_up_user_keyrings() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0-ptr_max |
| DATA_SOURCE | 0 | key_ref | r keyring_search |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &user_ns->keyring_sem | ||
| TYPE_LOCK | (struct user_namespace)->keyring_sem |
security/selinux/hooks.c selinux_key_permission() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | key_ref | $0 |
kernel/bpf/helpers.c bpf_lookup_user_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |
kernel/bpf/helpers.c bpf_lookup_user_key() -> key_ref_to_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key_ref | 0,4096-ptr_max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| BUF_SIZE | 0 | key_ref | (-1)-s32max |
| DATA_SOURCE | 0 | key_ref | r lookup_user_key |