Skip to main content
VulnerabilityPublished

CVE-2026-143341: Linux kernel · net: stmmac: fix XDP RX buffer DMA sync length

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in 387f9d83dba3404c010500beb8e9555ad7d812bb : update Linux kernel when convenient.

Data as of 3 Dec 2026, 09:45 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 387f9d83dba3404c010500beb8e9555ad7d812bb, 363ff816277d4c7064514b160e655bed1dfb3ed8, 7cc35170975c30596dd52a97db0d3c1db21403e6

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Linux kernel to 387f9d83dba3404c010500beb8e9555ad7d812bb, 363ff816277d4c7064514b160e655bed1dfb3ed8 or 7cc35170975c30596dd52a97db0d3c1db21403e6.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ be8b38a722e68ffa069b7dfa887369c33d6ea886, < 387f9d83dba3404c010500beb8e9555ad7d812bb
Fixed in
  • 387f9d83dba3404c010500beb8e9555ad7d812bb
LinuxLinuxAffected
  • ≥ be8b38a722e68ffa069b7dfa887369c33d6ea886, < 363ff816277d4c7064514b160e655bed1dfb3ed8
Fixed in
  • 363ff816277d4c7064514b160e655bed1dfb3ed8
LinuxLinuxAffected
  • ≥ be8b38a722e68ffa069b7dfa887369c33d6ea886, < 7cc35170975c30596dd52a97db0d3c1db21403e6
Fixed in
  • 7cc35170975c30596dd52a97db0d3c1db21403e6
LinuxLinuxAffected
  • =5.13
Fixed in–

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.

References

Community reviews

Loading reviews…