diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2025-02-24 16:38:38 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-02-25 19:02:46 -0800 |
| commit | f3c2d243a36ef23be07bc2bce7c6a5cb6e07d9e3 (patch) | |
| tree | 822b4989bbe3e006d744f85836936aa80ca5055e /rust/helpers/processor.c | |
| parent | 1ffe30efd2f2e58c36b754c42c2b61906078a4cf (diff) | |
bpf: abort verification if env->cur_state->loop_entry != NULL
In addition to warning abort verification with -EFAULT.
If env->cur_state->loop_entry != NULL something is irrecoverably
buggy.
Fixes: bbbc02b7445e ("bpf: copy_verifier_state() should copy 'loop_entry' field")
Suggested-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20250225003838.135319-1-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions
