CVE-2026-143214

Not scored yetLast modified Dec 3, 2026

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).

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= b1d13f7a3b5396503e6869ed627bb4eeab9b524f, < 720f35b64fc736c70343407e00318874f32ef0e3; >= b1d13f7a3b5396503e6869ed627bb4eeab9b524f, < 67869597fab06abaa5b977cb7004532269fc960b
LinuxLinux6.6

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143215In the Linux kernel, the following vulnerability has been resolved: net: fix mac_len of skbs copied by generic XDP skb_pp_cow_data() copieCVE-2026-143216In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: mesh: don't linearize SKBs unnecessarily If mesh fast-CVE-2026-143217In the Linux kernel, the following vulnerability has been resolved: ipvlan: make outbound skb headers writable In L3 and L3S modes, ipvlanCVE-2026-143218In the Linux kernel, the following vulnerability has been resolved: net: require a full socket in sock_confirm_neigh() An skb can retain dCVE-2026-143219In the Linux kernel, the following vulnerability has been resolved: net: protect negative destination advice with RCU SO_CNX_ADVICE calls CVE-2026-143225.3The Timetics WordPress plugin before 1.0.57 does not enforce a pending or unpaid status for new bookings created through a payment method oCVE-2026-143220In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Use only loaded devices for PTP clock operations The PTP perCVE-2026-143221In the Linux kernel, the following vulnerability has been resolved: team: fix promisc/allmulti leak in team_port_add error path team_port_CVE-2026-143222In the Linux kernel, the following vulnerability has been resolved: af_unix: Remove gc_in_progress check in unix_peek_fpl(). unix_vertex_dCVE-2026-143223In the Linux kernel, the following vulnerability has been resolved: af_unix: Convert unsigned long to u64 for GC. Lim Chanyoun reported thCVE-2026-143224In the Linux kernel, the following vulnerability has been resolved: spi: virtio: move teardown to .remove() The .remove() callback is not CVE-2026-143225In the Linux kernel, the following vulnerability has been resolved: net: raw: fix ICMP unreachable sent when receive queue is full It's fo
CVE-2026-143214: Unscored | Vulnix