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

Buffer out of bounds access in trace log message with gvisor #237

Open
edevil opened this issue Mar 15, 2024 · 0 comments
Open

Buffer out of bounds access in trace log message with gvisor #237

edevil opened this issue Mar 15, 2024 · 0 comments
Assignees
Labels

Comments

@edevil
Copy link

edevil commented Mar 15, 2024

Version of neli
0.6.4

Describe the bug
When run under gvisor with trace logs, it crashes due to accessing a buffer out of bounds.
https://github.com/jbaublitz/neli/blob/main/neli-proc-macros/src/derive_frombytes.rs#L70-L74

To Reproduce
Steps to reproduce the behavior:

  1. Enable trace logs
  2. Attempt to process netlink messages while running inside the gvisor runtime

Please provide a minimal, ready-to-compile example that reproduces the bug
https://github.com/edevil/gvisor_netlink_issue

Expected behavior
No crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants