Read the docs
TI-2022-25699 Aliases CVE-2022-50213GHSA-j95h-gr5v-mg6j

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

Priority LOW 34CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 11 fixed, 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow SET_ID to refer to another table When doing lookups for sets on the same batch by using its ID, a set from a different table can be used. Then, when the table is removed, a reference to the set may be kept after the set is freed, leading to a potential use-after-free. When looking for sets by ID, use the table that was used for the lookup by name, and only return sets belonging to that same table. This fixes CVE-2022-2586, also reported as ZDI-CAN-17470.

Why it matters now

EPSS 0.00242 15th percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.19.256, 5.4.211, 5.10.137 +4Red Hat: 4 advisoriesRed Hat: 11 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux3.16 and later4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0Patch availableCNA
  • Linux VendorLinux Affected 3.16 and later Fixed in 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*3.16 to before 4.19.256; 4.20 to before 5.4.211; 5.5 to before 5.10.137; 5.11 to before 5.15.61; 5.16 to before 5.18.18; 5.19 to before 5.19.2VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.16 to before 4.19.256; 4.20 to before 5.4.211; 5.5 to before 5.10.137; 5.11 to before 5.15.61; 5.16 to before 5.18.18; 5.19 to before 5.19.2 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0

Red Hat 4 advisories

  • RHSA-2024:3421 Released 2024-05-28 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-tools-libs-devel-5.14.0-70.101.1.el9_0
    • Red Hat Enterprise Linux AppStream EUS (v.9.0) kernel-debug-devel-5.14.0-70.101.1.el9_0, kernel-debug-devel-matched-5.14.0-70.101.1.el9_0, kernel-devel-5.14.0-70.101.1.el9_0 +5
    • Red Hat Enterprise Linux BaseOS EUS (v.9.0) bpftool-5.14.0-70.101.1.el9_0, kernel-5.14.0-70.101.1.el9_0, kernel-abi-stablelists-5.14.0-70.101.1.el9_0 +14
  • RHSA-2024:0724 Released 2024-02-07 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-tools-libs-devel-4.18.0-372.91.1.el8_6
    • Red Hat Enterprise Linux BaseOS EUS (v.8.6) bpftool-4.18.0-372.91.1.el8_6, kernel-4.18.0-372.91.1.el8_6, kernel-abi-stablelists-4.18.0-372.91.1.el8_6 +19
    • Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.91.1.el8_6, perf-4.18.0-372.91.1.el8_6
  • RHSA-2022:8267 Released 2022-11-15 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-162.6.1.el9_1
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-debug-devel-5.14.0-162.6.1.el9_1, kernel-debug-devel-matched-5.14.0-162.6.1.el9_1, kernel-devel-5.14.0-162.6.1.el9_1 +5
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-5.14.0-162.6.1.el9_1, kernel-5.14.0-162.6.1.el9_1, kernel-abi-stablelists-5.14.0-162.6.1.el9_1 +14
Show 1 more Red Hat advisories
  • RHSA-2022:7683 Released 2022-11-08 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-425.3.1.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-425.3.1.el8, kernel-4.18.0-425.3.1.el8, kernel-abi-stablelists-4.18.0-425.3.1.el8 +19

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2022:7683
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2022:8267
Red Hat CodeReady Linux Builder EUS (v.8.6)Fixed RHSA-2024:0724
Red Hat CodeReady Linux Builder EUS (v.9.0)Fixed RHSA-2024:3421
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:8267
Red Hat Enterprise Linux AppStream EUS (v.9.0)Fixed RHSA-2024:3421
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:7683
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2022:8267
Red Hat Enterprise Linux BaseOS EUS (v.8.6)Fixed RHSA-2024:0724
Red Hat Enterprise Linux BaseOS EUS (v.9.0)Fixed RHSA-2024:3421
Red Hat Virtualization 4 Hypervisor for RHEL 8Fixed RHSA-2024:0724
Not affected: 2 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-50213
  2. 2026-10-03 Alias added: GHSA-j95h-gr5v-mg6j

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources