CVE-2026-139621
publishedbpf: Don't converge a loop on an iterator that was created anew
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < f5d3e5382dbca1a639fe124a38acd526155a5103 · 06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < fe416645a7c67cd7d1127ea707e7027145ddf2c5 · 06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6 · 06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < 6f3ee3516305da3043f1787e3890381a54151730 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.66 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't converge a loop on an iterator that was created anew When the verifier reaches bpf_iter_*_next() in a state that is equal to a state that is still being explored it concludes that the loop converged, since an active iterator will be drained eventually. states_equal() matches ids through idmap, so the same is concluded for an iterator that was destroyed and created again since the old state: bpf_iter_num_new(&it, 0, 10); loop: if (bpf_ktime_get_ns()) goto remake; next: if (!bpf_iter_num_next(&it)) goto out; goto loop; remake: bpf_iter_num_destroy(&it); bpf_iter_num_new(&it, 0, 10); goto next; Such prog is accepted when the call of bpf_iter_num_next() is the first prune point after bpf_iter_num_new() and it never returns. Otherwise it's rejected with "infinite loop detected". Require the iterator to have the same id in both states.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < f5d3e5382dbca1a639fe124a38acd526155a5103 (affected · git)06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < fe416645a7c67cd7d1127ea707e7027145ddf2c5 (affected · git)06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6 (affected · git)06accc8779c1d558a5b5a21f2ac82b0c95827ddd to < 6f3ee3516305da3043f1787e3890381a54151730 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.66 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
bpf: Don't converge a loop on an iterator that was created anew
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3d1f22a9d625241d79559e37e39599cc8f0b738e31489e97c7409d5041823695
- Ingested
- 30 Nov 2026, 13:42:24 UTC
- Source record
- Official CVE record