arXiv:2609.37608cs.CRSep 2026

Manuscript Offprint

arXiv:2609.37608

Harvest Season for SLUB: From io_uring vulnerability to Novel Sheaf-Based Exploitation Techniques

Hao-Yu Yang, Yu-Ting Lin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The Linux kernel's push for higher I/O performance and more efficient memory management has introduced new mechanisms that, while improving performance, also open new attack surfaces. This research examines two of them together: the io_uring subsystem and the sheaf/barn caching mechanism added to the SLUB allocator in Linux 6.18.

In this research, two previously unknown vulnerabilities in io_uring are presented, and one is developed into a complete local privilege escalation chain under a hardened kernel configuration. Building this chain revealed that the sheaf/barn mechanism changes long-standing assumptions behind established exploitation techniques such as cross-cache attack, and that its design also weakens existing SLUB freelist protections. Both observations are analyzed and turned into working primitives.

Building on this analysis, three novel sheaf-based exploitation techniques are proposed. Among them, an RCU-sheaf cross-cache technique removes the traditional dependence on the buddy system for moving objects across caches, giving more flexible and reliable control over object migration between cache pools. Together, these results characterize the sheaf/barn layer as a new and largely unexplored attack surface in Linux kernel exploitation.

CONTENTS

0

Contents

1 Background 3
1.1 io_uring Overview 3
1.2 SLUB and the Sheaf Mechanism 4
1.2.1 Layer 2: the barn layer (node_barn) 4
1.2.2 Layer 3: the slab management layer (kmem_cache_node) 5

2 Vulnerability 1: Race Condition Between CQ/SQ Resize and Deferred Task Work 6
2.1 Root Cause 6
2.2 Proof of Concept 7

3 Vulnerability 2: Logic Error in the Error-Handling Path of the Provided-Buffer Bundle Expansion Flow 8
3.1 Root Cause 8
3.2 Exploitation 9
3.2.1 Leaking KASLR 10
3.2.2 Leaking the task_struct address 11
3.2.3 One-shot cred overwrite leading to local privilege escalation 12

4 The Impact of Sheaf on Traditional Exploitation and the Solutions 13
4.1 The Impact of the Sheaf Mechanism 13
4.2 Solution 1: Flushing Sheaf and Barn Objects Back to the Slab Management Layer 14
4.3 Solution 2: Bypassing the Sheaf Cache Layer via Cross-NUMA Node Allocation 15

5 Sheaf Design Flaws: Inconsistency Between the Sheaf and Traditional Slab Implementations 16
5.1 Flaw 1: Bypassing CONFIG_SLAB_FREELIST_HARDENED double free detection 16
5.2 Flaw 2: Bypassing CONFIG_SLAB_FREELIST_HARDENED pointer protection 17

6 Novel Techniques: Sheaf-Based Exploitation 18
6.1 Technique 1: Object Array Hijack 18
6.2 Technique 2: Object Array Out-of-Bounds Write 22
6.3 Technique 3: Cross-Cache via the RCU slab_sheaf 23
6.4 Applying Technique 3 to Vulnerability 2 26
6.4.1 Triple free for information leak and overlapping the RCU slab_sheaf 26
6.4.2 Leaking the cred kmem_cache address 26
6.4.3 Privilege escalation by poisoning the RCU cache and cross-cache attacking cred_jar 27

7 Conclusion 27

1.1