AZL-118625: CVE-2026-143345 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: drop split frames on AFXDP zero-copy RX

stmmacrxzc() assumes a 1:1 mapping between a received frame and an XSK pool buffer and drops any frame that spans more than one RX descriptor:

/ XSK pool expects RX frame 1:1 mapped to XSK buffer / if (likely(status & rxnotls)) { xskbufffree(buf->xdp); buf->xdp = NULL; dirty++; count++; goto readagain; }

The non-last descriptors are freed and dropped, but the frame is not marked as errored. When the poll reaches the last descriptor of the same frame, error is still 0, so the fragment is handled as a complete frame: it is passed to the XDP program, copied into an skb on XDPPASS, or converted for XDPTX. The tail starts in the middle of the original payload at a predictable offset and, parsed as a fresh frame (len == 0), stmmacrxbuf1len() reports the full dmabufsz length for it even though the DMA engine only wrote the tail remainder into that buffer, so the reads extend past the received bytes and can reach beyond the end of the XSK pool buffer. GMAC4 always enables jumbo frames (GMACCONFIGJE in GMACCOREINIT), so an on-link peer can trigger such a split even when the interface MTU is left at 1500.

Set error when the 1:1 mapping check drops a descriptor, so the remaining descriptors of the frame - including the last one - are drained and released with xskbufffree() instead of being processed as a new frame. Account every freed buffer with dirty and count the dropped frame once in the poll budget / rxpktn. The direct 1:1 mapping drop also increments rxdropped.

Use a bit test instead of an equality test for discardframe. Commit 644b8437ccef9e ("net: stmmac: dwmac4: report Rx checksum errors in status") made dwmac4wrbackgetrxstatus() set discardframe on RDES3ERRORSUMMARY and OR in csumnone on RDES1IPHDRERROR or RDES1IPPAYLOADERROR, so it can return discardframe | csumnone. The old "status == discardframe" test missed that value and delivered frames with CRC, overflow, watchdog or giant errors to the stack in stmmacrx() - or to XDP/XSK in stmmacrxzc() - when they also failed the IP checksum. The change therefore affects the regular RX path, not only zero-copy. The bit test is also required for the discardframe | rxnotls value returned for non-last legacy descriptors below.

Normalize the legacy normal and enhanced descriptor callbacks to report rxnotls together with discardframe for non-last descriptors. This allows both stmmacrxzc() and stmmacrx() to drain split frames on dwmac100 and dwmac1000 instead of reparsing the final fragment as a new packet.

Affected Software

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

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

What conditions are needed for this issue to be reachable?

The affected receive path is stmmac AF_XDP zero-copy RX, which assumes each received frame maps to one XSK pool buffer. The issue is triggered when a received frame spans multiple RX descriptors.

2

Can a remote attacker trigger it?

The description identifies an on-link peer as able to trigger the condition. GMAC4 enables jumbo frames during initialization, which makes split frames relevant on that hardware.

3

What is the likely effect when the malformed split frame is processed?

The final fragment can be treated as a complete frame and passed to XDP, copied into an skb, or prepared for XDP_TX. Reads may extend beyond the bytes received and potentially beyond the end of the XSK pool buffer.

4

How can I identify systems that need review?

Review systems using the azure-linux/kernel package version 6.6.161.1-1, particularly where the stmmac driver is used with AF_XDP zero-copy receive processing.

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