CVE-2023-53566
netfilter: nft_set_rbtree: fix null deref on element insertion
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: fix null deref on element insertion There is no guarantee that rb_prev() will not return NULL in nft_rbtree_gc_elem(): general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] nft_add_set_elem+0x14b0/0x2990 nf_tables_newsetelem+0x528/0xb30 Furthermore, there is a possible use-after-free while iterating, 'node' can be free'd so we need to cache the next value to use.
INFO
Published Date :
Oct. 4, 2025, 4:15 p.m.
Last Modified :
Feb. 6, 2026, 2:32 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply security patches for the netfilter module.
- Reboot the system after applying updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53566.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53566 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53566
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53566 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53566 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 06, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.2:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc8:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.166 up to (excluding) 5.10.181 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.91 up to (excluding) 5.15.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.9 up to (excluding) 6.1.30 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2.1 up to (excluding) 6.3.4 Added Reference Type kernel.org: https://git.kernel.org/stable/c/3fa13203b6d90cc3a33af47b058739f92ab82eef Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/61ae320a29b0540c16931816299eb86bf2b66c08 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/899aa5638568abf5d69de7a7bb95e4615157375b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a337706c1fb35aac3f26b48aca80421bdbe1d33a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a836be60a3aabcedcd9c79f545d409ace1f20ba6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ec5caa765f7f6960011c919c9aeb1467940421f6 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 04, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: fix null deref on element insertion There is no guarantee that rb_prev() will not return NULL in nft_rbtree_gc_elem(): general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] nft_add_set_elem+0x14b0/0x2990 nf_tables_newsetelem+0x528/0xb30 Furthermore, there is a possible use-after-free while iterating, 'node' can be free'd so we need to cache the next value to use. Added Reference https://git.kernel.org/stable/c/3fa13203b6d90cc3a33af47b058739f92ab82eef Added Reference https://git.kernel.org/stable/c/61ae320a29b0540c16931816299eb86bf2b66c08 Added Reference https://git.kernel.org/stable/c/899aa5638568abf5d69de7a7bb95e4615157375b Added Reference https://git.kernel.org/stable/c/a337706c1fb35aac3f26b48aca80421bdbe1d33a Added Reference https://git.kernel.org/stable/c/a836be60a3aabcedcd9c79f545d409ace1f20ba6 Added Reference https://git.kernel.org/stable/c/b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56 Added Reference https://git.kernel.org/stable/c/ec5caa765f7f6960011c919c9aeb1467940421f6