Difference between revisions of "KHeapChunkHeader"

From 3dbrew
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:Kernel objects]]
 
[[Category:Kernel objects]]
  
This is the header that the kernel uses to implement the FCRAM heap.
+
This is the header stored in FCRAM for each FCRAM heap chunk. The kernel maintains this structure. An attack like gspwn can overwrite this header, and exploit the kernel pre 9.3 (memchunkhax).
 +
 
  
 
Size : 0xC bytes?
 
Size : 0xC bytes?

Revision as of 12:23, 27 September 2015


This is the header stored in FCRAM for each FCRAM heap chunk. The kernel maintains this structure. An attack like gspwn can overwrite this header, and exploit the kernel pre 9.3 (memchunkhax).


Size : 0xC bytes?

Offset Type Description
0x0 u32 Size (in 4K pages)
0x4 KHeapHeader* Next
0x8 KHeapHeader* Prev