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

executor can’t work in mips64el,it reports mmap got Invalid argument #5624

Open
liujf628995 opened this issue Dec 19, 2024 · 0 comments
Open
Labels

Comments

@liujf628995
Copy link

I tried to run syzkaller with mips64el qemu machine,but syz-executor failed to run fuzz.

uname -a
Linux syzkaller 6.8.0 #15 SMP Wed Dec 18 18:40:07 CST 2024 mips64 GNU/Linux

I ran this command to debug and got messages

./syz-execprog -executor ./syz-executor -debug sampleprog

2024/12/19 03:12:49 parsed 1 programs
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
SYZFAIL: mmap of left data PROT_NONE page failed
want 0x1ffff000, got 0xffffffffffffffff (errno 22: Invalid argument)
2024/12/19 03:13:05 [FATAL] execution of simple program fails:

starce it found:

mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument)
write(2, "SYZFAIL: mmap of left data PROT_"..., 49) = 49
write(2, "want 0x1ffff000, got 0xfffffffff"..., 39) = 39
write(2, " (errno 22: Invalid argument)\n", 30) = 30

what's wrong with it and what can I do to resolve it?

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

1 participant