On Wed, Oct 27, 2021 at 4:45 PM Joanne Koong <joannekoong@xxxxxx> wrote: > @@ -1080,6 +1089,14 @@ static int map_lookup_elem(union bpf_attr *attr) > if (!value) > goto free_key; > > + if (map->map_type == BPF_MAP_TYPE_BLOOM_FILTER) { > + if (copy_from_user(value, uvalue, value_size)) > + err = -EFAULT; > + else > + err = bpf_map_copy_value(map, key, value, attr->flags); > + goto free_value; > + } > + Applied to bpf-next. I couldn't find where lookup from user space is tested. Please follow up with an extra test if that's the case.