Files
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.3 KiB

NOTICE — af_unix_gc (CVE-2023-4622)

Vulnerability

CVE-2023-4622 — AF_UNIX garbage-collector race against SCM_RIGHTS fd-passing → struct unix_sock freed while still reachable → slab UAF in SLAB_TYPESAFE_BY_RCU kmalloc-512 bucket.

Research credit

Discovered and disclosed by Lin Ma (Zhejiang University), August 2023.

Writeup: https://github.com/google/security-research/security/advisories/GHSA-7p7m-3xv8-2pq2 (disclosure record), plus Lin Ma's public PoC repo.

Upstream fix: mainline 6.6-rc1 (commit 0cabe18a8b80c, Aug 2023). Branch backports: 4.14.326 / 4.19.295 / 5.4.257 / 5.10.197 / 5.15.130 / 6.1.51 / 6.5.0.

SKELETONKEY role

Widest deployment of any module in the corpus — bug present in every Linux kernel below the fix (back to ~2.0 era).

Two-thread race driver: Thread A cycles SCM_RIGHTS fd-passing through a socketpair; Thread B triggers unix_gc by closing a socket in a reference cycle. msg_msg spray refills the freed slot. CPU-pinned. Bounded budget: 5 s default, 30 s with --full-chain.

Bug is reachable as a plain unprivileged user — no userns required, no CAP_* needed. Race-win rate per run is iteration- dependent; Lin Ma's PoC reports thousands of iterations to first reclaim. The shared finisher's sentinel timeout handles no-land outcomes gracefully.