{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50213","id":"CVE-2022-50213","title":"netfilter: nf_tables: do not allow SET_ID to refer to another table","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: do not allow SET_ID to refer to another table\n\nWhen doing lookups for sets on the same batch by using its ID, a set from a\ndifferent table can be used.\n\nThen, when the table is removed, a reference to the set may be kept after\nthe set is freed, leading to a potential use-after-free.\n\nWhen looking for sets by","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: do not allow SET_ID to refer to another table\n\nWhen doing lookups for sets on the same batch by using its ID, a set from a\ndifferent table can be used.\n\nThen, when the table is removed, a reference to the set may be kept after\nthe set is freed, leading to a potential use-after-free.\n\nWhen looking for sets by ID, use the table that was used for the lookup by\nname, and only return sets belonging to that same table.\n\nThis fixes CVE-2022-2586, also reported as ZDI-CAN-17470.","published":"2025-06-18T11:03:50.958Z","updated":"2026-10-28T02:30:49.068917868Z","reserved":"2025-06-18T10:57:27.429Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"77d3b5038b7462318f5183e2ad704b01d57215a2","status":"affected","versionType":"git"},{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"fab2f61cc3b0e441b1749f017cfee75f9bbaded7","status":"affected","versionType":"git"},{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"1a4b18b1ff11ba26f9a852019d674fde9d1d1cff","status":"affected","versionType":"git"},{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"faafd9286f1355c76fe9ac3021c280297213330e","status":"affected","versionType":"git"},{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"f4fa03410f7c5f5bd8f90e9c11e9a8c4b526ff6f","status":"affected","versionType":"git"},{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"0d07039397527361850c554c192e749cfc879ea9","status":"affected","versionType":"git"},{"version":"958bee14d0718ca7a5002c0f48a099d1d345812a","lessThan":"470ee20e069a6d05ae549f7d0ef2bdbcee6a81b2","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","lessThan":"3.16","status":"unaffected","versionType":"semver"},{"version":"4.19.256","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.211","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.137","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.61","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.18","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19.2","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/77d3b5038b7462318f5183e2ad704b01d57215a2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fab2f61cc3b0e441b1749f017cfee75f9bbaded7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1a4b18b1ff11ba26f9a852019d674fde9d1d1cff","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/faafd9286f1355c76fe9ac3021c280297213330e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f4fa03410f7c5f5bd8f90e9c11e9a8c4b526ff6f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d07039397527361850c554c192e749cfc879ea9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/470ee20e069a6d05ae549f7d0ef2bdbcee6a81b2","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50213.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50213","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00252,"epssPercentile":0.16911,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50213","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50213","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50213","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50213","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}