In the Linux kernel, the following vulnerability has been resolved:
ice: fix Rx page leak on multi-buffer frames
The ice_put_rx_mbuf() function handles calling ice_put_rx_buf() for each buffer in the current frame. This function was introduced as part of handling multi-buffer XDP support in the ice driver.
It works by iterating over the buffers from first_desc up to 1 plus the total number of fragments in the frame, cached from before the XDP program was executed.
If the hardware posts a descriptor with a size of 0, the logic used in ice_put_rx_mbuf() breaks. Such descriptors get skipped and don't get added as fragments in ice_add_xdp_frag. Since the buffer isn't counted as a fragment, we do not iterate over it in ice_put_rx_mbuf(), and thus we don't call ice_put_rx_buf().
Because we don't call ice_put_rx_buf(), we don't attempt to re-use the page or free it. This leaves a stale page in the ring, as we don't increment next_to_alloc.
The ice_reuse_rx_page() assumes that the next_to_alloc has been incremented properly, and that it always points to a buffer with a NULL page. Since this function doesn't check, it will happily recycle a page over the top of the next_to_alloc buffer, losing track of the old page.
Note that this leak only occurs for multi-buffer frames. The ice_put_rx_mbuf() function always handles at least one buffer, so a single-buffer frame will always get handled correctly. It is not clear precisely why the hardware hands us descriptors with a size of 0 sometimes, but it happens somewhat regularly with "jumbo frames" used by 9K MTU.
To fix ice_put_rx_mbuf(), we need to make sure to call ice_put_rx_buf() on all buffers between first_desc and next_to_clean. Borrow the logic of a similar function in i40e used for this same purpose. Use the same logic also in ice_get_pgcnts().
Instead of iterating over just the number of fragments, use a loop which iterates until the current index reaches to the next_to_clean element just past the current frame. Unlike i40e, the ice_put_rx_mbuf() function does call ice_put_rx_buf() on the last buffer of the frame indicating the end of packet.
For non-linear (multi-buffer) frames, we need to take care when adjusting the pagecnt_bias. An XDP program might release fragments from the tail of the frame, in which case that fragment page is already released. Only update the pagecnt_bias for the first descriptor and fragments still remaining post-XDP program. Take care to only access the shared info for fragmented buffers, as this avoids a significant cache miss.
The xdp_xmit value only needs to be updated if an XDP program is run, and only once per packet. Drop the xdp_xmit pointer argument from ice_put_rx_mbuf(). Instead, set xdp_xmit in the ice_clean_rx_irq() function directly. This avoids needing to pass the argument and avoids an extra bit-wise OR for each buffer in the frame.
Move the increment of the ntc local variable to ensure its updated *before* all calls to ice_get_pgcnts() or ice_put_rx_mbuf(), as the loop logic requires the index of the element just after the current frame.
Now that we use an index pointer in the ring to identify the packet, we no longer need to track or cache the number of fragments in the rx_ring.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Oracle_linux | — | Upgrade kernel-uek | Nov 11, 2025 | Oct 4, 2025 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Oct 4, 2025 |
| Suse | — | Upgrade kernel-default-baseUpgrade kernel-docsUpgrade kernel-symsUpgrade reiserfs-kmp-defaultUpgrade kernel-zfcpdumpUpgrade kernel-default-develUpgrade kernel-64kbUpgrade kernel-64kb-develUpgrade kernel-develUpgrade kernel-default-extraUpgrade kernel-sourceUpgrade kernel-obs-buildUpgrade kernel-macrosUpgrade kernel-default | Dec 5, 2025 | Nov 11, 2025 |
| Ubuntu | — | Upgrade linux-image-6.8.0-1050-aws-fipsUpgrade linux-image-ibm-6.8Upgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-aws-64kUpgrade linux-image-6.8.0-1049-nvidia-lowlatencyUpgrade linux-image-fipsUpgrade linux-image-6.8.0-1050-aws-64kUpgrade linux-image-azure-6.8Upgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-generic-lpaeUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-raspi-realtimeUpgrade linux-image-realtime-hwe-22.04Upgrade linux-image-6.8.0-1048-gke-64kUpgrade linux-image-realtimeUpgrade linux-image-6.8.0-1050-raspiUpgrade linux-image-xilinxUpgrade linux-image-awsUpgrade linux-image-nvidia-64k-6.8Upgrade linux-image-virtualUpgrade linux-image-fips-6.8Upgrade linux-image-6.8.1-1045-realtimeUpgrade linux-image-oracleUpgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-aws-64k-6.8Upgrade linux-image-gcpUpgrade linux-image-gkeop-6.8Upgrade linux-image-intel-iotgUpgrade linux-image-gkeUpgrade linux-image-oem-22.04Upgrade linux-image-6.8.0-1050-awsUpgrade linux-image-6.8.0-1052-gcp-fipsUpgrade linux-image-6.8.0-106-generic-64kUpgrade linux-image-xilinx-zynqmpUpgrade linux-image-nvidia-lowlatency-64k-6.8Upgrade linux-image-6.8.0-1047-oracleUpgrade linux-image-lowlatency-64kUpgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-azure-fips-6.8Upgrade linux-image-6.8.0-1049-ibmUpgrade linux-image-6.8.0-1049-nvidiaUpgrade linux-image-6.8.0-1035-gkeopUpgrade linux-image-6.8.0-1048-gkeUpgrade linux-image-6.8.0-1049-nvidia-64kUpgrade linux-image-oem-22.04bUpgrade linux-image-6.8.0-1052-gcpUpgrade linux-image-gcp-6.8Upgrade linux-image-ibm-classicUpgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-generic-6.8Upgrade linux-image-lowlatency-64k-6.8Upgrade linux-image-gcp-64k-6.8Upgrade linux-image-generic-64k-6.8Upgrade linux-image-nvidiaUpgrade linux-image-xilinx-6.8Upgrade linux-image-raspi-realtime-6.8Upgrade linux-image-azureUpgrade linux-image-6.8.0-1051-azureUpgrade linux-image-gcp-fips-6.8Upgrade linux-image-gkeopUpgrade linux-image-6.8.0-1052-azure-fipsUpgrade linux-image-oracle-64kUpgrade linux-image-aws-fipsUpgrade linux-image-6.8.0-2040-raspi-realtimeUpgrade linux-image-6.8.0-106-fipsUpgrade linux-image-gcp-64kUpgrade linux-image-oracle-64k-6.8Upgrade linux-image-aws-fips-6.8Upgrade linux-image-virtual-hwe-22.04Upgrade linux-image-realtime-6.8.1Upgrade linux-image-generic-hwe-22.04Upgrade linux-image-azure-fipsUpgrade linux-image-gcp-lts-24.04Upgrade linux-image-6.8.0-106-genericUpgrade linux-image-6.8.0-1052-gcp-64kUpgrade linux-image-kvmUpgrade linux-image-nvidia-lowlatencyUpgrade linux-image-lowlatencyUpgrade linux-image-oracle-lts-24.04Upgrade linux-image-oem-22.04cUpgrade linux-image-gke-64kUpgrade linux-image-oem-22.04aUpgrade linux-image-intel-iot-realtimeUpgrade linux-image-virtual-6.8Upgrade linux-image-6.8.0-106-lowlatencyUpgrade linux-image-gke-6.8Upgrade linux-image-aws-6.8Upgrade linux-image-oem-22.04dUpgrade linux-image-azure-lts-24.04Upgrade linux-image-oracle-6.8Upgrade linux-image-nvidia-64kUpgrade linux-image-lowlatency-6.8Upgrade linux-image-genericUpgrade linux-image-6.8.0-1047-oracle-64kUpgrade linux-image-6.8.0-1029-xilinxUpgrade linux-image-raspiUpgrade linux-image-nvidia-lowlatency-6.8Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-gke-64k-6.8Upgrade linux-image-6.8.0-1049-nvidia-lowlatency-64kUpgrade linux-image-nvidia-6.8Upgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-ibm-lts-24.04Upgrade linux-image-ibmUpgrade linux-image-generic-64kUpgrade linux-image-gcp-fipsUpgrade linux-image-aws-lts-24.04Upgrade linux-image-6.8.0-106-lowlatency-64kUpgrade linux-image-raspi-6.8 | Mar 17, 2026 | Oct 4, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub