USENIX Security2025Top-tier venue
When Good Kernel Defenses Go Bad: Reliable and Stable Kernel Exploits via Defense-Amplified TLB Side-Channel Leaks
Lukas Maar, Lukas Giner, Daniel Gruss, Stefan Mangard
Abstract
Over the past decade, the Linux kernel has seen a significant number of memory-safety vulnerabilities. However, exploiting these vulnerabilities becomes substantially harder as defenses increase. A fundamental defense of the Linux kernel is the randomization of memory locations for security-critical objects, which greatly limits or prevents exploitation.
In this paper, we show that we can exploit side-channel leakage in defenses to leak the locations of security-critical kernel objects. These location disclosure attacks enable successful exploitations on the latest Linux kernel, facilitating reliable and stable system compromise both with re-enabled and new exploit techniques. To identify side-channel leakages of defenses, we systematically analyze 127 defenses. Based on this analysis, we show that enabling any of 3 defenses -enforcing strict memory permissions or virtualizing the kernel heap or kernel stack -allows us to obtain finegrained TLB contention patterns via an Evict+Reload TLB side-channel attack. We combine these patterns with kernel allocator massaging to present location disclosure attacks, leaking the locations of kernel objects, i.e., heap objects, page tables, and stacks. To demonstrate the practicality of these attacks, we evaluate them on recent Intel CPUs and multiple kernel versions, with a runtime of 0.3 s to 17.8 s and almost no false positives. Since these attacks work due to side-channel leakage in defenses, we argue that the virtual stack defense makes the system less secure.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Cross-Cache Attacks for the Linux Kernel via PCP Massaging cites DirtyCred: Escalating Privilege in Linux Kernel
- Cross-Cache Attacks for the Linux Kernel via PCP Massaging cites A Systematic Study of Elastic Objects in Kernel Exploitation
- HyperAudit: Towards User Transparent and Highly Efficient System Auditing for Cloud Platforms cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
- DirtyCred: Escalating Privilege in Linux Kernel cites KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities
- DirtyCred: Escalating Privilege in Linux Kernel cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
- DirtyCred: Escalating Privilege in Linux Kernel cites A Systematic Study of Elastic Objects in Kernel Exploitation
- KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
- The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel Vulnerabilities cites DirtyCred: Escalating Privilege in Linux Kernel
- The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel Vulnerabilities cites KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities
- NetPanic: the Attack Surface You Can't Syscall cites DirtyCred: Escalating Privilege in Linux Kernel
- CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux Kernel cites DirtyCred: Escalating Privilege in Linux Kernel
- CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux Kernel cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
- CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux Kernel cites A Systematic Study of Elastic Objects in Kernel Exploitation
- A Systematic Study of Elastic Objects in Kernel Exploitation cites KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities
- A Systematic Study of Elastic Objects in Kernel Exploitation cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
Cited by top-tier papers5
- Cross-Cache Attacks for the Linux Kernel via PCP MassagingClaudio Migliorelli, Andrea Mambretti, Alessandro Sorniotti, Vittorio Zaccaria et al.NDSS 2026
- HyperAudit: Towards User Transparent and Highly Efficient System Auditing for Cloud PlatformsRenpeng Zhang, Kai Shen, Peng Jiang, Ding Li et al.USENIX Security 2026
- The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel VulnerabilitiesLukas Maar, Florian Draschbacher, Lorenz Schumm, Ernesto Martínez García et al.USENIX Security 2025
- NetPanic: the Attack Surface You Can't SyscallTianshuo Han, Zong Cao, Zhen Dong, Xiapu Luo et al.S&P 2026
- CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux KernelDong-ok Kim, Juhyun Song, Insu YunCCS 2025
Builds on13
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 citations
- Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp et al.CCS 2016 · 278 citations
- KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel VulnerabilitiesWei Wu, Yueqi Chen, Xinyu Xing, Wei ZouUSENIX Security 2019 · 75 citations
- A Systematic Study of Elastic Objects in Kernel ExploitationYueqi Chen, Zhenpeng Lin, Xinyu XingCCS 2020 · 35 citations
- DirtyCred: Escalating Privilege in Linux KernelZhenpeng Lin, Yuhang Wu, Xinyu XingCCS 2022 · 30 citations
Related papers
- SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux KernelLukas Maar, Stefan Gast, Martin Unterguggenberger, Mathias Oberhuber et al.USENIX Security 2024 · 16 citations
- Poking Holes in Information HidingAngelos Oikonomopoulos, Elias Athanasopoulos, Herbert Bos, Cristiano GiuffridaUSENIX Security 2016 · 92 citations
- HEAP LOCALIZATION: Cache Side-Channel Based Linux Kernel Heap Exploit TechniquesYoochan Lee, Sihyun Roh, Hyuk Kwon, Byoungyoung Lee et al.S&P 2026
- Shielding Software From Privileged Side-Channel AttacksXiaowan Dong, Zhuojia Shen, John Criswell, Alan L. Cox et al.USENIX Security 2018 · 45 citations
- Speculative Probing: Hacking Blind in the Spectre EraEnes Göktas, Kaveh Razavi, Georgios Portokalidis, Herbert Bos et al.CCS 2020 · 36 citations
