CVE-2022-50212CWE-416

CVE-2022-50212

High · published June 18, 2025

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

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.

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.00234 · 13.5th percentile
Weakness
CWE-416 · Use After Free
Published
2025-06-18T15:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9, < 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 (5)
EPSS history
Timeline
  • 18 JUN 11:03Z
    netfilter: nf_tables: do not allow CHAIN_ID to refer to another table
    cvelistv5