Skip to content

Chaffx64#85

Draft
AndrewQuijano wants to merge 75 commits intomasterfrom
chaffx64
Draft

Chaffx64#85
AndrewQuijano wants to merge 75 commits intomasterfrom
chaffx64

Conversation

@AndrewQuijano
Copy link
Collaborator

@AndrewQuijano AndrewQuijano commented Dec 2, 2025

Your checklist for this pull request

  • I've documented or updated the documentation of every function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

The objective is to merge the Chaff bugs into the main branch. The ideal is to have LAVA and Chaff bugs injected simultaneously. Here is the paper.

Links to refer to Zhenghao's code:

This is on his Chaff Repo

HighW4y2H3ll/chaff@master...x64

HighW4y2H3ll/chaff@61faa5d...master

Original FIB:
https://github.com/HighW4y2H3ll/chaff/blob/master/tools/fbi/src/find_bug_inj.cpp


Note: I do NOT attempt to re-implement the heap-based overflows chaff bug, as this requires glibc 2.24, which uses a really old heap allocator and is therefore difficult to replicate. In a future PR, I will attempt to see if there is a generalized way, regardless of the heap allocator, to get this chaff bug.

...

Test plan

We should add tests where LAVA only injects chaff bugs and confirm that yes, it can't be exploited.

We should also confirm that both LAVA and Chaff bugs can be injected concurrently.
...

Closing issues

N/A

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Lava-Core LAVA C/C++ code Pyroclastic Python LAVA code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants