9593d90385
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.
26 lines
926 B
Markdown
26 lines
926 B
Markdown
# NOTICE — cls_route4 (CVE-2022-2588)
|
|
|
|
## Vulnerability
|
|
|
|
**CVE-2022-2588** — `net/sched` cls_route4 handle-zero dangling-filter
|
|
UAF → kernel R/W via msg_msg cross-cache refill.
|
|
|
|
## Research credit
|
|
|
|
Discovered and disclosed by **kylebot** / **xkernel**, August 2022.
|
|
|
|
Public PoC + writeup: <https://www.willsroot.io/2022/08/lpe-on-mountpoint.html>
|
|
(William Liu's analysis built on kylebot's trigger).
|
|
|
|
Upstream fix: mainline 5.20 / stable 5.19.7 (Aug 2022).
|
|
Branch backports: 5.4.213 / 5.10.143 / 5.15.69 / 5.18.18 / 5.19.7.
|
|
|
|
## SKELETONKEY role
|
|
|
|
The module uses `unshare(USER|NET)`, brings up a dummy interface,
|
|
creates an htb qdisc + class, adds a `route4` filter, then deletes
|
|
it to leave the dangling pointer. msg_msg sprays kmalloc-1k while
|
|
a UDP `classify()` walk follows the dangling pointer. `--full-chain`
|
|
re-fires with a faked tcf_proto.ops pointer aimed at the
|
|
modprobe_path overwrite via the shared finisher.
|