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

Any progress about "Syzkaller + Kernel function fail-injection" #10

Open
mudongliang opened this issue Apr 18, 2019 · 3 comments
Open

Comments

@mudongliang
Copy link

I found one good article - Syzkaller + Kernel function fail-injection(https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/master/docs/harbian_qa/fuzz_testing/syz_kfun_finject.md).

As I know, the kernel fault-injection framework provides one option - fail-function which could modify the return value of specific functions.

Why do not we use this option? This could also achieve the goal somehow.

If I misunderstand something, please let me know.

@Bins94
Copy link
Contributor

Bins94 commented Apr 18, 2019

We want to check if an individual function can handle any arbitrary input.

@mudongliang
Copy link
Author

You mean, apart from return value of specific function(implemented in CONFIG_FAIL_FUNCTION), this solution still double-checks the arguments of specific function, right?

@Bins94
Copy link
Contributor

Bins94 commented Apr 18, 2019

My meaning is this module can generate arbitrary input for a specific function. Even the input can be hardly generated by normal syscalls. We still check it.

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

No branches or pull requests

2 participants