CVE-2026-143214: net: mana: fix XDP_REDIRECT of pre-allocated RX buffers

Published Dec 3, 2026
·
Updated

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

5 affected componentsFixes available
Linux Linux kernel=7.2.11, =6.12.113
linux/kernel>=6.6.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux<=6.12.117-1, <=6.12.118-1, <=7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using an Azure MANA VF with XDP configured to redirect packets are exposed. The reported reproduction used an XDP program redirecting UDP traffic to an XSKMAP with an AF_XDP socket.

2

What conditions trigger the receive-queue failure?

The failure occurs when redirected packets use pre-allocated RX buffers that were allocated as plain pages but are associated with a page-pool memory model. These buffers can fill RX rings after an MTU change or ethtool -L or -G operation; on current kernels described here, every XDP attach and detach also causes this condition.

3

How can an operator tell that a queue has been affected?

A redirected packet triggers a WARN in include/net/page_pool/helpers.h. The page reference count is then broken, RX refills fail, and the affected queue stops receiving packets.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203