CVE-2026-143214
Received Received - Intake

XDP Redirect Issue in Linux Kernel MANA Driver

Vulnerability report for CVE-2026-143214, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: mana: fix XDP_REDIRECT of pre-allocated RX buffers mana_pre_alloc_rxbufs() fills the RX rings with plain pages from dev_alloc_pages() (from_pool == false), but the rxq is registered with MEM_TYPE_PAGE_POOL and mana_run_xdp() builds every xdp_buff with that rxq info. mana_rx_skb() frees a !from_pool buffer correctly on XDP_PASS, XDP_TX and XDP_DROP, but a redirected buffer is freed through its memory model: __xdp_return() hands the plain page to page_pool_put_full_netmem(). This triggers the WARN in include/net/page_pool/helpers.h, breaks the page refcount, RX refills fail and the queue stops receiving. The pre-allocated buffers fill the whole ring of every rxq created by an MTU change, by ethtool -L / -G and, since commit 730ff06d3f5c ("net: mana: Use page pool fragments for RX buffers instead of full pages to improve memory efficiency."), by every XDP attach and detach. So on current kernels the first ring of redirected packets after attaching an XDP program always hits this. Reproduced on 7.2.11, and on 6.12.113 after ethtool -L, on an Azure MANA VF: an XDP program that redirects UDP to an XSKMAP with an AF_XDP socket in copy mode gives WARNINGs at __xdp_return+0x249 (stack __xsk_map_redirect, xdp_do_redirect, mana_run_xdp, mana_poll), then the queue stops. Give each rxq a second xdp_rxq_info registered with MEM_TYPE_PAGE_SHARED, the model these buffers had before the page pool was added, and use it for buffers that are not from the pool. Those buffers are already DMA-unmapped by mana_refill_rx_oob() before XDP runs, and page_frag_free() frees them whatever their order. Allocating the pre-allocated buffers from the page pool instead would need the pools to exist before the rxqs and to outlive them, a much larger change. Found, fixed and tested with an AI coding assistant (Claude Code).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.2.11
linux linux_kernel 6.12.113

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the mana network driver where pre-allocated RX buffers are incorrectly handled during XDP_REDIRECT operations. The issue occurs because these buffers are filled with plain pages but registered with a memory pool type that expects different handling. When redirected, the buffers are freed incorrectly, triggering warnings, breaking page refcounts, and causing RX refills to fail, ultimately stopping the queue from receiving packets.

Detection Guidance

This vulnerability manifests as warnings in the kernel logs when XDP_REDIRECT is used with pre-allocated RX buffers. Check kernel logs for warnings from page_pool helpers. Look for messages like 'WARNING in __xdp_return' or 'page_pool_put_full_netmem' during XDP operations.

Impact Analysis

This vulnerability can cause network performance issues or outages in systems using the Linux kernel with the mana driver. Specifically, it may lead to packet drops, system warnings, and potential crashes when XDP programs redirect traffic, particularly after MTU changes, ethtool adjustments, or XDP attach/detach operations.

Mitigation Strategies

Apply the kernel patch that separates xdp_rxq_info for pooled and non-pooled buffers. Avoid using XDP_REDIRECT with pre-allocated RX buffers until patched. Monitor kernel logs for related warnings as an indicator of exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143214. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...