CVE-2023-53304
netfilter: nft_set_rbtree: fix overlap expiration walk
Mitigation
- Upgrade Linux to 6.1.43 or later.
Who should check
- Anyone running Linux >= 7ab87a326f20c52ff4d9972052d085be951c704b, < 8284a79136c384059e85e278da2210b809730287; >= 181859bdfb9734aca449512fccaee4cacce64aed, < acaee227cf79c45a5d2d49c3e9a66333a462802c; >= 4aacf3d78424293e318c616016865380b37b9cc5, < 893cb3c3513cf661a0ff45fe0cfa83fe27131f76; >= 2bf1435fa19d2c58054391b3bba40d5510a5758c, < 50cbb9d195c197af671869c8cadce3bd483735a0; >= 318cb24a4c3fce8140afaf84e4d45fcb76fb280b, < 89a4d1a89751a0fbd520e64091873e19cc0979e8; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < cd66733932399475fe933cb3ec03e687ed401462; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < f718863aca469a109895cb855e6b81fff4827d71; >= 5.10.166, < 5.10.190; >= 5.15.91, < 5.15.124; >= 6.1.9, < 6.1.43
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= 7ab87a326f20c52ff4d9972052d085be951c704b, < 8284a79136c384059e85e278da2210b809730287; >= 181859bdfb9734aca449512fccaee4cacce64aed, < acaee227cf79c45a5d2d49c3e9a66333a462802c; >= 4aacf3d78424293e318c616016865380b37b9cc5, < 893cb3c3513cf661a0ff45fe0cfa83fe27131f76; >= 2bf1435fa19d2c58054391b3bba40d5510a5758c, < 50cbb9d195c197af671869c8cadce3bd483735a0; >= 318cb24a4c3fce8140afaf84e4d45fcb76fb280b, < 89a4d1a89751a0fbd520e64091873e19cc0979e8; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < cd66733932399475fe933cb3ec03e687ed401462; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < f718863aca469a109895cb855e6b81fff4827d71; >= 5.10.166, < 5.10.190; >= 5.15.91, < 5.15.124; >= 6.1.9, < 6.1.43; Linux 6.2
- Fixed in
- Linux 8284a79136c384059e85e278da2210b809730287, Linux 893cb3c3513cf661a0ff45fe0cfa83fe27131f76, Linux 50cbb9d195c197af671869c8cadce3bd483735a0, Linux 89a4d1a89751a0fbd520e64091873e19cc0979e8, Linux 5.10.190, Linux 5.15.124, Linux 6.1.43
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-476
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7ab87a326f20c52ff4d9972052d085be951c704b, < 8284a79136c384059e85e278da2210b809730287; >= 181859bdfb9734aca449512fccaee4cacce64aed, < acaee227cf79c45a5d2d49c3e9a66333a462802c; >= 4aacf3d78424293e318c616016865380b37b9cc5, < 893cb3c3513cf661a0ff45fe0cfa83fe27131f76; >= 2bf1435fa19d2c58054391b3bba40d5510a5758c, < 50cbb9d195c197af671869c8cadce3bd483735a0; >= 318cb24a4c3fce8140afaf84e4d45fcb76fb280b, < 89a4d1a89751a0fbd520e64091873e19cc0979e8; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < cd66733932399475fe933cb3ec03e687ed401462; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < f718863aca469a109895cb855e6b81fff4827d71; >= 5.10.166, < 5.10.190; >= 5.15.91, < 5.15.124; >= 6.1.9, < 6.1.43 | — | cvelist |
| Linux | 6.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53304. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53304.md Affected: Linux >= 7ab87a326f20c52ff4d9972052d085be951c704b, < 8284a79136c384059e85e278da2210b809730287; >= 181859bdfb9734aca449512fccaee4cacce64aed, < acaee227cf79c45a5d2d49c3e9a66333a462802c; >= 4aacf3d78424293e318c616016865380b37b9cc5, < 893cb3c3513cf661a0ff45fe0cfa83fe27131f76; >= 2bf1435fa19d2c58054391b… Fixed in: Linux 8284a79136c384059e85e278da2210b809730287, Linux 893cb3c3513cf661a0ff45fe0cfa83fe27131f76, Linux 50cbb9d195c197af671869c8cadce3bd483735a0, Linux 89a4d1a89751a0fbd520e64091873e19cc0979e8, Linux 5.10.190, Linux 5.15.124, Linux 6.1.43 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2023-53304 being exploited?
There is no confirmed exploitation: CVE-2023-53304 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53304?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53304?
Linux >= 7ab87a326f20c52ff4d9972052d085be951c704b, < 8284a79136c384059e85e278da2210b809730287; >= 181859bdfb9734aca449512fccaee4cacce64aed, < acaee227cf79c45a5d2d49c3e9a66333a462802c; >= 4aacf3d78424293e318c616016865380b37b9cc5, < 893cb3c3513cf661a0ff45fe0cfa83fe27131f76; >= 2bf1435fa19d2c58054391b3bba40d5510a5758c, < 50cbb9d195c197af671869c8cadce3bd483735a0; >= 318cb24a4c3fce8140afaf84e4d45fcb76fb280b, < 89a4d1a89751a0fbd520e64091873e19cc0979e8; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < cd66733932399475fe933cb3ec03e687ed401462; >= c9e6978e2725a7d4b6cd23b2facd3f11422c0643, < f718863aca469a109895cb855e6b81fff4827d71; >= 5.10.166, < 5.10.190; >= 5.15.91, < 5.15.124; >= 6.1.9, < 6.1.43; Linux 6.2.
Is there a fix for CVE-2023-53304?
Yes. Fixed in Linux 8284a79136c384059e85e278da2210b809730287, Linux 893cb3c3513cf661a0ff45fe0cfa83fe27131f76, Linux 50cbb9d195c197af671869c8cadce3bd483735a0, Linux 89a4d1a89751a0fbd520e64091873e19cc0979e8, Linux 5.10.190, Linux 5.15.124, Linux 6.1.43. Upgrade Linux to 6.1.43 or later.
How do I check if I'm affected by CVE-2023-53304?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.