A (Work-In-Progress) writeup for studying Cross-Cache attacks in the Linux kernel SLUB allocator.
Reference Material
SLUB
- https://events.static.linuxfound.org/images/stories/pdf/klf2012_kim.pdf
- https://ruffell.nz/programming/writeups/2019/02/15/looking-at-kmalloc-and-the-slub-memory-allocator.html
- https://blogs.oracle.com/linux/linux-slub-allocator-internals-and-debugging-1
- https://sam4k.com/linternals-memory-allocators-0x02/
BUDDY
- https://syst3mfailure.io/linux-page-allocator/
- https://www.geeksforgeeks.org/operating-systems/buddy-system-memory-allocation-technique/
CROSS-CACHE
- https://u1f383.github.io/linux/2025/01/03/cross-cache-attack-cheatsheet.html
- https://www.usenix.org/system/files/sec23summer_79-lee-prepub.pdf
- https://dl.acm.org/doi/10.1145/3719027.3765152
- https://kaligulaarmblessed.github.io/post/cross-cache-for-lazy-people/
- https://i.blackhat.com/Asia-24/Presentations/Asia-24-Wu-Game-of-Cross-Cache.pdf
Tested against: Linux Kernel v6.12.
Source files: GitHub.
TODO … Add writeup