Skip to content

Regression: libxdc decode error when fuzzing with 6.0 Nyx kernel #10

@Wenzel

Description

@Wenzel

We've spotted a regression starting from the 6.0 Nyx kernel where libxdc would continously throw libxdc_decode errors as soon as fuzzing starts for certain targets:

image

A complete repro is available for the Zephyr target, in development:

git clone https://github.com/IntelLabs/kAFL.git -b regression/6.0_tnt_zephyr
cd kAFL
make deploy
# let kafl setup, reboot ...
cd kAFL/kafl/examples/zephyr_x86_32
docker build -t kafl_zephyr .
docker run -ti --rm -v $PWD:/workdir -v $PWD/../nyx_api.h:/usr/local/include/nyx_api.h kafl_zephyr
./run.sh build TEST
# CTRL-D (exit container)
./run.sh fuzz

On the previous 5.10.73 kernel, these errors doesn't appear.

ping @schumilo, since you worked on the 6.0 patches, do you have any idea what could be the cause ? (the main changes with 6.0 is that we remove custom FDL code)

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