CVE-2022-50212
HIGHLinux Kernel 5.9-5.10.137 5.11-5.15.61 5.16-5.18.18 5.19-5.19.2 - Use-After-Free in nf_tables Chain Lookup
Title source: llmDescription
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.
References (5)
Core 5
Core References
Scores
CVSS v3
7.8
EPSS
0.0019
EPSS Percentile
8.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (17)
linux/Kernel
5.11.0 - 5.15.61linux
linux/Kernel
5.16.0 - 5.18.18linux
linux/Kernel
5.19.0 - 5.19.2linux
linux/Kernel
5.9.0 - 5.10.137linux
Linux/Linux
< 5.9
Linux/Linux
5.10.137 - 5.10.*
Linux/Linux
5.15.61 - 5.15.*
Linux/Linux
5.18.18 - 5.18.*
Linux/Linux
5.19.2 - 5.19.*
Linux/Linux
5.9
... and 7 more
Published
Jun 18, 2025
Tracked Since
Feb 18, 2026