netfilter: nft_set_rbtree: fix overlap expiration walk
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. 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 overlap expiration walk The lazy gc on insert that should remove timed-out entries fails to release the other half of the interval, if any. Can be reproduced with tests/shell/testcases/sets/0044interval_overlap_0 in nftables.git and kmemleak enabled kernel. Second bug is the use of rbe_prev vs. prev pointer. If rbe_prev() returns NULL after at least one iteration, rbe_prev points to element that is not an end interval, hence it should not be removed. Lastly, check the genmask of the end interval if this is active in the current generation.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
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.190; 5.15.91 to before 5.15.124; 6.1.9 to before 6.1.43 | 5.10.190, 5.15.124, 6.1.43 | Patch available | CNA |
| Linux | Linux | 6.2 and later | 5.10.190, 5.15.124, 6.1.43, 6.4.8, 6.5 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.166 to before 5.10.190; 5.15.91 to before 5.15.124; 6.1.9 to before 6.1.43 Fixed in 5.10.190, 5.15.124, 6.1.43 Patch available CNA
- Linux VendorLinux Affected 6.2 and later Fixed in 5.10.190, 5.15.124, 6.1.43, 6.4.8, 6.5 Patch available CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.166 to before 5.10.190; 5.15.91 to before 5.15.124; 6.1.9 to before 6.1.43; 6.2.1 to before 6.4.8 | 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.5:rc1:*:*:*:*:*:* | 6.5 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* | 6.5 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* | 6.5 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.10.166 to before 5.10.190; 5.15.91 to before 5.15.124; 6.1.9 to before 6.1.43; 6.2.1 to before 6.4.8 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.5:rc1:*:*:*:*:*:* Versions 6.5 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* Versions 6.5 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* Versions 6.5 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.190, 5.15.124, 6.1.43
- Fix · CNA Linux (Linux) Fixed in 5.10.190, 5.15.124, 6.1.43, 6.4.8, 6.5
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-2024:2394 Released 2024-04-30 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.13.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.13.1.el9_4, kernel-64k-devel-5.14.0-427.13.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.13.1.el9_4, kernel-5.14.0-427.13.1.el9_4, kernel-64k-5.14.0-427.13.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.13.1.el9_4, libperf-5.14.0-427.13.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.13.1.el9_4, kernel-rt-core-5.14.0-427.13.1.el9_4, kernel-rt-debug-5.14.0-427.13.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.13.1.el9_4, kernel-rt-core-5.14.0-427.13.1.el9_4, kernel-rt-debug-5.14.0-427.13.1.el9_4 +9
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder EUS (v.9.0) | Fixed | RHSA-2024:3421 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2024:3421 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2024:3421 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:2394 |
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2023-53304
- 2026-10-03 Alias added: GHSA-phm5-wwmp-pqvr
References
Patch 7
- https://git.kernel.org/stable/c/8284a79136c384059e85e278da2210b809730287
- https://git.kernel.org/stable/c/acaee227cf79c45a5d2d49c3e9a66333a462802c
- https://git.kernel.org/stable/c/893cb3c3513cf661a0ff45fe0cfa83fe27131f76
- https://git.kernel.org/stable/c/50cbb9d195c197af671869c8cadce3bd483735a0
- https://git.kernel.org/stable/c/89a4d1a89751a0fbd520e64091873e19cc0979e8
- https://git.kernel.org/stable/c/cd66733932399475fe933cb3ec03e687ed401462
- https://git.kernel.org/stable/c/f718863aca469a109895cb855e6b81fff4827d71
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-53304 · CVE Program
- CVE-2023-53304 · NVD
- FIRST EPSS
- GHSA-phm5-wwmp-pqvr · GitHub Advisory Database · CC BY 4.0
- CVE-2023-53304 · 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