Lune

USENIX Security2025顶会

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Cross-Cache Attacks for the Linux Kernel via PCP Massaging 引用了 DirtyCred: Escalating Privilege in Linux Kernel
  • Cross-Cache Attacks for the Linux Kernel via PCP Massaging 引用了 A Systematic Study of Elastic Objects in Kernel Exploitation
  • HyperAudit: Towards User Transparent and Highly Efficient System Auditing for Cloud Platforms 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • DirtyCred: Escalating Privilege in Linux Kernel 引用了 KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities
  • DirtyCred: Escalating Privilege in Linux Kernel 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • DirtyCred: Escalating Privilege in Linux Kernel 引用了 A Systematic Study of Elastic Objects in Kernel Exploitation
  • KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel Vulnerabilities 引用了 DirtyCred: Escalating Privilege in Linux Kernel
  • The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel Vulnerabilities 引用了 KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities
  • NetPanic: the Attack Surface You Can't Syscall 引用了 DirtyCred: Escalating Privilege in Linux Kernel
  • CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux Kernel 引用了 DirtyCred: Escalating Privilege in Linux Kernel
  • CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux Kernel 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux Kernel 引用了 A Systematic Study of Elastic Objects in Kernel Exploitation
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel Vulnerabilities
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Cross-Cache Attacks for the Linux Kernel via PCP MassagingClaudio Migliorelli, Andrea Mambretti, Alessandro Sorniotti, Vittorio Zaccaria 等NDSS 2026
  2. HyperAudit: Towards User Transparent and Highly Efficient System Auditing for Cloud PlatformsRenpeng Zhang, Kai Shen, Peng Jiang, Ding Li 等USENIX Security 2026
  3. 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 等USENIX Security 2025
  4. NetPanic: the Attack Surface You Can't SyscallTianshuo Han, Zong Cao, Zhen Dong, Xiapu Luo 等S&P 2026
  5. CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux KernelDong-ok Kim, Juhyun Song, Insu YunCCS 2025

它引用的 Paper13

  1. Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 次引用
  2. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用
  3. KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel VulnerabilitiesWei Wu, Yueqi Chen, Xinyu Xing, Wei ZouUSENIX Security 2019 · 75 次引用
  4. A Systematic Study of Elastic Objects in Kernel ExploitationYueqi Chen, Zhenpeng Lin, Xinyu XingCCS 2020 · 35 次引用
  5. DirtyCred: Escalating Privilege in Linux KernelZhenpeng Lin, Yuhang Wu, Xinyu XingCCS 2022 · 30 次引用

相关 Paper

  1. SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux KernelLukas Maar, Stefan Gast, Martin Unterguggenberger, Mathias Oberhuber 等USENIX Security 2024 · 16 次引用
  2. Poking Holes in Information HidingAngelos Oikonomopoulos, Elias Athanasopoulos, Herbert Bos, Cristiano GiuffridaUSENIX Security 2016 · 92 次引用
  3. HEAP LOCALIZATION: Cache Side-Channel Based Linux Kernel Heap Exploit TechniquesYoochan Lee, Sihyun Roh, Hyuk Kwon, Byoungyoung Lee 等S&P 2026
  4. Shielding Software From Privileged Side-Channel AttacksXiaowan Dong, Zhuojia Shen, John Criswell, Alan L. Cox 等USENIX Security 2018 · 45 次引用
  5. Speculative Probing: Hacking Blind in the Spectre EraEnes Göktas, Kaveh Razavi, Georgios Portokalidis, Herbert Bos 等CCS 2020 · 36 次引用
黄昏的海面,两侧是细线勾勒的悬崖