CVE-2026-143341
Received Received - Intake

Buffer Overflow in Linux Kernel XDP RX Handling

Vulnerability report for CVE-2026-143341, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Linux kernel's stmmac network driver. It involves incorrect DMA buffer synchronization when handling XDP (eXpress Data Path) packets. The issue occurs when the XDP program adjusts packet data, causing dirty cache lines to not be written back before page reuse. This can lead to data corruption on non-coherent platforms where the device DMA's into recycled pages.

Detection Guidance

This vulnerability affects the Linux kernel's stmmac network driver with XDP support. Detection requires checking kernel version and stmmac driver behavior. Inspect kernel logs for stmmac errors or XDP-related issues. Verify if your system uses stmmac with XDP enabled by checking loaded kernel modules and network interface configurations.

Impact Analysis

If you use a Linux system with the stmmac network driver and XDP features enabled, this vulnerability could cause network packet corruption. On systems with non-coherent DMA caches, it may lead to data integrity issues where network frames are altered or lost during processing.

Mitigation Strategies

Apply the latest kernel security updates from your Linux distribution. If using XDP with stmmac, disable XDP on affected interfaces until patched. Monitor for corrupted network traffic or crashes. Consider disabling stmmac XDP features if not critical for operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143341. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...