{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53304","id":"CVE-2023-53304","title":"netfilter: nft_set_rbtree: fix overlap expiration walk","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_rbtree: fix overlap expiration walk\n\nThe lazy gc on insert that should remove timed-out entries fails to release\nthe other half of the interval, if any.\n\nCan be reproduced with tests/shell/testcases/sets/0044interval_overlap_0\nin nftables.git and kmemleak enabled kernel.\n\nSecond bug is the use of rbe_prev vs. p","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_rbtree: fix overlap expiration walk\n\nThe lazy gc on insert that should remove timed-out entries fails to release\nthe other half of the interval, if any.\n\nCan be reproduced with tests/shell/testcases/sets/0044interval_overlap_0\nin nftables.git and kmemleak enabled kernel.\n\nSecond bug is the use of rbe_prev vs. prev pointer.\nIf rbe_prev() returns NULL after at least one iteration, rbe_prev points\nto element that is not an end interval, hence it should not be removed.\n\nLastly, check the genmask of the end interval if this is active in the\ncurrent generation.","published":"2025-09-16T16:11:44.147Z","updated":"2026-11-17T07:01:24.262528256Z","reserved":"2025-09-16T08:09:37.994Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7ab87a326f20c52ff4d9972052d085be951c704b","lessThan":"8284a79136c384059e85e278da2210b809730287","status":"affected","versionType":"git"},{"version":"181859bdfb9734aca449512fccaee4cacce64aed","lessThan":"acaee227cf79c45a5d2d49c3e9a66333a462802c","status":"affected","versionType":"git"},{"version":"4aacf3d78424293e318c616016865380b37b9cc5","lessThan":"893cb3c3513cf661a0ff45fe0cfa83fe27131f76","status":"affected","versionType":"git"},{"version":"2bf1435fa19d2c58054391b3bba40d5510a5758c","lessThan":"50cbb9d195c197af671869c8cadce3bd483735a0","status":"affected","versionType":"git"},{"version":"318cb24a4c3fce8140afaf84e4d45fcb76fb280b","lessThan":"89a4d1a89751a0fbd520e64091873e19cc0979e8","status":"affected","versionType":"git"},{"version":"c9e6978e2725a7d4b6cd23b2facd3f11422c0643","lessThan":"cd66733932399475fe933cb3ec03e687ed401462","status":"affected","versionType":"git"},{"version":"c9e6978e2725a7d4b6cd23b2facd3f11422c0643","lessThan":"f718863aca469a109895cb855e6b81fff4827d71","status":"affected","versionType":"git"},{"version":"5.10.166","lessThan":"5.10.190","status":"affected","versionType":"semver"},{"version":"5.15.91","lessThan":"5.15.124","status":"affected","versionType":"semver"},{"version":"6.1.9","lessThan":"6.1.43","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"5.10.190","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.124","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.43","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.8","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8284a79136c384059e85e278da2210b809730287","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/acaee227cf79c45a5d2d49c3e9a66333a462802c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/893cb3c3513cf661a0ff45fe0cfa83fe27131f76","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/50cbb9d195c197af671869c8cadce3bd483735a0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/89a4d1a89751a0fbd520e64091873e19cc0979e8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cd66733932399475fe933cb3ec03e687ed401462","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f718863aca469a109895cb855e6b81fff4827d71","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53304.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53304","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00166,"epssPercentile":0.05974,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53304","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53304","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53304","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53304","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}