v0.3.1: --dump-offsets tool + NOTICE.md per module
The README has been claiming "each module credits the original CVE
reporter and PoC author in its NOTICE.md" since v0.1.0, but only
copy_fail_family actually shipped one. Fixed.
modules/<name>/NOTICE.md (×19 new + 1 existing): per-module
research credit covering CVE ID, discoverer, original advisory
URL where public, upstream fix commit, IAMROOT's role.
iamroot.c: new --dump-offsets subcommand. Resolves kernel offsets
via the existing core/offsets.c four-source chain (env →
/proc/kallsyms → /boot/System.map → embedded table), then emits
a ready-to-paste C struct entry for kernel_table[]. Run once
as root on a target kernel build; upstream via PR. Eliminates
fabricating offsets — every shipped entry traces back to a
`iamroot --dump-offsets` invocation on a real kernel.
docs/OFFSETS.md: documents the --dump-offsets workflow.
CVES.md: notes the NOTICE.md convention + offset dump tool.
iamroot.c: bump IAMROOT_VERSION 0.3.0 → 0.3.1.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# 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.
|
||||
|
||||
## IAMROOT 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 `IAMROOT_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.
|
||||
Reference in New Issue
Block a user