-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of bounds memory load and stores verified by PREVAIL #492
Comments
The first program listed in bytecode:
|
Today PREVAIL assumes the context (r1) is always non-null. To my knowledge, neither Linux nor Windows defines any hooks which allow a null ctx argument to the program. The program above uses ".text" as its code section, which is an unspecified program type. If there are program types on some platform that permit null ctx pointers, then PREVAIL could add an option to |
@elazarg I believe this issue can be closed with label "invalid" |
Through fuzzing, we have generated the following programs:
Using
./ebpf-verifier/check
we get:Using
./ubpf/vm/test -j
we get:Similarly for store operations:
Verified by PREVAIL, but results in:
The text was updated successfully, but these errors were encountered: