AZL-117259: CVE-2026-139621 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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 bpfiternext() 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. statesequal() matches ids through idmap, so the same is concluded for an iterator that was destroyed and created again since the old state:

bpfiternumnew(&it, 0, 10); loop: if (bpfktimegetns()) goto remake; next: if (!bpfiternumnext(&it)) goto out; goto loop; remake: bpfiternumdestroy(&it); bpfiternumnew(&it, 0, 10); goto next;

Such prog is accepted when the call of bpfiternumnext() is the first prune point after bpfiternumnew() and it never returns. Otherwise it's rejected with "infinite loop detected".

Require the iterator to have the same id in both states.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker would need to load a specially crafted eBPF program that creates, destroys, and recreates an iterator in a loop. The issue depends on the BPF verifier incorrectly treating the newly created iterator as equivalent to a previously explored state.

2

What is the observable impact of a successful exploit?

The crafted program can be accepted by the verifier even though it never returns, resulting in an infinite loop. The provided data does not describe additional impacts such as privilege escalation or information disclosure.

3

How can I determine whether a program is affected?

Review eBPF programs for loops that destroy and recreate BPF iterators before calling bpf_iter_*_next(). A relevant pattern is one where bpf_iter_num_next() is the first verifier prune point after bpf_iter_num_new(), allowing the program to be accepted despite non-termination.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203