CVE-2021-46283

Related Vulnerabilities: CVE-2021-46283  

nf_tables_newset in net/netfilter/nf_tables_api.c in the Linux kernel before 5.12.13 allows local users to cause a denial of service (NULL pointer dereference and general protection fault) because of the missing initialization for nft_set_elem_expr_alloc. A local user can set a netfilter table expression in their own namespace.

Description

The MITRE CVE dictionary describes this issue as:

nf_tables_newset in net/netfilter/nf_tables_api.c in the Linux kernel before 5.12.13 allows local users to cause a denial of service (NULL pointer dereference and general protection fault) because of the missing initialization for nft_set_elem_expr_alloc. A local user can set a netfilter table expression in their own namespace.

Additional Information

  • Bugzilla 2039811: CVE-2021-46283 kernel: DoS in nf_tables_newset in net/netfilter/nf_tables_api.c
  • CWE-476: NULL Pointer Dereference
  • FAQ: Frequently asked questions about CVE-2021-46283