On 12/4/26 16:22, Maciej Fijalkowski wrote:
> On Wed, Dec 02, 2026 at 05:01:46PM -0600, Frederick Lawler wrote:
>> In the XDP_PASS receive path, xdp_build_skb_from_buff() can return >> NULL when it cannot allocate an skb head. ICE currently clears >> xdp->data before checking for that failure, then passes the buffer to >> libeth_xdp_return_buff_slow(). The return helper needs xdp->data to >> find and recycle the page-pool buffer, so the NULL pointer can cause >> a page fault instead. >> >> Leave xdp->data intact on the failure path so the helper can recycle >> the buffer; it clears the pointer afterward. On success, clear the >> pointer only after the skb has taken ownership of the buffer. >> >> Observed on a real machine. Patch not yet tested on a real machine.
> > Hi Frederick, > what stopped you from testing? >
This have been backported to CF kernels and is currently rolling to production. I guess at the time of writing this was true.
> Besides, nice finding! > Reviewed-by: Maciej Fijalkowski <maci…@intel.com>
Acked-by: Jesper Dangaard Brouer <ha…@kernel.org> --Jesper