NULL pointer dereference and general protection fault in nf_tables_newset

NULL pointer dereference and general protection fault in nf_tables_newset

CVE-2021-46283 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.