Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53566

published high CVSS 3.1 · 7.8

netfilter: nft_set_rbtree: fix null deref on element insertion

Published
04 Oct 2025, 15:17:08 UTC
Updated
15 Oct 2026, 21:41:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux7ab87a326f20c52ff4d9972052d085be951c704b to < b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56 · 181859bdfb9734aca449512fccaee4cacce64aed to < 899aa5638568abf5d69de7a7bb95e4615157375b · 4aacf3d78424293e318c616016865380b37b9cc5 to < 3fa13203b6d90cc3a33af47b058739f92ab82eef · 2bf1435fa19d2c58054391b3bba40d5510a5758c to < ec5caa765f7f6960011c919c9aeb1467940421f6 · 318cb24a4c3fce8140afaf84e4d45fcb76fb280b to < a836be60a3aabcedcd9c79f545d409ace1f20ba6 · c9e6978e2725a7d4b6cd23b2facd3f11422c0643 to < a337706c1fb35aac3f26b48aca80421bdbe1d33a · c9e6978e2725a7d4b6cd23b2facd3f11422c0643 to < 61ae320a29b0540c16931816299eb86bf2b66c08 · 5.10.166 to < 5.10.181 · 5.15.91 to < 5.15.113 · 6.1.9 to < 6.1.30 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 5.10.181 through 5.10.* (unaffected · semver) · 5.15.113 through 5.15.* (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-034 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-021 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2023-228 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-70.101.1.el9_0 RHSA-2024:3421

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only through the nfnetlink/nftables netlink socket (NFT_MSG_NEWSETELEM), which requires local system access; there is no packet-processing path into nft_rbtree_gc_elem(). AC:L - The attacker fully controls set contents, element timeouts, and insertion order, so making an expired element the leftmost rbtree node (rb_prev() == NULL) during the overlap walk is deterministic and needs no race or unpredictable memory layout. PR:L - Only CAP_NET_ADMIN in the network namespace is required, enforced via namespace-relative netlink_net_capable(), which any unprivileged user obtains with "unshare -Urn"; nftables and the rbtree set backend are fully netns-aware and autoloaded. UI:N - The attacker triggers the bug entirely from their own process by issuing netlink set-element operations; no victim action is involved. S:U - The corruption and crash occur within the kernel of the same host and security authority as the attacking task, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - The fix addresses a use-after-free during the tree walk (an rb_erase()'d, RCU-freed element is re-entered via rb_next()), and a UAF/double-free of nft_rbtree_elem objects gives the attacker control over reclaimed slab contents and thus a kernel memory read primitive. I:H - Beyond the crash, rb_erase() is invoked on an unvalidated rbe_prev (NULL or a wrong still-active element) and on already-erased nodes, producing attacker-influenced rbtree pointer writes and double nft_set_elem_destroy() — a classic heap-corruption primitive usable for control-flow hijack. A:H - The documented and readily reproducible outcome is a general protection fault / null-ptr-deref oops inside nft_add_set_elem() while holding the rbtree write lock and nftables commit mutex, panicking the kernel or wedging the netfilter subsystem.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 7ab87a326f20c52ff4d9972052d085be951c704b to < b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56 (affected · git)181859bdfb9734aca449512fccaee4cacce64aed to < 899aa5638568abf5d69de7a7bb95e4615157375b (affected · git)4aacf3d78424293e318c616016865380b37b9cc5 to < 3fa13203b6d90cc3a33af47b058739f92ab82eef (affected · git)2bf1435fa19d2c58054391b3bba40d5510a5758c to < ec5caa765f7f6960011c919c9aeb1467940421f6 (affected · git)318cb24a4c3fce8140afaf84e4d45fcb76fb280b to < a836be60a3aabcedcd9c79f545d409ace1f20ba6 (affected · git)c9e6978e2725a7d4b6cd23b2facd3f11422c0643 to < a337706c1fb35aac3f26b48aca80421bdbe1d33a (affected · git)c9e6978e2725a7d4b6cd23b2facd3f11422c0643 to < 61ae320a29b0540c16931816299eb86bf2b66c08 (affected · git)5.10.166 to < 5.10.181 (affected · semver)5.15.91 to < 5.15.113 (affected · semver)6.1.9 to < 6.1.30 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)5.10.181 through 5.10.* (unaffected · semver)5.15.113 through 5.15.* (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

2

Linux · cna

netfilter: nft_set_rbtree: fix null deref on element insertion

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
aea160cad8bcd91e41f8d86217f8ccac4b88b2aba20233c284a7769463c768c1
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected