CVE-2026-143226: idpf: free stashed XSk Rx frame when releasing the queue
In the Linux kernel, the following vulnerability has been resolved:
idpf: free stashed XSk Rx frame when releasing the queue
idpfxskrqpoll() stashes a partially received multi-buffer frame in rxq->xsk, with its frags on pool->xskblist. Nothing frees or clears rxq->xsk on queue release, as idpfrxdescrel() only returns the page stash sharing its storage for non-XSk queues.
On ifdown, the buffers are lost to user space and, as the pool outlives the queue, the stale frags are taken as frags of the next frame. If the pool is disabled on a running interface, the queue restarts in page mode with rxq->xdp.data still pointing to an xskb of the pool, which is freed later. The page path then takes it for a partial frame, writes frag info through it and returns it to a page pool.
Free the stashed frame and clear the pointer when the XSk state of the queue is cleared, while the pool is still attached.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
The issue affects Linux kernel systems using idpf receive queues with an XSk pool. It is relevant when a queue can hold a partially received multi-buffer XSk frame during queue or pool state changes.
What conditions can trigger the stale-frame handling problem?
A partially received multi-buffer frame may remain stashed when the interface is brought down and the queue is released. The issue can also occur when an XSk pool is disabled while the interface remains running, causing the queue to restart in page mode with stale XSk state.
What is the consequence of disabling the pool on a running interface?
The page-mode receive path can treat stale XSk data as a partial frame, write fragment information through it, and return it to a page pool. The stale object may already have been freed later in the sequence.