AZL-118613: CVE-2026-143341 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: stmmac: fix XDP RX buffer DMA sync length

stmmacrx() bounded the DMA sync length by the largest dataend seen before and after the XDP program and passed it to pagepoolputpage() on the XDPCONSUMED path. bpfxdpadjusttail() zeroes the grown area, which dirties the CPU cache, but a later negative adjust only moves dataend 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 pagepool DMA window to offset 0 and set maxlen to dmabufsz + pageoffset: the driver still subtracted buf->pageoffset, so it synced [base, dataend - pageoffset) instead of [base, dataend).

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 pagepool DMA window on the XDPCONSUMED path with pagepoolrecycledirect(), as the PASS path and pagepool allocation already do. The device only writes [pageoffset, pageoffset + dmabufsz), so syncing [base, base + maxlen) covers every cache line it can touch, regardless of how the program adjusted the packet.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    On the XDP_CONSUMED path, sync the whole page_pool DMA window before recycling the page: set max_len to dma_buf_sz + page_offset and sync [base, base + max_len).

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

Exposure requires the stmmac network driver on a non-coherent platform, with XDP processing that recycles receive pages through the XDP_CONSUMED path. The affected package identified is azure-linux/kernel 6.6.161.1-1.

2

What XDP behavior triggers the unsafe DMA synchronization?

An XDP program must grow the packet tail with bpf_xdp_adjust_tail(), which zeroes and dirties the newly added area, then shrink the tail again before consuming the packet. This can leave the zeroed range outside both observed data_end boundaries when the page is recycled.

3

What is the expected consequence if the condition occurs?

Dirty CPU cache lines may be written back after the device has DMA'd a subsequent frame into the recycled page. This can corrupt that next received frame.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203