Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143226

idpf: free stashed XSk Rx frame when releasing the queue

Description

In the Linux kernel, the following vulnerability has been resolved: idpf: free stashed XSk Rx frame when releasing the queue idpf_xskrq_poll() stashes a partially received multi-buffer frame in rxq->xsk, with its frags on pool->xskb_list. Nothing frees or clears rxq->xsk on queue release, as idpf_rx_desc_rel() 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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9705d6552f5871a66b8701863567f11cee08dc76 to < 638d6c68bcfabe708c128522dfe733b776c64764affected
  • 9705d6552f5871a66b8701863567f11cee08dc76 to < 97202111a509c4db521b79710c386b730b4b3d6caffected
  • 9705d6552f5871a66b8701863567f11cee08dc76 to < 3cbee39da8251098e2631a106fafcaebc7c8e66baffected

Linux Linux

Default version status: affected

  • 6.18affected
  • 0 to < 6.18unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References