CVE-2026-52921
netfilter: ipset: stop hash:* range iteration at end
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: stop hash:* range iteration at end The following hash set variants: hash:ip,mark hash:ip,port hash:ip,port,ip hash:ip,port,net iterate IPv4 ranges with a 32-bit iterator. The iterator must stop once the last address in the requested range has been processed. Advancing it once more can move the traversal state past the end of the request, so a later retry may continue from an unintended position. Handle the iterator increment explicitly at the end of the loop and stop once the upper bound has been processed. This keeps the existing retry behaviour intact for valid ranges while preventing traversal from continuing past the original boundary.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 5:52 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the netfilter: ipset patch.
- Ensure iterator stops at the range end.
- Verify hash set range iteration logic.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52921.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-52921 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-52921
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-52921 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52921 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-835 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.14:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.14:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.14:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.14:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.14:rc8:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.92 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.34 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.142 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14.1 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/02f75f041a93ea045834da89cd3234f4c1d749b4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0d7b33ace701fe397e6e4de145f32e098178d901 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/383418c20e69f5761b6ec5238f599423f4fb77fb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/952e988163c2ab9939c3db9f0f8e77af6a1bb436 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/be75218fadea22e59c8673db212f29c681bf45bb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c281e018af98df91827d65bec00f4956c00a1b02 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': 'be75218fadea22e59c8673db212f29c681bf45bb', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': '383418c20e69f5761b6ec5238f599423f4fb77fb', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': '0d7b33ace701fe397e6e4de145f32e098178d901', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': 'c281e018af98df91827d65bec00f4956c00a1b02', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': '02f75f041a93ea045834da89cd3234f4c1d749b4', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': '952e988163c2ab9939c3db9f0f8e77af6a1bb436', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': '0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc', 'versionType': 'git'}, {'status': 'affected', 'version': '48596a8ddc46f96afb6a2cd72787cb15d6bb01fc', 'lessThan': '0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6', 'versionType': 'git'}], 'programFiles': ['net/netfilter/ipset/ip_set_hash_ipmark.c', 'net/netfilter/ipset/ip_set_hash_ipport.c', 'net/netfilter/ipset/ip_set_hash_ipportip.c', 'net/netfilter/ipset/ip_set_hash_ipportnet.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.142', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.92', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.34', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.11', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/netfilter/ipset/ip_set_hash_ipmark.c', 'net/netfilter/ipset/ip_set_hash_ipport.c', 'net/netfilter/ipset/ip_set_hash_ipportip.c', 'net/netfilter/ipset/ip_set_hash_ipportnet.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: stop hash:* range iteration at end The following hash set variants: hash:ip,mark hash:ip,port hash:ip,port,ip hash:ip,port,net iterate IPv4 ranges with a 32-bit iterator. The iterator must stop once the last address in the requested range has been processed. Advancing it once more can move the traversal state past the end of the request, so a later retry may continue from an unintended position. Handle the iterator increment explicitly at the end of the loop and stop once the upper bound has been processed. This keeps the existing retry behaviour intact for valid ranges while preventing traversal from continuing past the original boundary. Added Reference https://git.kernel.org/stable/c/02f75f041a93ea045834da89cd3234f4c1d749b4 Added Reference https://git.kernel.org/stable/c/0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc Added Reference https://git.kernel.org/stable/c/0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6 Added Reference https://git.kernel.org/stable/c/0d7b33ace701fe397e6e4de145f32e098178d901 Added Reference https://git.kernel.org/stable/c/383418c20e69f5761b6ec5238f599423f4fb77fb Added Reference https://git.kernel.org/stable/c/952e988163c2ab9939c3db9f0f8e77af6a1bb436 Added Reference https://git.kernel.org/stable/c/be75218fadea22e59c8673db212f29c681bf45bb Added Reference https://git.kernel.org/stable/c/c281e018af98df91827d65bec00f4956c00a1b02