PT-2026-167199
CVE-2026-143341
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: fix XDP RX buffer DMA sync length
stmmac rx() bounded the DMA sync length by the largest data end seen
before and after the XDP program and passed it to page pool put page()
on the XDP CONSUMED path. bpf xdp adjust tail() zeroes the grown area,
which dirties the CPU cache, but a later negative adjust only moves
data end back. If the program grows and then shrinks the tail, both
endpoints miss the zeroed range, so those dirty cache lines are not
written back before the page is reused.
The length was also wrong since commit 88095728511e ("net: stmmac: fix
rx Scatter-Gather support") moved the page pool DMA window to offset 0
and set max len to dma buf sz + page offset: the driver still
subtracted buf->page offset, so it synced [base, data end - page offset)
instead of [base, data end).
On a non-coherent platform those dirty lines can be evicted after the
device has DMA'd the next frame into the recycled page and corrupt it.
Sync the whole page pool DMA window on the XDP CONSUMED path with
page pool recycle direct(), as the PASS path and page pool allocation
already do. The device only writes [page offset, page offset +
dma buf sz), so syncing [base, base + max len) covers every cache line
it can touch, regardless of how the program adjusted the packet.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾