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

Capture issue on Arch systems (6.0.6-arch1-1) #199

Open
PurplePachyderm opened this issue Nov 8, 2022 · 1 comment
Open

Capture issue on Arch systems (6.0.6-arch1-1) #199

PurplePachyderm opened this issue Nov 8, 2022 · 1 comment
Labels

Comments

@PurplePachyderm
Copy link
Member

PurplePachyderm commented Nov 8, 2022

We reproduced this bug on test_01.

Everything seems to work correctly until entering the tracer_dump function in cere_tracer.c. After receiving codelet arguments from the tracee, we need to unprotect pages containing those arguments. However, from this point, syscalls do not work anymore. When inspecting the inject_syscall function, registers are modified correctly, but the syscalls are not executed.

The bug does not happen when running a dockerized debian image on the same kernel, which points to an environment specific issue.

Hints: are syscalls breaking due to a bad injection or a memory protection/corruption issue ?

Attached a detailed log demonstrating the issue.
test_01.txt

Syscalls start breaking after line 146.

@PurplePachyderm
Copy link
Member Author

ping @mihailpopov @pablooliveira

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