Skip to content
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

Invalid byte order on single entry get in Counter, Meter and Register #88

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

tatry
Copy link
Collaborator

@tatry tatry commented Dec 21, 2022

Externs: Counter (rather to impossible to exploit), Meter and Register might return invalid byte order of fields wider than 8 bytes if single entry was requested using index/key. These externs returns field data using internal raw buffer (not data provided by user) where byte order was not correct.

PTF tests: tatry/p4c#30

Externs: Counter (rather to impossible to exploit), Meter and Register might return invalid byte order of fields wider than 8 bytes if single entry was requested using index/key. These externs returns field data using internal raw buffer (not data provided by user) where byte order was not correct.
@tatry tatry added the bug Something isn't working label Dec 21, 2022
@tatry tatry self-assigned this Dec 21, 2022
@tatry tatry added this to In progress in C API & command line tool to manage PSA-eBPF programs via automation Dec 21, 2022
@tatry tatry changed the title [WIP] Invalid byte order on single entry get in Counter, Meter and Register Invalid byte order on single entry get in Counter, Meter and Register Jan 3, 2023
@tatry tatry merged commit e3e10d4 into master Jan 9, 2023
C API & command line tool to manage PSA-eBPF programs automation moved this from In progress to Done Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

2 participants