CVE-2026-97955
Last modified
CVE-2026-97955 is a vulnerability of currently unknown severity. 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.
Description
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 730ff06d3f5cc2ce0348414b78c10528b767d4a3, < 5b3cdc9abd82b7e49e0f1a21d6eb75466c5ecef8; >= 730ff06d3f5cc2ce0348414b78c10528b767d4a3, < 9801edfba8dfcdb1da3b0afccdf143e13d646b56; >= 730ff06d3f5cc2ce0348414b78c10528b767d4a3, < 4c46beb807efcc93f5899ebe1f5958248eb296c6 |
| Linux | Linux | 6.18 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-97955?
How severe is CVE-2026-97955?
How do I fix CVE-2026-97955?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9795A flaw was found in Keycloak's Fine-Grained Admin Permission…7.3
- CVE-2026-97950In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97951In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97952In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97953In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-97954In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97956In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97957In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-97958In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97959In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9796A flaw was found in Keycloak. An authenticated administrator…6.5
- CVE-2026-97960In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-97955?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
