VDB

CVE-2026-98084

CVE-2026-98084 PUBLISHED

bpf: backtracking shouldn't clear outer frame R1-R5 for callbacks

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: backtracking shouldn't clear outer frame R1-R5 for callbacks When processing calls to bpf_loop() verifier marks R1 (and R4) as precise. R1 tracks loop iterations number and because of the 'callback_depth < R1' mechanics in check_helper_call() must be marked precise. However, precision propagation for R1 was broken, when bpf_loop() call was verified on a second iteration. Consider the following verification trace: - main: bpf_loop(nr_loops, callback ...) - callback: BPF_EXIT - main: bpf_loop(nr_loops, callback ...) - ... While the first visit of the call to bpf_loop() propagated R1 precision as expected, the second call to mark_chain_precision() in the check_helper_call() set R1, but it was immediately reset when backtrack_insn() processed preceding BPF_EXIT in the loop deleted in this patch. Because of that, the second visit of the call to bpf_loop() injected checkpoint with R1 not marked as precise. Which could trick the verifier into accepting unsafe programs. See the next patch for an example of such program. Commit is structured in a way to minimize conflicts when 'bpf' would be eventually merged with 'bpf-next'.

EPSS 0.12% · 2.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.18.56-125.164Amazon Linux1:1.0-0.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023
perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.12%
2.0th percentile

Affected products

VendorProductVersions
LinuxLinuxb43550d7d58e7ae6618aaab18c1e912fa4d6e3dd, ab5cfac139ab8576fb54630d4cca23c3e690ee90, ab5cfac139ab8576fb54630d4cca23c3e690ee90
LinuxLinux6.7, 0, 6.6.160
amazon:2023kernel6.12-devel0
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.120
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel6.12-headers0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra-common0

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (8 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98084
vulnetix vdb fixes CVE-2026-98084

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98084/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›