Bug 2039811 (CVE-2021-46283) - CVE-2021-46283 kernel: DoS in nf_tables_newset in net/netfilter/nf_tables_api.c
Summary: CVE-2021-46283 kernel: DoS in nf_tables_newset in net/netfilter/nf_tables_api.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-46283
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2039812
TreeView+ depends on / blocked
 
Reported: 2022-01-12 13:49 UTC by Marian Rehak
Modified: 2022-01-30 04:46 UTC (History)
46 users (show)

Fixed In Version: Linux kernel 5.13-rc7
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference flaw in the Linux kernel's netfilter subsystem was found in the way user set a netfilter table expression. A local user could use this flaw to crash the system.
Clone Of:
Environment:
Last Closed: 2022-01-27 12:05:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-01-12 13:49:55 UTC
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.

Reference:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad9f151e560b016b6ad3280b48e42fa11e1a5440
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.12.13

Comment 3 juneau 2022-01-27 15:43:44 UTC
Services notaffected per kernel analysis.


Note You need to log in before you can comment on or make changes to this bug.