cve.bz

CVE-2023-53566 linux linux kernel: NULL Pointer Dereference

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-53566 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-53566?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-53566?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-53566 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.10.166 before 5.10.181
Linuxfrom 5.15.91 before 5.15.113
Linuxfrom 6.1.9 before 6.1.30
Linux6.2 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.181
Linux5.155.15.113
Linux6.16.1.30
Linux6.36.3.4
Linuxlater releases6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.37-1DEBIAN-CVE-2023-53566
Debian13, 14linux6.3.7-1DEBIAN-CVE-2023-53566
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-53566
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1044.49~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1046.53~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1041.49~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-83.92~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1037.40~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1040.46~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1017.17~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1042.48~20.04.1UBUNTU-CVE-2023-53566
Ubuntu20.04:LTSlinux-riscv-5.155.15.0-1040.44~20.04.3UBUNTU-CVE-2023-53566
20 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatrhel_eus:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.101.1.el9_0RHSA-2024:3421
Red Hatrhel_eus:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.101.1.el9_0RHSA-2024:3421
Red Hatrhel_eus:9.0::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-70.101.1.el9_0RHSA-2024:3421
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-source, kernel-default and 2 more5.3.18-150300.59.226.2SUSE-SU-2025:4188-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 morekernel-default-base5.3.18-150300.59.226.2.150300.18.134.2SUSE-SU-2025:4188-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morekernel-docs5.3.18-150300.59.226.3SUSE-SU-2025:4188-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morekernel-syms5.3.18-150300.59.226.1SUSE-SU-2025:4188-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.2kernel-default5.3.18-150300.59.226.2SUSE-SU-2025:4188-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.184.1SUSE-SU-2025:4111-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.184.1SUSE-SU-2025:4111-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.184.1.150400.24.94.2SUSE-SU-2025:4111-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.127.1SUSE-SU-2025:4320-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.127.1.150500.6.61.1SUSE-SU-2025:4320-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_631-150300.7.5.2SUSE-SU-2025:4188-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_461-150400.9.5.1SUSE-SU-2025:4111-1
14 more for SUSE in the JSON and on SUSE's page.
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-53566

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The Netfilter subsystem as shipped in Red Hat Enterprise Linux 6, 7, 8 and 10 is not affected by this vulnerability because the vulnerable code is not present or is already fixed.

This issue has been fixed in Red Hat Enterprise Linux 9.0 and 9.3 via RHSA-2024:3421 [1] and RHSA-2023:6583 [2], respectively.

[1]. https://access.redhat.com/errata/RHSA-2024:3421

[2]. https://access.redhat.com/errata/RHSA-2023:6583

Red Hat's mitigation

1. This flaw can be mitigated by preventing the affected netfilter (nf_tables) kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278.

2. If the module cannot be disabled, on non-containerized deployments of Red Hat Enterprise Linux, the mitigation is to disable user namespaces:

```

# echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf

# sysctl -p /etc/sysctl.d/userns.conf

```

On containerized deployments, such as Red Hat OpenShift Container Platform, do not use the second mitigation (disabling user namespaces) as the functionality is needed to be enabled. The first mitigation (blacklisting nf_tables) is still viable for containerized deployments, providing the environment is not using netfilter.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.101.1.el9_0Fixed 2024-05-28RHSA-2024:3421
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-53566.

References

Check your stackJSON