CVE-2023-53566: netfilter: nft_set_rbtree: fix null deref on element insertion

Published Oct 4, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftsetrbtree: fix null deref on element insertion

There is no guarantee that rbprev() will not return NULL in nftrbtreegcelem():

general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] nftaddsetelem+0x14b0/0x2990 nftablesnewsetelem+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.

Affected Software

11 affected components
The Linux Foundation Linux Kernel
Linux Linux kernel>=5.10.166<5.10.181
Linux Linux kernel>=5.15.91<5.15.113
Linux Linux kernel>=6.1.9<6.1.30
Linux Linux kernel>=6.2.1<6.3.4
Linux Linux kernel=6.2
Linux Linux kernel=6.2-rc6
Linux Linux kernel=6.2-rc7
Linux Linux kernel=6.2-rc8
Linux Linux kernel=6.4-rc1
Linux Linux kernel=6.4-rc2

Event History

Oct 4, 2025
CVE Published
via MITRE·03:17 PM
Data Sourced
via MITRE·03:17 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53566?

CVE-2023-53566 has been classified as a general protection fault vulnerability within the Linux kernel.

2

How do I fix CVE-2023-53566?

To fix CVE-2023-53566, update the Linux kernel to the latest version that contains the security patch addressing this vulnerability.

3

What systems are affected by CVE-2023-53566?

CVE-2023-53566 affects systems running vulnerable versions of the Linux kernel that utilize netfilter.

4

What are the potential impacts of CVE-2023-53566?

Exploitation of CVE-2023-53566 may lead to a system crash or unexpected behavior due to a null dereference.

5

Is CVE-2023-53566 actively being exploited?

As of now, there is no public information indicating that CVE-2023-53566 is actively being exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203