CVE-2022-32250 Use after free in n/a
A local user can escalate privileges to root via a use-after-free in the Linux kernel netfilter API.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-32250?
CVE-2022-32250 is a high-severity use after free vulnerability in Debian Debian Linux, published on 2 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-416
Which versions are affected by CVE-2022-32250?
It affects 8 products.
Linux distribution packages (40)
kpatch-patch-4_18_0-372_13_1 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_6 |
kpatch-patch-4_18_0-372_13_1-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_6 |
kpatch-patch-4_18_0-372_13_1-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_6 |
kpatch-patch-4_18_0-372_16_1 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_6 |
kpatch-patch-4_18_0-372_16_1-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_6 |
kpatch-patch-4_18_0-372_16_1-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_6 |
kpatch-patch-4_18_0-372_9_1 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-2.el8 |
kpatch-patch-4_18_0-372_9_1-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-2.el8 |
kpatch-patch-4_18_0-372_9_1-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-2.el8 |
kernel Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-abi-whitelists Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-debug Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-debug-debuginfo Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-debug-devel Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-debuginfo Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-devel Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-doc Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-tools Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-tools-debuginfo Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-tools-libs Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
kernel-tools-libs-devel Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
perf Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
perf-debuginfo Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
python-perf Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
python-perf-debuginfo Red Hat:rhel_aus:7.4::server | All versions | 0:3.10.0-693.104.1.el7 |
bpftool Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-abi-whitelists Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-debug Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-debug-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-debug-devel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-devel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-doc Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-tools Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-tools-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-tools-libs Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
kernel-tools-libs-devel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.95.1.el7 |
Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware and 2 more.
How do I fix CVE-2022-32250?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-32250 being exploited?
There is no known exploitation of CVE-2022-32250 in the wild and no public exploit code.
Public exploit code: 8 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-9879, CVE-2022-1966, DEBIAN-CVE-2022-32250, GHSA-rv6g-4442-j26r, RHSA-2022:5641, RHSA-2022:5648 and 7 more.