CVE-2022-50213CWE-416

CVE-2022-50213

High · published June 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
14.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00242 · 14.5th percentile
Weakness
CWE-416 · Use After Free
Published
2025-06-18T15:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 3.16, < 4.19.2564.19.256
linux/linux_kernel≥ 4.20, < 5.4.2115.4.211
linux/linux_kernel≥ 5.5, < 5.10.1375.10.137
linux/linux_kernel≥ 5.11, < 5.15.615.15.61
linux/linux_kernel≥ 5.16, < 5.18.185.18.18
linux/linux_kernel≥ 5.19, < 5.19.25.19.2
References (7)
EPSS history
Timeline
  • 18 JUN 11:03Z
    netfilter: nf_tables: do not allow SET_ID to refer to another table
    cvelistv5