Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-98007

UNSCOREDEPSS 6%

bpf: Reject non-scalar bpf_loop iteration counts

Mitigation

  • Upgrade Linux to 6.6.158 or later.

Who should check

  • Anyone running Linux >= bfc5c19b4b48840627af0d0f1c8f4461b276e508, < 2ff38b3552af53238aee6c877ae64cc798d46fce; >= bb124da69c47dd98d69361ec13244ece50bec63e, < 656d40d1ca228ee21a9b3280432479fc9eae75ab; >= bb124da69c47dd98d69361ec13244ece50bec63e, < e2e1161e03fecff6d2229a81b024337144bfcd97; >= bb124da69c47dd98d69361ec13244ece50bec63e, < f8ae8275c721334ee50fafdd986fb83294eb941a; >= bb124da69c47dd98d69361ec13244ece50bec63e, < c3fd8e5fd100f122bad503bdc0e9277219533253; >= 6.6.15, < 6.6.158
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= bfc5c19b4b48840627af0d0f1c8f4461b276e508, < 2ff38b3552af53238aee6c877ae64cc798d46fce; >= bb124da69c47dd98d69361ec13244ece50bec63e, < 656d40d1ca228ee21a9b3280432479fc9eae75ab; >= bb124da69c47dd98d69361ec13244ece50bec63e, < e2e1161e03fecff6d2229a81b024337144bfcd97; >= bb124da69c47dd98d69361ec13244ece50bec63e, < f8ae8275c721334ee50fafdd986fb83294eb941a; >= bb124da69c47dd98d69361ec13244ece50bec63e, < c3fd8e5fd100f122bad503bdc0e9277219533253; >= 6.6.15, < 6.6.158; Linux 6.7
Fixed in
Linux 2ff38b3552af53238aee6c877ae64cc798d46fce, Linux 656d40d1ca228ee21a9b3280432479fc9eae75ab, Linux 6.6.158
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject non-scalar bpf_loop iteration counts bpf_loop() declares its nr_loops argument as ARG_ANYTHING. Privileged programs may pass pointer values to such arguments, so check_func_arg() lets a pointer-valued R1 reach the helper-specific checks. Since commit bb124da69c47 ("bpf: keep track of max number of bpf_loop callback iterations"), the verifier marks R1 precise and reads its upper bound to limit callback simulation. Precision backtracking only accepts scalar registers, so passing a pointer instead triggers the "backtracking misuse" verifier warning. Kernels with panic_on_warn enabled subsequently panic. Introduce ARG_SCALAR for helper arguments that only accept scalar values and use it for bpf_loop() nr_loops. Generic helper argument validation then rejects pointers before loop inlining and precision processing.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= bfc5c19b4b48840627af0d0f1c8f4461b276e508, < 2ff38b3552af53238aee6c877ae64cc798d46fce; >= bb124da69c47dd98d69361ec13244ece50bec63e, < 656d40d1ca228ee21a9b3280432479fc9eae75ab; >= bb124da69c47dd98d69361ec13244ece50bec63e, < e2e1161e03fecff6d2229a81b024337144bfcd97; >= bb124da69c47dd98d69361ec13244ece50bec63e, < f8ae8275c721334ee50fafdd986fb83294eb941a; >= bb124da69c47dd98d69361ec13244ece50bec63e, < c3fd8e5fd100f122bad503bdc0e9277219533253; >= 6.6.15, < 6.6.158—cvelist
Linux6.7—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-98007. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98007.md
Affected: Linux >= bfc5c19b4b48840627af0d0f1c8f4461b276e508, < 2ff38b3552af53238aee6c877ae64cc798d46fce; >= bb124da69c47dd98d69361ec13244ece50bec63e, < 656d40d1ca228ee21a9b3280432479fc9eae75ab; >= bb124da69c47dd98d69361ec13244ece50bec63e, < e2e1161e03fecff6d2229a81b024337144bfcd97; >= bb124da69c47dd98d69361e…
Fixed in: Linux 2ff38b3552af53238aee6c877ae64cc798d46fce, Linux 656d40d1ca228ee21a9b3280432479fc9eae75ab, Linux 6.6.158

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.

References

FAQ

Is CVE-2026-98007 being exploited?

There is no confirmed exploitation: CVE-2026-98007 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-98007?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-98007?

Linux >= bfc5c19b4b48840627af0d0f1c8f4461b276e508, < 2ff38b3552af53238aee6c877ae64cc798d46fce; >= bb124da69c47dd98d69361ec13244ece50bec63e, < 656d40d1ca228ee21a9b3280432479fc9eae75ab; >= bb124da69c47dd98d69361ec13244ece50bec63e, < e2e1161e03fecff6d2229a81b024337144bfcd97; >= bb124da69c47dd98d69361ec13244ece50bec63e, < f8ae8275c721334ee50fafdd986fb83294eb941a; >= bb124da69c47dd98d69361ec13244ece50bec63e, < c3fd8e5fd100f122bad503bdc0e9277219533253; >= 6.6.15, < 6.6.158; Linux 6.7.

Is there a fix for CVE-2026-98007?

Yes. Fixed in Linux 2ff38b3552af53238aee6c877ae64cc798d46fce, Linux 656d40d1ca228ee21a9b3280432479fc9eae75ab, Linux 6.6.158. Upgrade Linux to 6.6.158 or later.

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

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.

Sponsors