PT-2026-167072

CVE-2026-143214

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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).
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾