We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d027e0 commit 0f08ebcCopy full SHA for 0f08ebc
kernel/bpf/verifier.c
@@ -19265,8 +19265,10 @@ static int do_check(struct bpf_verifier_env *env)
19265
return err;
19266
break;
19267
} else {
19268
- if (WARN_ON_ONCE(env->cur_state->loop_entry))
19269
- env->cur_state->loop_entry = NULL;
+ if (WARN_ON_ONCE(env->cur_state->loop_entry)) {
+ verbose(env, "verifier bug: env->cur_state->loop_entry != NULL\n");
19270
+ return -EFAULT;
19271
+ }
19272
do_print_state = true;
19273
continue;
19274
}
0 commit comments