Files
SKELETONKEY/modules/stackrot_cve_2023_3269/NOTICE.md
T
leviathan 9593d90385
release / build (arm64) (push) Waiting to run
release / build (x86_64) (push) Waiting to run
release / release (push) Blocked by required conditions
rename: IAMROOT → SKELETONKEY across the entire project
Breaking change. Tool name, binary name, function/type names,
constant names, env vars, header guards, file paths, and GitHub
repo URL all rebrand IAMROOT → SKELETONKEY.

Changes:
  - All "IAMROOT" → "SKELETONKEY" (constants, env vars, enum
    values, docs, comments)
  - All "iamroot" → "skeletonkey" (functions, types, paths, CLI)
  - iamroot.c → skeletonkey.c
  - modules/*/iamroot_modules.{c,h} → modules/*/skeletonkey_modules.{c,h}
  - tools/iamroot-fleet-scan.sh → tools/skeletonkey-fleet-scan.sh
  - Binary "iamroot" → "skeletonkey"
  - GitHub URL KaraZajac/IAMROOT → KaraZajac/SKELETONKEY
  - .gitignore now expects build output named "skeletonkey"
  - /tmp/iamroot-* tmpfiles → /tmp/skeletonkey-*
  - Env vars IAMROOT_MODPROBE_PATH etc. → SKELETONKEY_*

New ASCII skeleton-key banner (horizontal key icon + ANSI Shadow
SKELETONKEY block letters) replaces the IAMROOT banner in
skeletonkey.c and README.md.

VERSION: 0.3.1 → 0.4.0 (breaking).

Build clean on Debian 6.12.86. `skeletonkey --version` → 0.4.0.
All 24 modules still register; no functional code changes — pure
rename + banner refresh.
2026-05-16 22:43:49 -04:00

1.1 KiB

NOTICE — stackrot (CVE-2023-3269)

Vulnerability

CVE-2023-3269 — Maple-tree VMA-split UAF (race between mremap and fork+fault) → kernel R/W via stale anon_vma_chain reference.

Research credit

Discovered and disclosed by Ruihan Li (Peking University), July 2023.

Original advisory: https://github.com/lrh2000/StackRot Writeup: https://lkmidas.github.io/posts/20230724-stackrot/

Upstream fix: mainline 6.5-rc1 (commit 0503ea8f5ba73, July 2023). Branch backports: 6.4.4 / 6.3.13 / 6.1.37.

SKELETONKEY role

Two-thread race driver (Thread A: mremap rotation on MAP_GROWSDOWN anchored VMA; Thread B: fork+fault) with cpu pinning. kmalloc-192 spray for anon_vma_chain reclaim. Bounded budget: 3 s default, 30 s with --full-chain.

Honest reliability assessment: ~<1% race-win per run on a vulnerable kernel. Ruihan Li's public PoC averages minutes-to-hours and needs a much wider VMA-staging matrix to be reliable. The shared finisher's 3 s sentinel timeout handles the overwhelmingly common no-land outcome gracefully — module returns EXPLOIT_FAIL honestly rather than claim root on a race that didn't win.