Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/virt/coco/sev-guest/sev-guest.c get_ext_report() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 size 112
BUF_SIZE 1 src 112
DATA_SOURCE 1 src r _kzalloc_noprof
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
USER_PTR 1 src

drivers/virt/coco/sev-guest/sev-guest.c get_ext_report() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 18379471554275704832,18446612682070032384
PARAM_VALUE 2 size 0-16384
BUF_SIZE 1 src 0,4096-16384
BUF_SIZE 1 src 0,4096-16384
CAPPED_DATA 1 src 1
DATA_SOURCE 1 src r alloc_pages_exact_noprof
FUZZY_MAX 2 size 16384
BIT_INFO 0 dst 0x0,0x0
BIT_INFO 2 size 0x0,0x7000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 1-16384
UNITS 2 size unit_byte
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 _T->lock

drivers/virt/coco/sev-guest/sev-guest.c get_ext_report() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 size 4000
BUF_SIZE 1 src 4016
DATA_SOURCE 1 src r _kzalloc_noprof
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 _T->lock

security/smack/smack_lsm.c smack_socket_getpeersec_stream() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 1-1010102
BUF_SIZE 1 src (-1),1
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $1
FUZZY_MAX 2 size 1
STR_LEN 0 dst (-1)-0
BIT_INFO 0 dst 0x0,0x0
TERMINATED 1 src 1

security/smack/smack_lsm.c smack_socket_getpeersec_stream() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 7472137647070470144
PARAM_VALUE 1 *src 1-1010102
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
UNITS 2 size unit_byte

net/core/filter.c sk_get_filter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 0-524280
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0-280
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3367957701033336832
PARAM_VALUE 2 size 0-280
BUF_SIZE 1 src 280
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
MEM_ZERO 1 src
RX_PATH
USER_DATA 2 size 0-279[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0-20
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3367957701033336832
PARAM_VALUE 2 size 0-20
BUF_SIZE 1 src 20
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 1-19[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0-16
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 0-16
BUF_SIZE 1 src 16
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-15[c]
UNITS 2 size unit_byte

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0-16
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 0-16
BUF_SIZE 1 src 16
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-15[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 276842851706183680
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 src 32
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 1-s32max[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3264811500642238464
PARAM_VALUE 2 size 20
BUF_SIZE 1 src 20
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 dst $3
DATA_SOURCE 2 size r tcp_saved_syn_len
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-s32max,18446744071562067968-u64max
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 64
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1317834662167998464
PARAM_VALUE 2 size 12,20,24,32,36,40,48,56,60-s32max,18446744071562067968-u64max
BUF_SIZE 1 src 64
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 12,20,24,32,36,40,48,56,60-64[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4030180387496710144
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/tcp.c do_tcp_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 6464230533810618368
PARAM_VALUE 1 *src (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-3[c]
UNITS 2 size unit_byte

net/ipv4/igmp.c ip_mc_msfget() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4602062573353107456
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/igmp.c ip_mc_msfget() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 6412688078062829568
PARAM_VALUE 2 size 16
DATA_SOURCE 0 dst $2
DATA_SOURCE 1 src $1
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c compat_ipv6_get_msfilter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3934590843004141568
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3934590843004141568
PARAM_VALUE 1 *src 0-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3934590843004141568
PARAM_VALUE 1 *src 32
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 8136856883272876032
PARAM_VALUE 2 size 32
BUF_SIZE 1 src 32
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
MEM_ZERO 1 src
RX_PATH
UNITS 2 size unit_byte

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3934590843004141568
PARAM_VALUE 1 *src 32
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 6565182194250502144
PARAM_VALUE 2 size 32
BUF_SIZE 1 src 32
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
MEM_ZERO 1 src
RX_PATH
UNITS 2 size unit_byte

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3934590843004141568
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv6/ipv6_sockglue.c do_ipv6_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 9129612250999570432
PARAM_VALUE 1 *src (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-4[c]
UNITS 2 size unit_byte

net/ipv6/ipv6_sockglue.c ipv6_get_msfilter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c ipv6_get_msfilter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3799528479325835264
PARAM_VALUE 2 size 144
BUF_SIZE 1 src 272
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0
RX_PATH
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c ipv6_getsockopt_sticky() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 size 0-2048
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
DATA_SOURCE 2 size $4 [m]
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 1-2047[c]
UNITS 1 src unit_byte
HALF_LOCKED2 sk

net/ipv6/ip6mr.c ip6_mroute_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3211545678044725248
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv6/ip6mr.c ip6_mroute_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1754092673830039552
PARAM_VALUE 1 *src 0-1,773
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-3[c]
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c compat_ip_get_mcast_msfilter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1245636884137570304
PARAM_VALUE 1 *src 0
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1245636884137570304
PARAM_VALUE 1 *src 0-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 0-s32max
BUF_SIZE 1 src 40
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 1-s32max[c]
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1245636884137570304
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1245636884137570304
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 8636017778119954432
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-3[c]
UNITS 2 size unit_byte

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1245636884137570304
PARAM_VALUE 1 *src 1
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 8213417450097266688
PARAM_VALUE 1 *src 0-255
PARAM_VALUE 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1245636884137570304
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/ip_sockglue.c do_ip_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4915739035772612608
PARAM_VALUE 1 *src (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-4[c]
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/ip_sockglue.c ip_get_mcast_msfilter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 999545325967716352
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/ipv4/ip_sockglue.c ip_get_mcast_msfilter() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 8055502736469094400
PARAM_VALUE 2 size 144
BUF_SIZE 1 src 272
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0
RX_PATH
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

kernel/bpf/cgroup.c __cgroup_bpf_run_filter_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 2 size 1-s32max
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 1-s32max[c]
UNITS 2 size unit_byte
USER_PTR 1 src

kernel/bpf/cgroup.c __cgroup_bpf_run_filter_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4174225412468949024
PARAM_VALUE 1 *src 1-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 8034131566490882048
PARAM_VALUE 2 size 0-12
BUF_SIZE 1 src 12
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-12
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 7050283446517633024
PARAM_VALUE 1 *src 0-s32max
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-4
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1989416160650985472
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1989416160650985472
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 6968538910154612736
PARAM_VALUE 2 size 0-s32max
BUF_SIZE 1 src 128
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-s32max[c]
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 7144146128546889728
PARAM_VALUE 2 size 0-36
BUF_SIZE 1 src 36
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-35[c]
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 8040464322652889088
PARAM_VALUE 2 size 0-16
BUF_SIZE 1 src 16
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 0-16[c]
UNITS 2 size unit_byte

net/core/sock.c sk_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1989416160650985472
PARAM_VALUE 1 *src 0-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $4
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

net/core/sock.c sock_getbindtodevice() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 6273095708682354688
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 src 16
DATA_SOURCE 0 dst $1
STR_LEN 0 dst 0-18446744073709551613
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING

net/core/sock.c sock_getbindtodevice() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 *src s32min-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

net/socket.c do_sock_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 1266357494456262736
PARAM_VALUE 1 *src 0-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $5
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/tcp_ao.c tcp_ao_copy_mkts_to_user() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 3455305663459356672
PARAM_VALUE 1 *src 304
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp_ao.c tcp_ao_get_repair() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 4255672503487967232
PARAM_VALUE 2 size 1-16
BUF_SIZE 1 src 16
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 1-15[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk

net/ipv4/tcp_ao.c tcp_ao_get_sock_info() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 7755768682469928960
PARAM_VALUE 2 size 1-48
BUF_SIZE 1 src 48
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0
MEM_ZERO 1 src
RX_PATH
USER_DATA 2 size 1-47[c]
UNITS 2 size unit_byte
HALF_LOCKED2 sk
HALF_LOCKED2 sk

drivers/virt/coco/tdx-guest/tdx-guest.c tdx_do_report() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 0,4096-ptr_max
PARAM_VALUE 2 size 1024
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 _T->lock

security/apparmor/lsm.c apparmor_socket_getpeersec_stream() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 16,4096-ptr_max
PARAM_VALUE 1 *src 0-255
PARAM_VALUE 2 size 0-s32max
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $1
DATA_SOURCE 2 size r aa_label_asxprint
BIT_INFO 0 dst 0x0,0x0

security/apparmor/lsm.c apparmor_socket_getpeersec_stream() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 6903501125865730048
PARAM_VALUE 1 *src 0-s32max
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
UNITS 2 size unit_byte

security/selinux/hooks.c selinux_socket_getpeersec_stream() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 *src 0-255
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $1
BIT_INFO 0 dst 0x0,0x0

security/selinux/hooks.c selinux_socket_getpeersec_stream() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 2851053472452263936
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
UNITS 2 size unit_byte

net/ipv4/ipmr.c ip_mroute_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 642562440246562816
PARAM_VALUE 1 *src 0-4
PARAM_VALUE 2 size 4
BUF_SIZE 1 src 4
DATA_SOURCE 0 dst $3
BIT_INFO 0 dst 0x0,0x0
RX_PATH
UNITS 2 size unit_byte

net/ipv4/ipmr.c ip_mroute_getsockopt() -> copy_to_sockptr()

Type Parameter Key Value
PARAM_VALUE 1 src 5344317070089072640
PARAM_VALUE 1 *src 0-1,773
PARAM_VALUE 2 size 0-4
BUF_SIZE 1 src 4
CAPPED_DATA 2 size 1
DATA_SOURCE 0 dst $2
BIT_INFO 0 dst 0x0,0x0
RX_PATH
USER_DATA 2 size 0-3[c]
UNITS 2 size unit_byte