Skip to main content
Network Thinking Solutions Logo

CVE-2026-97955

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

All CVEs
CVE-2026-97955Published 9/25/2026

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

Vendor advisory
CVSS—Unscored

Overview

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.

Published
9/25/2026
Last modified
10/19/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 730ff06d3f5cc2ce0348414b78c10528b767d4a3, < 5b3cdc9abd82b7e49e0f1a21d6eb75466c5ecef8

Verify advisory

Source
Linux
Linux
≥ 730ff06d3f5cc2ce0348414b78c10528b767d4a3, < 9801edfba8dfcdb1da3b0afccdf143e13d646b56

Verify advisory

Source
Linux
Linux
≥ 730ff06d3f5cc2ce0348414b78c10528b767d4a3, < 4c46beb807efcc93f5899ebe1f5958248eb296c6

Verify advisory

Source
Linux
Linux
6.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.