{"id":"CVE-2026-139621","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:44.950","lastModified":"2026-11-30T14:19:44.950","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't converge a loop on an iterator that was created anew\n\nWhen the verifier reaches bpf_iter_*_next() in a state that is equal to\na state that is still being explored it concludes that the loop\nconverged, since an active iterator will be drained eventually.\nstates_equal() matches ids through idmap, so the same is concluded for\nan iterator that was destroyed and created again since the old state:\n\n  bpf_iter_num_new(&it, 0, 10);\n  loop:\n          if (bpf_ktime_get_ns())\n                  goto remake;\n  next:\n          if (!bpf_iter_num_next(&it))\n                  goto out;\n          goto loop;\n  remake:\n          bpf_iter_num_destroy(&it);\n          bpf_iter_num_new(&it, 0, 10);\n          goto next;\n\nSuch prog is accepted when the call of bpf_iter_num_next() is the first\nprune point after bpf_iter_num_new() and it never returns. Otherwise\nit's rejected with \"infinite loop detected\".\n\nRequire the iterator to have the same id in both states."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/bpf/states.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"06accc8779c1d558a5b5a21f2ac82b0c95827ddd","lessThan":"f5d3e5382dbca1a639fe124a38acd526155a5103","versionType":"git","status":"affected"},{"version":"06accc8779c1d558a5b5a21f2ac82b0c95827ddd","lessThan":"fe416645a7c67cd7d1127ea707e7027145ddf2c5","versionType":"git","status":"affected"},{"version":"06accc8779c1d558a5b5a21f2ac82b0c95827ddd","lessThan":"cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6","versionType":"git","status":"affected"},{"version":"06accc8779c1d558a5b5a21f2ac82b0c95827ddd","lessThan":"6f3ee3516305da3043f1787e3890381a54151730","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/bpf/states.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/6f3ee3516305da3043f1787e3890381a54151730","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cc3ad4a2f4812f1efeb6fff6eba6260f8fc6faa6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f5d3e5382dbca1a639fe124a38acd526155a5103","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fe416645a7c67cd7d1127ea707e7027145ddf2c5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}