Use After Free in Linux Kernel
CVE-2022-32250
net/netfilter/nf_tables_api.c in the Linux kernel through 5.18.1 allows a local user (able to create user/net namespaces) to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.029, 87.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- NetApp H300s Firmware
- NetApp H410c Firmware
- NetApp H410s Firmware
- NetApp H500s Firmware
- NetApp H700s Firmware
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
Public exploits and proof-of-concept code
10 public repositories with exploit or proof-of-concept code for this CVE:
- theori-io/CVE-2022-32250-exploit (192 stars, last pushed 2023-06-18)
- ysanatomic/CVE-2022-32250-LPE (9 stars, last pushed 2023-02-04): LPE PoC of a user-after-free vulnerability in the Linux netfilter subsystem.
- seadragnol/CVE-2022-32250 (3 stars, last pushed 2024-12-07)
- Kristal-g/CVE-2022-32250 (2 stars, last pushed 2024-06-09): My exploit for CVE-2022-32250 for linux kernel 5.18
- Decstor5/2022-32250LPE (2 stars, last pushed 2023-11-09): CVE-2022-32250-LPE
- LSinus/CacheMeIfYouCan (1 star, last pushed 2026-06-21): SLUBStick exploitation of CVE-2022-32250. Converting a Netfilter UAF into a cross-cache arbitrary memory R/W primitive through PTE manipulation.
- Noidolosity/CVE-2022-32250 (last pushed 2026-03-25)
- rem0t3/CVE-2022-32250-Compiled (last pushed 2025-10-15)
- KuanKuanQAQ/cve-testing (last pushed 2025-07-07): Reproduce CVE-2022-32250 and CVE-2025-21756 by tampering with modprobe_path and hijacking control flow, respectively.
- g3un/cve-2022-32250
Also mentioned in 55 other repositories (0xor0ne/awesome-list, a-roshbaik/Linux-Privilege-Escalation-Exploits, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2022/05/31/1 (Exploit, Patch, Mailing List, Third Party Advisory)
- git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/net/netfilter (Patch, Mailing List, Vendor Advisory)
- [oss-security] 20220603 Re: Linux Kernel use-after-free write in netfilter (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- [oss-security] 20220604 Re: Linux Kernel use-after-free write in netfilter (mailing-list, Patch, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- www.debian.org/security/2022/dsa-5161 (Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- [oss-security] 20220620 Re: Linux Kernel use-after-free write in netfilter (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20220701 [SECURITY] [DLA 3065-1] linux security update (mailing-list, Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.