commit | b55aa7b04bb42274b4a894020b5b2fa059c3527e | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Tue Mar 12 10:23:09 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Mar 13 12:04:35 2019 -0700 |
tree | 32f0c9d89a04f571a0ee340c4d20c262a6201986 | |
parent | ef776a272b093fb52612e6d8f4b3e77f9bb49554 [diff] |
bpf: Test ref release issue in bpf_tcp_sock and bpf_sk_fullsock Adding verifier tests to ensure the ptr returned from bpf_tcp_sock() and bpf_sk_fullsock() cannot be accessed after bpf_sk_release() is called. A few of the tests are derived from a reproducer test by Lorenz Bauer. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>