netfilter: nft_set_rbtree: fix null deref on element insertion
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.166 to before 5.10.181; 5.15.91 to before 5.15.113; 6.1.9 to before 6.1.30 | 5.10.181, 5.15.113, 6.1.30 | Patch available | CNA |
| Linux | Linux | 6.2 and later | 5.10.181, 5.15.113, 6.1.30, 6.3.4, 6.4 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.166 to before 5.10.181; 5.15.91 to before 5.15.113; 6.1.9 to before 6.1.30 Fixed in 5.10.181, 5.15.113, 6.1.30 Patch available CNA
- Linux VendorLinux Affected 6.2 and later Fixed in 5.10.181, 5.15.113, 6.1.30, 6.3.4, 6.4 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.166 to before 5.10.181; 5.15.91 to before 5.15.113; 6.1.9 to before 6.1.30; 6.2.1 to before 6.3.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.2:-:*:*:*:*:*:* | 6.2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:* | 6.2 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:* | 6.2 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.2:rc8:*:*:*:*:*:* | 6.2 rc8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:* | 6.4 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:* | 6.4 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.10.166 to before 5.10.181; 5.15.91 to before 5.15.113; 6.1.9 to before 6.1.30; 6.2.1 to before 6.3.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.2:-:*:*:*:*:*:* Versions 6.2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:* Versions 6.2 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:* Versions 6.2 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.2:rc8:*:*:*:*:*:* Versions 6.2 rc8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:* Versions 6.4 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:* Versions 6.4 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.181, 5.15.113, 6.1.30
- Fix · CNA Linux (Linux) Fixed in 5.10.181, 5.15.113, 6.1.30, 6.3.4, 6.4
Red Hat 2 advisories
- RHSA-2024:3421 Released 2024-05-28 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-tools-libs-devel-5.14.0-70.101.1.el9_0
- Red Hat Enterprise Linux AppStream EUS (v.9.0) kernel-debug-devel-5.14.0-70.101.1.el9_0, kernel-debug-devel-matched-5.14.0-70.101.1.el9_0, kernel-devel-5.14.0-70.101.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) bpftool-5.14.0-70.101.1.el9_0, kernel-5.14.0-70.101.1.el9_0, kernel-abi-stablelists-5.14.0-70.101.1.el9_0 +14
- RHSA-2023:6583 Released 2023-11-07 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-362.8.1.el9_3, libperf-5.14.0-362.8.1.el9_3
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-362.8.1.el9_3, kernel-64k-debug-devel-matched-5.14.0-362.8.1.el9_3, kernel-64k-devel-5.14.0-362.8.1.el9_3 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.2.0-362.8.1.el9_3, kernel-5.14.0-362.8.1.el9_3, kernel-64k-5.14.0-362.8.1.el9_3 +29
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-362.8.1.el9_3, kernel-rt-core-5.14.0-362.8.1.el9_3, kernel-rt-debug-5.14.0-362.8.1.el9_3 +9
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-362.8.1.el9_3, kernel-rt-core-5.14.0-362.8.1.el9_3, kernel-rt-debug-5.14.0-362.8.1.el9_3 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat CodeReady Linux Builder EUS (v.9.0) | Fixed | RHSA-2024:3421 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2024:3421 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2024:3421 |
Not affected: 4 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2023-53566
- 2026-10-03 Alias added: GHSA-pcw3-hvmm-479h
- 2026-10-16 CISA SSVC decision points changed
References
Patch 7
- https://git.kernel.org/stable/c/b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56
- https://git.kernel.org/stable/c/899aa5638568abf5d69de7a7bb95e4615157375b
- https://git.kernel.org/stable/c/3fa13203b6d90cc3a33af47b058739f92ab82eef
- https://git.kernel.org/stable/c/ec5caa765f7f6960011c919c9aeb1467940421f6
- https://git.kernel.org/stable/c/a836be60a3aabcedcd9c79f545d409ace1f20ba6
- https://git.kernel.org/stable/c/a337706c1fb35aac3f26b48aca80421bdbe1d33a
- https://git.kernel.org/stable/c/61ae320a29b0540c16931816299eb86bf2b66c08
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-53566 · CVE Program
- CVE-2023-53566 · NVD
- FIRST EPSS
- GHSA-pcw3-hvmm-479h · GitHub Advisory Database · CC BY 4.0
- CVE-2023-53566 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences