Skip to content
FlawDB
Sign in

CVE-2026-139621

UNSCORED

bpf: Don't converge a loop on an iterator that was created anew

AI summary AI generated

A crafted eBPF program can make the Linux kernel verifier wrongly accept an endless loop over a re-created iterator, causing the kernel to hang.

Mitigation

  • Upgrade Linux to 6f3ee3516305da3043f1787e3890381a54151730 or later.

Who should check

  • Anyone running Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < f5d3e5382dbca1a639fe124a38acd526155a5103; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < fe416645a7c67cd7d1127ea707e7027145ddf2c5; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 6f3ee3516305da3043f1787e3890381a54151730
  • Anyone running Linux 6.4

Vulnerability facts

Affected
Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < f5d3e5382dbca1a639fe124a38acd526155a5103; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < fe416645a7c67cd7d1127ea707e7027145ddf2c5; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 6f3ee3516305da3043f1787e3890381a54151730; Linux 6.4
Fixed in
Linux 6f3ee3516305da3043f1787e3890381a54151730
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < f5d3e5382dbca1a639fe124a38acd526155a5103; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < fe416645a7c67cd7d1127ea707e7027145ddf2c5; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 6f3ee3516305da3043f1787e3890381a54151730—cvelist
Linux6.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-139621. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139621.md
Affected: Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < f5d3e5382dbca1a639fe124a38acd526155a5103; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < fe416645a7c67cd7d1127ea707e7027145ddf2c5; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6; >= 06accc8779c1d558a5b5a21…
Fixed in: Linux 6f3ee3516305da3043f1787e3890381a54151730

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-139621 being exploited?

There is no confirmed exploitation: CVE-2026-139621 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-139621?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139621?

Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < f5d3e5382dbca1a639fe124a38acd526155a5103; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < fe416645a7c67cd7d1127ea707e7027145ddf2c5; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 6f3ee3516305da3043f1787e3890381a54151730; Linux 6.4.

Is there a fix for CVE-2026-139621?

Yes. Fixed in Linux 6f3ee3516305da3043f1787e3890381a54151730. Upgrade Linux to 6f3ee3516305da3043f1787e3890381a54151730 or later.

How do I check if I'm affected by CVE-2026-139621?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors