AZL-118355: CVE-2026-143214 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: mana: fix XDPREDIRECT of pre-allocated RX buffers
manapreallocrxbufs() fills the RX rings with plain pages from devallocpages() (frompool == false), but the rxq is registered with MEMTYPEPAGEPOOL and manarunxdp() builds every xdpbuff with that rxq info. manarxskb() frees a !frompool buffer correctly on XDPPASS, XDPTX and XDPDROP, but a redirected buffer is freed through its memory model: xdpreturn() hands the plain page to pagepoolputfullnetmem(). This triggers the WARN in include/net/pagepool/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 AFXDP socket in copy mode gives WARNINGs at xdpreturn+0x249 (stack xskmapredirect, xdpdoredirect, manarunxdp, manapoll), then the queue stops.
Give each rxq a second xdprxqinfo registered with MEMTYPEPAGESHARED, 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 manarefillrxoob() before XDP runs, and pagefragfree() 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).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux MANA driver, give each RX queue a second xdp_rxq_info and use it for buffers that are not from the page pool.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue affects Azure MANA virtual functions that use XDP redirection. It is triggered when RX rings contain pre-allocated plain-page buffers, including rings created after an MTU change or ethtool queue/ring configuration changes.
What does an attacker or workload need to trigger the failure?
An XDP program must redirect received packets. On current kernels, the first redirected packet after attaching an XDP program can trigger the problem because XDP attach and detach create RX rings populated with pre-allocated buffers.
What are the operational symptoms?
The kernel can emit a page-pool helper warning, page reference counts can be corrupted, and RX ring refills can fail. The affected receive queue can then stop receiving traffic.