CVE-2022-50213

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50213
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50213.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50213
Downstream
Related
Published
2025-06-18T11:15:52Z
Modified
2025-08-09T20:01:28Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftables: do not allow SETID 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.

References

Affected packages