CVE-2023-53304: netfilter: nft_set_rbtree: fix overlap expiration walk

Published Sep 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftsetrbtree: 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/0044intervaloverlap0 in nftables.git and kmemleak enabled kernel.

Second bug is the use of rbeprev vs. prev pointer. If rbeprev() returns NULL after at least one iteration, rbeprev 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 Software

12 affected components
Linux Foundation Linux Kernel
Linux Linux kernel>=5.10.166<5.10.190
Linux Linux kernel>=5.15.91<5.15.124
Linux Linux kernel>=6.1.9<6.1.43
Linux Linux kernel>=6.2.1<6.4.8
Linux Linux kernel=6.2
Linux Linux kernel=6.2-rc6
Linux Linux kernel=6.2-rc7
Linux Linux kernel=6.2-rc8
Linux Linux kernel=6.5-rc1
Linux Linux kernel=6.5-rc2
Linux Linux kernel=6.5-rc3

Event History

Sep 16, 2025
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53304?

CVE-2023-53304 is classified as a medium severity vulnerability due to potential denial of service conditions.

2

How do I fix CVE-2023-53304?

To fix CVE-2023-53304, update your Linux kernel to the latest stable version that includes the patch addressing this vulnerability.

3

What software is affected by CVE-2023-53304?

CVE-2023-53304 affects the Linux kernel, specifically involving the netfilter component.

4

What does CVE-2023-53304 exploit?

CVE-2023-53304 exploits an issue in the lazy garbage collection mechanism within the netfilter's rb-tree implementation.

5

Can CVE-2023-53304 lead to system instability?

Yes, CVE-2023-53304 may lead to system instability by causing unexpected failures in the netfilter component.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203