Vulnerability · Published Sep 16, 2025 · Assigned by Linux
CVE-2023-53304netfilter: nft_set_rbtree: fix overlap expiration walk
Medium 5.5
In plain English
A medium-severity null pointer dereference in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.52-1 | DEBIAN-CVE-2023-53304 |
| Debian:13 | linux | 6.4.11-1 | DEBIAN-CVE-2023-53304 |
| Debian:14 | linux | 6.4.11-1 | DEBIAN-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux | 5.15.0-87.97 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1048.53 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1050.57 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1050.57.1 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1045.53 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1045.50 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1031.37 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1041.44 | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1043.49 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1045.50 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-87.96 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1039.39 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1019.19 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1006.6 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1046.52 | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1041.44 | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2023-53304 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1025.29 | UBUNTU-CVE-2023-53304 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7ab87a326f20c52ff4d9972052d085be951c704b – before 8284a79136c384059e85e278da2210b809730287181859bdfb9734aca449512fccaee4cacce64aed – before acaee227cf79c45a5d2d49c3e9a66333a462802c4aacf3d78424293e318c616016865380b37b9cc5 – before 893cb3c3513cf661a0ff45fe0cfa83fe27131f762bf1435fa19d2c58054391b3bba40d5510a5758c – before 50cbb9d195c197af671869c8cadce3bd483735a0318cb24a4c3fce8140afaf84e4d45fcb76fb280b – before 89a4d1a89751a0fbd520e64091873e19cc0979e8c9e6978e2725a7d4b6cd23b2facd3f11422c0643 – before cd66733932399475fe933cb3ec03e687ed401462c9e6978e2725a7d4b6cd23b2facd3f11422c0643 – before f718863aca469a109895cb855e6b81fff4827d715.10.166 – before 5.10.190 |
| Linux | Linux | 6.2 |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- 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