Skip to content

Fix FWD/BCK comments and tcache dump offsets in house_of_water (glibc 2.35) - #240

Open
yfqiu wants to merge 1 commit into
shellphish:masterfrom
yfqiu:fix/house-of-water-2.35-comments-offsets
Open

Fix FWD/BCK comments and tcache dump offsets in house_of_water (glibc 2.35)#240
yfqiu wants to merge 1 commit into
shellphish:masterfrom
yfqiu:fix/house-of-water-2.35-comments-offsets

Conversation

@yfqiu

@yfqiu yfqiu commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • Swap incorrect FWD/BCK comments on the 0x330 / 0x320 fake frees
  • Fix STEP 4 dump offsets from metadata+0x390/0x398/0x370 to +0x210/0x218/0x200 (tcache entries live after the chunk header)

Test plan

  • gcc -w glibc_2.35/house_of_water.c -o /tmp/house_of_water && /tmp/house_of_water
  • Confirm STEP 4 prints 0x320/0x330 tcache pointers to small_end-0x10 / small_start-0x10

… 2.35)

The 0x330 free creates the fake BCK and the 0x320 free creates the fake FWD.
Dump the 0x320/0x330 entries and fake chunk at metadata+0x210/0x218/0x200.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant