CVE-2026-98627
What it is
A flaw in how the Linux kernel checks BPF programs, small programs that run inside the kernel: the check can lose track of the distance between two positions in a network packet, and so approve a program that accesses memory outside the packet. The record does not say what an attacker could gain from it.
Written in plain English by AI from the official record. Show the official wording
In the Linux kernel, the following vulnerability has been resolved: bpf: Preserve packet pointer class displacement in regsafe() regsafe() maps packet pointer IDs between states and checks that each current register range is a subset of the corresponding explored register range. It does not, however, preserve the displacement between registers that share a packet pointer ID. This is unsound because packet range is shared by ID. A bounds check on one class member updates every member, and a later access can consume the range through another member. Commit 022ac0750883 ("bpf: use reg->var_off instead of reg->off for pointers") folded the fixed pointer offset into r64 and removed the old off equality check, so two individually narrower registers can prune even when their displacement has changed. The explored path can then license an out-of-bounds packet access on the pruned path. Require matching range bases for packet pointers with an ID. Together with the existing ID mapping, this preserves the displacement between members of each packet-pointer class without adding per-ID state. Packet pointers without an ID remain unaffected.
Chance of being attacked in the next 30 days: 0.2 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 7.2.9, 7.3.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.