Skip to content

[WinAfl] [DynamoRIO] winAfl crash when using "Sample delivery via shared memory" #471

@salihboshnak

Description

@salihboshnak

HI

Setup details:

OS: Windows Server 2022 Standard, 21H2, 64bit OS, x64-based processor, 40 cores
WinAFL with DynamoRIO:

winAFL: 1.17 based on AFL 2.43b
compiled 64bit version with visual studio 2022

DynamoRIO: 11.3.0
took the already compiled binaries
( did not compile it my self )

I implemented the sample delivery via regular file and also via shared memory

when i run the shared memory version
i get the following error:

WinAFL internal crash at PC 0x00007ff6212b2afc

Image

on the "Status Screen", i get the following error message
0 processes nudged
nudge operation failed, verify permissions and parameters.

Important Note:
the frequency of this error is bigger when using parallel fuzzers ( for example: using 1 master and 3 slaves )

compared to regular sample delivery via disk, this error is not triggered
even in parallel fuzzers

Note: shared memory sample delivery was implemented according to the given example:
https://github.com/googleprojectzero/Jackalope/blob/6d92931b2cf614699e2a023254d5ee7e20f6e34b/test.cpp#L41
https://github.com/googleprojectzero/Jackalope/blob/6d92931b2cf614699e2a023254d5ee7e20f6e34b/test.cpp#L111

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions