AFLplusplus / AFLplusplus

The fuzzer afl++ is afl with community patches, qemu 5.1 upgrade, collision-free coverage, enhanced laf-intel & redqueen, AFLfast++ power schedules, MOpt mutators, unicorn_mode, and a lot more!

Home Page:https://aflplus.plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MOpt mode cause afl-fuzz to hang without fuzzing progress

apach301 opened this issue · comments

afl-fuzz secondary node (-S) hangs when MOpt mode is enabled (-L N; with N >= 0):
image

AFL++ v4.08c works well, the problem appears in v4.09c (by testing different commits between v4.08c and v4.09c I found that afl-fuzz started to hang in MOpt mode after a8185f8). If afl-fuzz launched with -M and -L it is not hanging.

introspection.txt contains only one line: CYCLE cycle=1 cycle_wo_finds=0 time_wo_finds=0 expand_havoc=0 queue=8.
The problem could be triggered by launching either instrumented fuzztarget or using QEMU mode.

do you mean that a8185f8 is the commit where MOpt starts to go wrong in -S mode? or the following commit is the culprit?

do you mean that a8185f8 is the commit where MOpt starts to go wrong in -S mode? or the following commit is the culprit?

I didn't figured out what exact changes affected -S mode, Only that a8185f8 (pendfav merge) is the first commit on dev-branch where I detected hanging (previous works normally in -S mode).

thanks for reporting.
I did a workaround for the bug, it is in the dev branch.
I will either remove Mopt or rewrite it in the future.