Defined in 3 files as a function:
- ipc/msg.c, line 1058 (as a function)
- ipc/msg.c, line 1069 (as a function)
- kernel/module/main.c, line 2534 (as a function)
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c
- ipc/msg.c
- kernel/module/main.c
- lib/kunit/executor.c
Smatch caller information:
ipc/msg.c do_msgrcv() -> free_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->m_ts | 0-u32max |
| BUF_SIZE | 0 | info | 0,48-4096 |
| BUF_SIZE | 0 | info | 0,48-4096 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | info->m_ts | 0-s32max[c] |
ipc/msg.c do_msgrcv() -> free_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->m_ts | 0-u32max |
| BUF_SIZE | 0 | info | 0,48-4096 |
| BUF_SIZE | 0 | info | 0,48-4096 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | info->m_ts | 0-s32max[c] |
kernel/module/main.c init_module_from_file() -> free_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 819794768076095488 |
| PARAM_VALUE | 0 | info->compressed_len | 0-s32max |
| PARAM_VALUE | 0 | info->hdr | 0-18446744073709551614 |
| PARAM_VALUE | 0 | info->len | 0-9223372036854775807 |
| PARAM_VALUE | 0 | info->max_pages | 0-1048577 |
| PARAM_VALUE | 0 | info->mod | 0 |
| PARAM_VALUE | 0 | info->name | 0 |
| PARAM_VALUE | 0 | info->sechdrs | 0 |
| PARAM_VALUE | 0 | info->sig_ok | 0 |
| PARAM_VALUE | 0 | info->stroffs | 0 |
| PARAM_VALUE | 0 | info->strtab | 0 |
| PARAM_VALUE | 0 | info->symoffs | 0 |
| PARAM_VALUE | 0 | info->used_pages | 0-2 |
| PARAM_VALUE | 1 | flags | 4-6 |
| DATA_SOURCE | 1 | flags | $2 |
| BIT_INFO | 1 | flags | 0x4,0x7 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | flags | 4-6 |
| NO_OVERFLOW_SIMPLE | 0 | info->max_pages |
kernel/module/main.c load_module() -> free_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 402463899452510208,819794768076095488 |
| PARAM_VALUE | 0 | info->compressed_len | 0-s32max |
| PARAM_VALUE | 0 | info->core_typeoffs | 0-u32max |
| PARAM_VALUE | 0 | info->hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | info->hdr->e_shentsize | 64 |
| PARAM_VALUE | 0 | info->hdr->e_shnum | 2-u16max |
| PARAM_VALUE | 0 | info->hdr->e_shoff | 0-18446744073709551614 |
| PARAM_VALUE | 0 | info->hdr->e_shstrndx | 1-65534 |
| PARAM_VALUE | 0 | info->hdr->e_type | 1 |
| PARAM_VALUE | 0 | info->index.info | 0-s32max |
| PARAM_VALUE | 0 | info->index.mod | 1-s32max |
| PARAM_VALUE | 0 | info->index.pcpu | 0-65534 |
| PARAM_VALUE | 0 | info->index.str | 1-65534 |
| PARAM_VALUE | 0 | info->index.sym | 1-65534 |
| PARAM_VALUE | 0 | info->index.vers | 0-65534 |
| PARAM_VALUE | 0 | info->index.vers_ext_crc | 0-65534 |
| PARAM_VALUE | 0 | info->index.vers_ext_name | 0-65534 |
| PARAM_VALUE | 0 | info->init_typeoffs | 0-u32max |
| PARAM_VALUE | 0 | info->len | 64-u64max |
| PARAM_VALUE | 0 | info->max_pages | 0 |
| PARAM_VALUE | 0 | info->mod_kallsyms_init_off | 0,8-u32max |
| PARAM_VALUE | 0 | info->pages | 0 |
| PARAM_VALUE | 0 | info->sechdrs | 4096-ptr_max |
| PARAM_VALUE | 0 | info->secstrings | 4096-ptr_max |
| PARAM_VALUE | 0 | info->stroffs | 0-u32max |
| PARAM_VALUE | 0 | info->strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | info->symoffs | 0-u32max |
| PARAM_VALUE | 0 | info->used_pages | 0 |
| PARAM_VALUE | 1 | flags | 0-6 |
| CAPPED_DATA | 0 | info->hdr->e_shnum | 1 |
| CAPPED_DATA | 0 | info->hdr->e_shoff | 1 |
| CAPPED_DATA | 0 | info->hdr->e_shstrndx | 1 |
| CAPPED_DATA | 0 | info->index.mod | 1 |
| CAPPED_DATA | 0 | info->index.pcpu | 1 |
| CAPPED_DATA | 0 | info->len | 1 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 1 | flags | $2 |
| PARAM_COMPARE | 0 | info->hdr->e_shnum | > $0->hdr->e_shstrndx |
| PARAM_COMPARE | 0 | info->hdr->e_shoff | < $0->len |
| CONSTRAINT | 0 | info->hdr->e_shoff | <3024 |
| CONSTRAINT | 0 | info->hdr->e_shstrndx | <3064 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | flags | 0-6 |
| NO_OVERFLOW_SIMPLE | 0 | info->max_pages |
kernel/module/main.c load_module() -> free_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 402463899452510208,819794768076095488 |
| PARAM_VALUE | 0 | info->compressed_len | 0-s32max |
| PARAM_VALUE | 0 | info->core_typeoffs | 0-u32max |
| PARAM_VALUE | 0 | info->index.info | 0-s32max |
| PARAM_VALUE | 0 | info->index.mod | 0-s32max |
| PARAM_VALUE | 0 | info->index.pcpu | 0-65534 |
| PARAM_VALUE | 0 | info->index.str | 0-65534 |
| PARAM_VALUE | 0 | info->index.sym | 0-65534 |
| PARAM_VALUE | 0 | info->index.vers | 0-65534 |
| PARAM_VALUE | 0 | info->index.vers_ext_crc | 0-65534 |
| PARAM_VALUE | 0 | info->index.vers_ext_name | 0-65534 |
| PARAM_VALUE | 0 | info->init_typeoffs | 0-u32max |
| PARAM_VALUE | 0 | info->max_pages | 0 |
| PARAM_VALUE | 0 | info->mod_kallsyms_init_off | 0,8-u32max |
| PARAM_VALUE | 0 | info->pages | 0 |
| PARAM_VALUE | 0 | info->sechdrs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->secstrings | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->stroffs | 0-u32max |
| PARAM_VALUE | 0 | info->strtab | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->symoffs | 0-u32max |
| PARAM_VALUE | 0 | info->used_pages | 0 |
| PARAM_VALUE | 1 | flags | 0-6 |
| CAPPED_DATA | 0 | info->index.mod | 1 |
| CAPPED_DATA | 0 | info->index.pcpu | 1 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 1 | flags | $2 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | flags | 0-6 |
| NO_OVERFLOW_SIMPLE | 0 | info->max_pages |