netfilter: nft_set_rbtree: fix overlap expiration walk
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.190, 5.15.124, 6.1.43, 6.4.8
- CVEs
- CVE-2023-53304
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:56 UTC · Revision 1
Source evidence
netfilter: nft_set_rbtree: fix overlap expiration walk
core-osv · Original sourcePublished 16 Sept 2025, 16:11 UTC
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.
osv:CVE-2023-53304
Kernel
Fixed versions: 5.10.190, 5.15.124, 6.1.43, 6.4.8
Complete source record
{
"id": "21ee32cd86beac524629c7720675c38cf2b7eb6275ef155949b65ba56a89c4ab",
"url": "https://osv.dev/vulnerability/CVE-2023-53304",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "netfilter: nft_set_rbtree: fix overlap expiration walk",
"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.",
"evidence": "osv:CVE-2023-53304",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.190",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.124",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.43",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2023-53304",
"aliases": [
"CVE-2023-53304"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7ab87a326f20c52ff4d9972052d085be951c704b"
},
{
"fixed": "8284a79136c384059e85e278da2210b809730287"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "181859bdfb9734aca449512fccaee4cacce64aed"
},
{
"fixed": "acaee227cf79c45a5d2d49c3e9a66333a462802c"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4aacf3d78424293e318c616016865380b37b9cc5"
},
{
"fixed": "893cb3c3513cf661a0ff45fe0cfa83fe27131f76"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2bf1435fa19d2c58054391b3bba40d5510a5758c"
},
{
"fixed": "50cbb9d195c197af671869c8cadce3bd483735a0"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "318cb24a4c3fce8140afaf84e4d45fcb76fb280b"
},
{
"fixed": "89a4d1a89751a0fbd520e64091873e19cc0979e8"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c9e6978e2725a7d4b6cd23b2facd3f11422c0643"
},
{
"fixed": "cd66733932399475fe933cb3ec03e687ed401462"
},
{
"fixed": "f718863aca469a109895cb855e6b81fff4827d71"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.10.166"
},
{
"fixed": "5.10.190"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.15.91"
},
{
"fixed": "5.15.124"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.1.9"
},
{
"fixed": "6.1.43"
}
]
}
],
"versions": [
"v5.10.189",
"v5.10.188",
"v5.10.187",
"v5.10.186",
"v5.10.185",
"v5.10.184",
"v5.10.183",
"v5.10.182",
"v5.10.181",
"v5.10.180",
"v5.10.179",
"v5.10.178",
"v5.10.177",
"v5.10.176",
"v5.10.175",
"v5.10.174",
"v5.10.173",
"v5.10.172",
"v5.10.171",
"v5.10.170",
"v5.10.169",
"v5.10.168",
"v5.10.167",
"v5.10.166",
"v5.15.123",
"v5.15.122",
"v5.15.121",
"v5.15.120",
"v5.15.119",
"v5.15.118",
"v5.15.117",
"v5.15.116",
"v5.15.115",
"v5.15.114",
"v5.15.113",
"v5.15.112",
"v5.15.111",
"v5.15.110",
"v5.15.109",
"v5.15.108",
"v5.15.107",
"v5.15.106",
"v5.15.105",
"v5.15.104",
"v5.15.103",
"v5.15.102",
"v5.15.101",
"v5.15.100",
"v5.15.99",
"v5.15.98",
"v5.15.97",
"v5.15.96",
"v5.15.95",
"v5.15.94",
"v5.15.93",
"v5.15.92",
"v5.15.91",
"v6.1.42",
"v6.1.41",
"v6.1.40",
"v6.1.39",
"v6.1.38",
"v6.1.37",
"v6.1.36",
"v6.1.35",
"v6.1.34",
"v6.1.33",
"v6.1.32",
"v6.1.31",
"v6.1.30",
"v6.1.29",
"v6.1.28",
"v6.1.27",
"v6.1.26",
"v6.1.25",
"v6.1.24",
"v6.1.23",
"v6.1.22",
"v6.1.21",
"v6.1.20",
"v6.1.19",
"v6.1.18",
"v6.1.17",
"v6.1.16",
"v6.1.15",
"v6.1.14",
"v6.1.13",
"v6.1.12",
"v6.1.11",
"v6.1.10",
"v6.1.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53304.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.10.190"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.124"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.43"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53304.json"
}
}
],
"modified": "2026-10-28T02:30:41.610737078Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/50cbb9d195c197af671869c8cadce3bd483735a0",
"https://git.kernel.org/stable/c/8284a79136c384059e85e278da2210b809730287",
"https://git.kernel.org/stable/c/893cb3c3513cf661a0ff45fe0cfa83fe27131f76",
"https://git.kernel.org/stable/c/89a4d1a89751a0fbd520e64091873e19cc0979e8",
"https://git.kernel.org/stable/c/acaee227cf79c45a5d2d49c3e9a66333a462802c",
"https://git.kernel.org/stable/c/cd66733932399475fe933cb3ec03e687ed401462",
"https://git.kernel.org/stable/c/f718863aca469a109895cb855e6b81fff4827d71",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53304.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53304",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53304.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53304",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509266,
"published_at": "2025-09-16T16:11:44.147+00:00"
}