Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50212

published high CVSS 3.1 · 7.8

netfilter: nf_tables: do not allow CHAIN_ID to refer to another table

Published
18 Jun 2025, 11:03:50 UTC
Updated
05 Aug 2026, 08:57:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux837830a4b439bfeb86c70b0115c280377c84714b to < 9e7dcb88ec8e85e4a8ad0ea494ea2f90f32d2583 · 837830a4b439bfeb86c70b0115c280377c84714b to < 91501513016903077f91033fa5d2aa26cac399b2 · 837830a4b439bfeb86c70b0115c280377c84714b to < 0f49613a213d918af790c1276f79da741968de11 · 837830a4b439bfeb86c70b0115c280377c84714b to < 58e863f64ee3d0879297e5e53b646e4b91e59620 · 837830a4b439bfeb86c70b0115c280377c84714b to < 95f466d22364a33d183509629d0879885b4f547e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.10.137 through 5.10.* (unaffected · semver) · 5.15.61 through 5.15.* (unaffected · semver) · 5.18.18 through 5.18.* (unaffected · semver) · 5.19.2 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-020 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2022-008 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-toolsaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-toolsppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-toolss390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-toolsx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-debuginfoaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-debuginfoppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-debuginfos390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-debuginfox86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-libsaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-libsppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-tools-libsx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdumps390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdump-cores390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdump-debuginfos390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdump-devels390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdump-devel-matcheds390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdump-moduless390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 kernel-zfcpdump-modules-extras390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perfaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perfppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perfs390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perfx86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perf-debuginfoaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perf-debuginfoppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perf-debuginfos390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 perf-debuginfox86_64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 python3-perfaarch64 Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 python3-perfppc64le Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267
Red Hat Enterprise Linux RHEL-9 python3-perfs390x Advisory build 5.14.0-162.6.1.el9_1 RHSA-2022:8267

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow CHAIN_ID to refer to another table When doing lookups for chains on the same batch by using its ID, a chain from a different table can be used. If a rule is added to a table but refers to a chain in a different table, it will be linked to the chain in table2, but would have expressions referring to objects in table1. Then, when table1 is removed, the rule will not be removed as its linked to a chain in table2. When expressions in the rule are processed or removed, that will lead to a use-after-free. When looking for chains by ID, use the table that was used for the lookup by name, and only return chains belonging to that same table.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached via NETLINK_NETFILTER netlink messages (nf_tables NEWRULE / verdict CHAIN_ID) from userspace, which requires local process access rather than remote packet delivery. AC:L - The attacker fully controls the nftables batch that creates two tables, a chain ID in one table, and a rule that cross-references it, then deletes the other table; no race or external condition is required beyond attacker-controlled netlink operations. PR:L - nfnetlink requires CAP_NET_ADMIN checked via netlink_net_capable against the socket network namespace's user_ns, which an unprivileged user obtains with user+net namespaces (unshare -Urn), matching established nftables LPE prerequisites. UI:N - Exploitation requires only attacker-sent netlink batches; no victim action such as mounting a filesystem or opening a crafted file is needed. S:U - Successful exploitation yields privilege escalation within the same kernel/host security authority; this is not a VM escape, IOMMU bypass, or cross-boundary sandbox escape. C:H - The bug is a confirmed use-after-free on nftables objects/expressions after cross-table CHAIN_ID linking, and UAF reclaim gives the attacker control of freed object contents enabling arbitrary kernel memory disclosure. I:H - The same UAF is the same class as CVE-2022-2586 (SET_ID cross-table UAF), which was exploited for local privilege escalation via object ops hijacking, so integrity impact includes arbitrary write and code execution. A:H - Use-after-free of nftables rule expressions/objects can trigger kernel oops/panic when dangling pointers are processed or freed, producing a full availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 837830a4b439bfeb86c70b0115c280377c84714b to < 9e7dcb88ec8e85e4a8ad0ea494ea2f90f32d2583 (affected · git)837830a4b439bfeb86c70b0115c280377c84714b to < 91501513016903077f91033fa5d2aa26cac399b2 (affected · git)837830a4b439bfeb86c70b0115c280377c84714b to < 0f49613a213d918af790c1276f79da741968de11 (affected · git)837830a4b439bfeb86c70b0115c280377c84714b to < 58e863f64ee3d0879297e5e53b646e4b91e59620 (affected · git)837830a4b439bfeb86c70b0115c280377c84714b to < 95f466d22364a33d183509629d0879885b4f547e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.9 (affected)0 to < 5.9 (unaffected · semver)5.10.137 through 5.10.* (unaffected · semver)5.15.61 through 5.15.* (unaffected · semver)5.18.18 through 5.18.* (unaffected · semver)5.19.2 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

netfilter: nf_tables: do not allow CHAIN_ID to refer to another table

Provenance

Schema
5.2
Searchable
yes
Content hash
61ccbcfc566534f50820a5ba4173d6b45fa10655681541ffa62cc19ad262d0ab
Ingested
23 Sep 2026, 08:04:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected