VDB

CVE-2026-98061

CVE-2026-98061 PUBLISHED

bpf: Reject tail calls directly from callback frames

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject tail calls directly from callback frames A tail call from a non-zero frame is modeled as a return from that frame. The verifier makes R0 unknown and calls prepare_func_exit() for the taken branch. When the current frame is a synchronous callback, prepare_func_exit() enforces the callback return-value contract and marks R0 precise. Since the tail-call path synthesized R0 rather than deriving it from an instruction, precision backtracking reaches the callback-calling instruction with R0 still requested and triggers the "callback unexpected regs" verifier bug. A CAP_BPF task can therefore cause a WARN and an -EFAULT BPF_PROG_LOAD. Tail calls reachable from callbacks are already rejected later by check_max_stack_depth(). Reject a tail call made directly by a callback before constructing the inconsistent return state, using the existing diagnostic. Tail calls from ordinary subprograms keep their current behavior.

EPSS 0.15% · 4.4th percentile

Fixed versions

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

PackageEcosystemFixed in
LinuxLinux6.19, 6.18.53

Risk scores

EPSS Score
0.15%
4.4th percentile

Affected products

VendorProductVersions
LinuxLinuxa6c22c91b6284e4713c0cf5b20ab3c9c71b77ae8, e3245f8990431950d20631c72236d4e8cb2dcde8, e3245f8990431950d20631c72236d4e8cb2dcde8
LinuxLinux6.19, 0, 6.18.53
LinuxLinux*, 6.18.53, 0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.180
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.19, 6.19, 6.18.2
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0

Timeline

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

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98061
vulnetix vdb fixes CVE-2026-98061

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-98061/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 ›