Lune

USENIX Security2024Top-tier venue

SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux Kernel

Lukas Maar, Stefan Gast, Martin Unterguggenberger, Mathias Oberhuber, Stefan Mangard

Abstract

While the number of vulnerabilities in the Linux kernel has increased significantly in recent years, most have limited capabilities, such as corrupting a few bytes in restricted allocator caches. To elevate their capabilities, security researchers have proposed software cross-cache attacks, exploiting the memory reuse of the kernel allocator. However, such cross-cache attacks are impractical due to their low success rate of only 40 %, with failure scenarios often resulting in a system crash. In this paper, we present SLUBStick, a novel kernel exploitation technique elevating a limited heap vulnerability to an arbitrary memory read-and-write primitive. SLUBStick operates in multiple stages: Initially, it exploits a timing side channel of the allocator to perform a cross-cache attack reliably. Concretely, exploiting the side-channel leakage pushes the success rate to above 99 % for frequently used generic caches. SLUBStick then exploits code patterns prevalent in the Linux kernel to convert a limited heap vulnerability into a page table manipulation, thereby granting the capability to read and write memory arbitrarily. We demonstrate the applicability of SLUBStick by systematically analyzing two Linux kernel versions, v5.19 and v6.2. Lastly, we evaluate SLUB-Stick with a synthetic vulnerability and 9 real-world CVEs, showcasing privilege escalation and container escape in the Linux kernel with state-of-the-art kernel defenses enabled.

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.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Cross-Cache Attacks for the Linux Kernel via PCP Massaging cites Enforcing Kernel Security Invariants with Data Flow Integrity
  • Cross-Cache Attacks for the Linux Kernel via PCP Massaging cites FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free Vulnerabilities
  • Cross-Cache Attacks for the Linux Kernel via PCP Massaging cites SLAKE: Facilitating Slab Manipulation for Exploiting Vulnerabilities in the Linux Kernel
  • The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel Vulnerabilities cites FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free Vulnerabilities
  • The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel Vulnerabilities cites Defects-in-Depth: Analyzing the Integration of Effective Defenses against One-Day Exploits in Android Kernels
  • Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
  • SLAKE: Facilitating Slab Manipulation for Exploiting Vulnerabilities in the Linux Kernel cites FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free Vulnerabilities
  • DirtyFree: Simplified Data-Oriented Programming in the Linux Kernel cites Enforcing Kernel Security Invariants with Data Flow Integrity
  • DirtyFree: Simplified Data-Oriented Programming in the Linux Kernel cites FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free Vulnerabilities
  • DirtyFree: Simplified Data-Oriented Programming in the Linux Kernel cites SLAKE: Facilitating Slab Manipulation for Exploiting Vulnerabilities in the Linux Kernel
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. Defects-in-Depth: Analyzing the Integration of Effective Defenses against One-Day Exploits in Android KernelsLukas Maar, Florian Draschbacher, Lukas Lamster, Stefan MangardUSENIX Security 2024 · 5 citations
  2. Eviction Notice: Reviving and Advancing Page Cache AttacksSudheendra Raghav Neela, Jonas Juffinger, Lukas Maar, Daniel GrussNDSS 2026 · 2 citations
  3. DirtyFree: Simplified Data-Oriented Programming in the Linux KernelYoochan Lee, Hyuk Kwon, Thorsten HolzNDSS 2026 · 1 citation
  4. Cross-Cache Attacks for the Linux Kernel via PCP MassagingClaudio Migliorelli, Andrea Mambretti, Alessandro Sorniotti, Vittorio Zaccaria et al.NDSS 2026
  5. 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

Builds on14

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  3. Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris et al.NDSS 2016 · 141 citations
  4. FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free VulnerabilitiesWei Wu, Yueqi Chen, Jun Xu, Xinyu Xing et al.USENIX Security 2018 · 124 citations
  5. SLAKE: Facilitating Slab Manipulation for Exploiting Vulnerabilities in the Linux KernelYueqi Chen, Xinyu XingCCS 2019 · 76 citations

Related papers

  1. Pspray: Timing Side-Channel based Linux Kernel Heap Exploitation TechniqueYoochan Lee, Jinhan Kwak, Junesoo Kang, Yuseok Jeon et al.USENIX Security 2023
  2. CROSS-X: Generalized and Stable Cross-Cache Attack on the Linux KernelDong-ok Kim, Juhyun Song, Insu YunCCS 2025
  3. When Good Kernel Defenses Go Bad: Reliable and Stable Kernel Exploits via Defense-Amplified TLB Side-Channel LeaksLukas Maar, Lukas Giner, Daniel Gruss, Stefan MangardUSENIX Security 2025
  4. BridgeRouter: Automated Capability Upgrading of Out-Of-Bounds Write Vulnerabilities to Arbitrary Memory Write Primitives in the Linux KernelDongchen Xie, Dongnan He, Wei You, Jianjun Huang et al.S&P 2025
  5. Fence2Pwn: KFENCE-Enabled Kernel Exploitation Bypassing Slab Hardening and Memory TaggingErnesto Martínez García, Lukas Maar, Martin Unterguggenberger, Stefan MangardUSENIX Security 2026
Dusk over the sea between two cliffs drawn in fine vertical lines