Defined in 1 files as a function:
Referenced in 6 files:
- net/8021q/vlan_netlink.c, line 35
- net/netfilter/nf_conntrack_netlink.c, line 1396
- net/netfilter/nft_tunnel.c, line 368
- net/netlabel/netlabel_cipso_v4.c
- net/sched/cls_flower.c
- net/sched/sch_gred.c, line 616
Smatch caller information:
net/sched/cls_flower.c fl_set_enc_opt() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | maxtype | 5 |
| PARAM_VALUE | 2 | policy | 1603290473849987072 |
| PARAM_VALUE | 3 | extack | 4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr->nla_len | 4-u16max |
| PARAM_VALUE | 3 | *extack->_msg_buf | 0-255 |
| BUF_SIZE | 2 | policy | 96 |
| DATA_SOURCE | 3 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/sched/cls_flower.c fl_set_enc_opt() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 5 |
| PARAM_VALUE | 2 | policy | 1603290473849987072 |
| PARAM_VALUE | 3 | extack | 4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr->nla_len | 4-u16max |
| PARAM_VALUE | 3 | *extack->_msg_buf | 0-255 |
| BUF_SIZE | 2 | policy | 96 |
| DATA_SOURCE | 3 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/netfilter/nf_conntrack_netlink.c ctnetlink_parse_tuple_proto() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | maxtype | 9 |
| PARAM_VALUE | 3 | extack | 0 |
| DATA_SOURCE | 0 | start | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/netfilter/nft_tunnel.c nft_tunnel_obj_opts_init() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 3 |
| PARAM_VALUE | 2 | policy | 4647969562572025856 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 64 |
| DATA_SOURCE | 0 | start | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netlabel/netlabel_cipso_v4.c netlbl_cipsov4_add_common() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | maxtype | 12 |
| PARAM_VALUE | 2 | policy | 7978571536677289984 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 208 |
| 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/netlabel/netlabel_cipso_v4.c netlbl_cipsov4_add_std() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 12 |
| PARAM_VALUE | 2 | policy | 7978571536677289984 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 208 |
| 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/netlabel/netlabel_cipso_v4.c netlbl_cipsov4_add_std() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 0 | start->nla_len | 4-u16max |
| PARAM_VALUE | 1 | maxtype | 12 |
| PARAM_VALUE | 2 | policy | 7978571536677289984 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 208 |
| CAPPED_DATA | 0 | start->nla_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | start->nla_len | 4-u16max[c] |
| USER_DATA | 0 | start->nla_type | 0-u16max |
| USER_PTR | 0 | start | |
| 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/netlabel/netlabel_cipso_v4.c netlbl_cipsov4_add_std() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 12 |
| PARAM_VALUE | 2 | policy | 7978571536677289984 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 208 |
| 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/netlabel/netlabel_cipso_v4.c netlbl_cipsov4_add_std() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 0 | start->nla_len | 4-u16max |
| PARAM_VALUE | 1 | maxtype | 12 |
| PARAM_VALUE | 2 | policy | 7978571536677289984 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 208 |
| CAPPED_DATA | 0 | start->nla_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | start->nla_len | 4-u16max[c] |
| USER_DATA | 0 | start->nla_type | 0-u16max |
| USER_PTR | 0 | start | |
| 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/8021q/vlan_netlink.c vlan_validate_qos_map() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 1 |
| PARAM_VALUE | 2 | policy | 258334895300861952 |
| PARAM_VALUE | 3 | extack | 0 |
| BUF_SIZE | 2 | policy | 32 |
| DATA_SOURCE | 0 | start | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/sched/sch_gred.c gred_vqs_validate() -> nla_validate_nested_deprecated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 1 |
| PARAM_VALUE | 2 | policy | 8691265512824418304 |
| PARAM_VALUE | 3 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr | 0 |
| PARAM_VALUE | 3 | extack->cookie_len | 0 |
| PARAM_VALUE | 3 | extack->miss_nest | 0 |
| PARAM_VALUE | 3 | extack->miss_type | 0 |
| PARAM_VALUE | 3 | extack->policy | 0 |
| BUF_SIZE | 2 | policy | 32 |
| DATA_SOURCE | 0 | start | $2 |
| DATA_SOURCE | 3 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |