Rating:

In short, you had to pivot to malloc state in main arena and overwrite top chunk.
[writeup](https://owodelta.github.io/2019/06/09/Hard-Heap-HSCTF-6/)