VDB

CVE-2026-97955

CVE-2026-97955 PUBLISHED

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

Reported by linux · Published September 25, 2026

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.

EPSS 0.17% · 5.9th percentile

Risk scores

EPSS Score
0.17%
5.9th percentile

Affected products

VendorProductVersions
LinuxLinux730ff06d3f5cc2ce0348414b78c10528b767d4a3, 730ff06d3f5cc2ce0348414b78c10528b767d4a3, 730ff06d3f5cc2ce0348414b78c10528b767d4a3
LinuxLinux6.18, 0, 6.18.53
linuxlinux_kernel6.18, 6.18, 6.18
LinuxLinux730ff06d3f5cc2ce0348414b78c10528b767d4a3, 730ff06d3f5cc2ce0348414b78c10528b767d4a3, 730ff06d3f5cc2ce0348414b78c10528b767d4a3

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (5 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-97955
vulnetix vdb fixes CVE-2026-97955

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