AZL-118379: CVE-2026-143230 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ice: xsk: do not free in-flight frags on XDPTX completion
icexmitxdptxzc() takes the frags of a multi-buffer frame off pool->xskblist but leaves XDPFLAGSHASFRAGS set on the head. When the head completes, xskbufffree() frees whatever is on the list at that point, which are the frags of a frame still being received.
If icexmitxdptxzc() completes such a head while cleaning the ring before sending another frame, xskbuffgetfrag() returns NULL and xskbuffxdpgetdma() dereferences it.
Clear the flag on the head once its frags are on the ring. As xdpgetbufflen() then covers only the head, count Rx bytes before running the XDP program, like libeth does.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel ice XSK XDP path, clear XDP_FLAGS_HAS_FRAGS on the head once its frags are on the ring, and count Rx bytes before running the XDP program, as libeth does.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue affects Azure Linux systems using the kernel package version 6.6.161.1-1. The vulnerable code is in the Intel Ethernet Controller (ice) driver's AF_XDP zero-copy transmit handling.
What conditions are needed to trigger the flaw?
The affected path involves multi-buffer XDP frames, AF_XDP zero-copy transmission, and completion processing in the ice driver. A completion occurring while the transmit ring is being cleaned before another frame is sent can cause a NULL fragment pointer to be dereferenced.
How can I tell whether a system is affected?
Check the installed Azure Linux kernel package version. Systems running kernel 6.6.161.1-1 are identified as affected by the provided advisory data.