CVE-2026-98085

bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge

Published Sep 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge

Nicholas Carlini reported a bug in precision backtracking mechanism
for BPF_LD | BPF_{IND,ABS} instructions. These instructions are
modelled as two branches:
- fallthrough;
- implicit exit from current subprogram.

The implicit exit case was not handled by the backtrack_insn()
function. When backtracking such a path backtrack_insn() did not
call bt_subprog_enter(), which meant that backtracking continued
manipulating precision marks in a caller frame, while looking at
instructions in a callee frame.

This lead to segmentation faults during verification (see the
selftest), or unsound state pruning.

Analysis

AI-generated

Technical impact

In the Linux kernel, a flaw in the BPF verifier’s backtracking logic causes a crash when the verifier encounters certain load instructions that implicitly exit a subprogram. The missing call to restore the calling context leaves the verifier manipulating state in the wrong frame, which can lead to segmentation faults during verification, as seen in the selftest. It is inferred that such crashes could result in kernel instability or a denial of service, but the CVE description does not explicitly state system-wide impact.

Affected Systems

The defect applies to any Linux kernel that implements the BPF verifier without the corrective logic found in commits 387b1baefbb7 and 671b7b9a660e. Operating systems still running a kernel that does not incorporate these commits are vulnerable. The issue is not tied to a particular distribution version but to the presence or absence of the patch, so all upstream and downstream kernels need to be examined for the backtrack_insn function.

Risk and Exploitability

Although a public exploit is not listed in CISA KEV and the EPSS score is < 1%, the bug can be triggered by any unprivileged user who can load a BPF program, which is inferred to potentially enable a denial of service. The CVSS score of 5.5 indicates moderate severity, and the ease of triggering emphasizes the importance of updating the kernel. With the fix in place, backtracking correctly restores the calling context, eliminating the crash and preventing unsound state pruning that could otherwise allow policy bypass.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the BPF backtrack_insn fix from commits 387b1baefbb7 and 671b7b9a660e.
  • If your distribution does not provide the update, apply the patch manually or rebuild the kernel with the fix committed.
  • If immediate kernel upgrade is not possible, limit BPF program loading to trusted users or set appropriate capabilities to reduce the attack surface.

Generated by OpenCVE AI on November 22, 2026 at 23:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9191-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge Nicholas Carlini reported a bug in precision backtracking mechanism for BPF_LD | BPF_{IND,ABS} instructions. These instructions are modelled as two branches: - fallthrough; - implicit exit from current subprogram. The implicit exit case was not handled by the backtrack_insn() function. When backtracking such a path backtrack_insn() did not call bt_subprog_enter(), which meant that backtracking continued manipulating precision marks in a caller frame, while looking at instructions in a callee frame. This lead to segmentation faults during verification (see the selftest), or unsound state pruning.
Title bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:54 PM
Reserved
Sep 25, 2026, 10:19 AM
Status
Analyzed
Published
Sep 25, 2026, 11:17 AM
Modified
Nov 17, 2026, 8:22 PM