← Lab /Security & privacy

Sheaf/barn layer creates new kernel exploit primitives and enables privilege escalation

The authors claim they discovered two io_uring bugs and three sheaf-based techniques that allow local privilege escalation in Linux 6.18

Security & privacy arXiv 29 Sep 2026 Attack Prototype evidence

Published as “Harvest Season for SLUB: From io_uring vulnerability to Novel Sheaf-Based Exploitation Techniques”

Why it matters

Attackers can now obtain root on recent Linux kernels that enable io_uring and the new sheaf/barn allocator, bypassing several existing kernel hardening mechanisms.

Summary

The paper discovers two previously unknown io_uring vulnerabilities and builds a complete local privilege escalation chain on Linux 6.18+ kernels, even when many hardening options are enabled. The first is a race condition between CQ/SQ ring resize and deferred task work that can cause a null pointer dereference; the second is a use-after-free in the provided-buffer bundle error path that leads to credential overwrite. The authors also show that the new SLUB sheaf/barn caching layer invalidates existing exploitation assumptions and propose three sheaf-based primitives that bypass traditional SLUB mitigations.

What they found 1

  1. Vulnerability 1 is a race condition that can cause a null pointer dereference.

    “The first vulnerability lies between the CQ/SQ ring resize feature and the deferred task work mechanism. During ring resize, the update to ctx->rings and the task work operation that modifies the ring flag do not hold the proper lock and therefore lack adequate synchronization, which creates a race condition that an attacker can exploit to cause a null pointer dereference.”

What’s new here 4

  • Identifies the sheaf/barn caching layer as a new kernel attack surface.
  • Demonstrates that SLUB FREELIST_HARDENED mitigations are ineffective with sheaf.
  • Introduces three sheaf-based exploitation primitives (object array hijack, OOB write, RCU sheaf cross-cache).
  • Builds a full local privilege escalation exploit under a hardened kernel configuration.