Files
SKELETONKEY/modules/fuse_legacy_cve_2022_0185/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 — fuse_legacy (CVE-2022-0185)

Vulnerability

CVE-2022-0185legacy_parse_param in fsconfig() doesn't validate PAGE_SIZE against the running fs_context's key/value length → 4 KB heap OOB write → cross-cache UAF → cred overwrite from a rootless container.

Research credit

Discovered and disclosed by William Liu + Jamie Hill-Daniel (Crusaders of Rust), January 2022.

Original writeup: https://www.willsroot.io/2022/01/cve-2022-0185.html Public PoC: https://github.com/Crusaders-of-Rust/CVE-2022-0185

Upstream fix: mainline 5.16.2 (Jan 2022). Branch backports: 5.16.2 / 5.15.14 / 5.10.91 / 5.4.171.

SKELETONKEY role

userns+mountns reach, fsopen("cgroup2") + double fsconfig(FSCONFIG_SET_STRING, "source", ...) fires the 4k OOB, msg_msg cross-cache groom in kmalloc-4k. MSG_COPY read-back detects whether the OOB landed in an adjacent neighbour — the sanity gate that prevents fake-success claims.

--full-chain extends with forged m_list/m_ts overflow toward modprobe_path via the shared finisher.

Container-escape angle — relevant to rootless docker/podman/snap.