Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/auditfilter.c audit_data_to_entry() -> audit_free_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.action | 0,2 |
| PARAM_VALUE | 0 | e->rule.exe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.exe->mark->group->inotify_data.idr->idr_rt.xa_head | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | e->rule.exe->mark->group->mark_mutex.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | e->rule.exe->mark.connector->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.error_events_pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->entry.next | s64max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.function | 1626621062881370112 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_hard | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_queued | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_soft | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->uid.val | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fillargs.nsid | 0-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->idx | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_hard | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_queued | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_soft | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->uid.val | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->owner_flags | 0-262144 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->q_len | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.field_count | 0-64 |
| PARAM_VALUE | 0 | e->rule.fields | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.flags | 0,16 |
| PARAM_VALUE | 0 | e->rule.listnr | 0-1,4-7 |
| PARAM_VALUE | 0 | e->rule.mask | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.tree | 0,4096-ptr_max |
| BUF_SIZE | 0 | e | 408 |
| BUF_SIZE | 0 | e->rule.exe | (-1),168 |
| BUF_SIZE | 0 | e->rule.filterkey | (-1),2-4097 |
| DATA_SOURCE | 0 | e | r audit_to_entry_common |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | e->rule.action | 0[u] |
| USER_DATA | 0 | e->rule.arch_f->type | 11 |
| USER_DATA | 0 | e->rule.arch_f->val | 0-u32max |
| USER_DATA | 0 | e->rule.field_count | 0-64[u] |
| USER_DATA | 0 | e->rule.flags | 0,16[c] |
| USER_DATA | 0 | e->rule.inode_f->type | 102 |
| USER_DATA | 0 | e->rule.inode_f->val | 0-u32max |
| USER_DATA | 0 | e->rule.listnr | 0-1,4-7[c] |
| USER_DATA | 0 | *e->rule.filterkey | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | e->rule.field_count | |
| USER_PTR | 0 | e->rule.filterkey | |
| LOCK2 | 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 |
kernel/auditfilter.c audit_dupe_rule() -> audit_free_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.fields | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.mask | 4096-ptr_max |
| BUF_SIZE | 0 | e | 408 |
| DATA_SOURCE | 0 | e | r audit_init_entry |
| NOCHECK_CALL | |||
| LOCK2 | global &audit_filter_mutex |
kernel/auditfilter.c audit_free_rule_rcu() -> audit_free_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
kernel/auditfilter.c audit_rule_change() -> audit_free_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.action | 0,2 |
| PARAM_VALUE | 0 | e->rule.exe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.exe->mark->group->inotify_data.idr->idr_rt.xa_head | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | e->rule.exe->mark->group->mark_mutex.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | e->rule.exe->mark.connector->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.error_events_pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->entry.next | s64max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.function | 1626621062881370112 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_hard | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_queued | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->ns->work.is_soft | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fanotify_data.ucounts->uid.val | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->fillargs.nsid | 0-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->idx | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.idr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.flags | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_hard | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_queued | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->ns->work.is_soft | 0-1 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->inotify_data.ucounts->uid.val | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->mark_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->owner_flags | 0-262144 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->q_len | 0-4294967295 |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.group->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.exe->mark.refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | e->rule.field_count | 0-64 |
| PARAM_VALUE | 0 | e->rule.fields | 16,4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.flags | 0,16 |
| PARAM_VALUE | 0 | e->rule.inode_f | 0,4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.listnr | 0-1,4-7 |
| PARAM_VALUE | 0 | e->rule.mask | 4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.tree | 0,4096-ptr_max |
| PARAM_VALUE | 0 | e->rule.tree->count.refs.counter | s32min-s32max |
| BUF_SIZE | 0 | e | (-1),408 |
| BUF_SIZE | 0 | e | (-1),408 |
| DATA_SOURCE | 0 | e | r audit_data_to_entry |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | e->rule.action | 0[u] |
| USER_DATA | 0 | e->rule.arch_f->type | 11 |
| USER_DATA | 0 | e->rule.arch_f->val | 0-u32max |
| USER_DATA | 0 | e->rule.field_count | 0-64[u] |
| USER_DATA | 0 | e->rule.flags | 0,16[c] |
| USER_DATA | 0 | e->rule.inode_f->type | 102 |
| USER_DATA | 0 | e->rule.inode_f->val | 0-u32max |
| USER_DATA | 0 | e->rule.listnr | 0-1,4-7[c] |
| USER_DATA | 0 | *e->rule.filterkey | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | e->rule.field_count | |
| USER_PTR | 0 | e->rule.filterkey | |
| LOCK2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |