CVE-2026-97955

CVE-2026-97955

published September 25, 2026

CVSS
—
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: mana: restore the XDP program pointer when pre-allocation fails

mana_xdp_set() publishes the new program into apc->bpf_prog before it

allocates anything, because mana_pre_alloc_rxbufs() sizes the buffers

from it via mana_get_rxbuf_cfg(). When that allocation fails the

function returns the error directly, skipping the err_dealloc_rxbuffs

label which is the only place that restores the previous pointer.

The attach is reported as failed, so the BPF core drops the reference it

held for the caller and the program can be freed, while apc->bpf_prog

still points at it. The next consumer of mana_xdp_get() - typically

mana_chn_setxdp() from mana_alloc_queues() on the following ifup, or

after a TX timeout reset - then calls bpf_prog_add() on freed memory.

This is reachable from an ordinary "ip link set dev ethX xdp obj ..."

whenever the per-queue RX buffer pre-allocation cannot be satisfied.

Restore the previous program on that error path.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.5th percentile
Published
2026-09-25T15:17Z
References (3)
EPSS history
Timeline
  • 27 SEP 03:28Z
    EPSS moved — → 0%
    epss
  • 25 SEP 10:23Z
    net: mana: restore the XDP program pointer when pre-allocation fails
    cvelistv5