Defined in 2 files as a member:
Defined in 3 files as a function:
- net/netfilter/nf_log.c, line 372 (as a function)
- net/netfilter/nfnetlink_log.c, line 1118 (as a function)
- net/netfilter/nfnetlink_queue.c, line 2024 (as a function)
Referenced in 6 files:
- fs/kernfs/file.c
- kernel/cgroup/cgroup-v1.c
- kernel/cgroup/cgroup.c
- net/netfilter/nf_log.c, line 417
- net/netfilter/nfnetlink_log.c, line 1140
- net/netfilter/nfnetlink_queue.c, line 2046
Smatch caller information:
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | (-4095)-(-1) |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | 32768,u64max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | 32768,u64max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | <= $0->size |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | 32768,u64max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | <= $0->size |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | 32768,u64max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 0 |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | 32768,u64max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | <= $0->size |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 0-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | 32768,u64max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | <= $0->size |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | s->count | 1 |
| CAPPED_DATA | 0 | s->size | 1 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | == $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | s->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | s->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0-999999999 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | != $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | s->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c traverse() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->index | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | s | $0 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c traverse() -> (struct seq_operations)->stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf | 1-u64max |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->from | 0 |
| PARAM_VALUE | 0 | s->index | 0 |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->op | 4096-ptr_max |
| PARAM_VALUE | 0 | s->size | 0 |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | s | $0 |
| CONTAINER | 0 | -8-208+0 | $(-1) |
| PARAM_COMPARE | 0 | s->count | == $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct seq_file)->lock |