net/netfilter/nf_tables_api.c in the Linux kernel through 5.18.1 allows a local user (able to create user/net namespaces) to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free.
The MITRE CVE dictionary describes this issue as:
net/netfilter/nf_tables_api.c in the Linux kernel through 5.18.1 allows a local user (able to create user/net namespaces) to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free.
This flaw was found to be a duplicate of CVE-2022-1966. Please see https://access.redhat.com/security/cve/CVE-2022-1966 for information about affected products and security errata.