Files
SKELETONKEY/modules/nft_set_uaf_cve_2023_32233/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 — nft_set_uaf (CVE-2023-32233)

Vulnerability

CVE-2023-32233 — nf_tables anonymous-set deactivation skip → slab UAF on the freed nft_set object exploitable via msg_msg cross-cache groom in kmalloc-cg-512.

Research credit

Discovered and disclosed by Patryk Sondej and Piotr Krysiuk, May 2023.

Original advisory + writeup distributed via the OSS-Security list and an accompanying Google Drive PoC. Follow-up exploit and Crusaders-of-Rust analysis built on the public trigger.

Upstream fix: mainline 6.4-rc4 (commit c1592a89942e9, May 2023). Branch backports: 6.3.2 / 6.2.15 / 6.1.28 / 5.15.111 / 5.10.180 / 5.4.243 / 4.19.283.

SKELETONKEY role

Hand-rolled nfnetlink batch: NEWTABLE → NEWCHAIN (base, LOCAL_OUT hook) → NEWSET (ANON|EVAL|CONSTANT) → NEWRULE (nft_lookup referencing the set by NFTA_LOOKUP_SET_ID) → DELSET → DELRULE in the same transaction. msg_msg cg-512 spray with SKELETONKEY_SET tags.

--full-chain forges a freed-set with set->data = kaddr at the Sondej/Krysiuk reference offset (0x30) and drives a NEWSETELEM with the modprobe_path payload bytes via the shared finisher.