Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39948— ice: fix Rx page leak on multi-buffer frames

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于处理多缓冲区帧时未正确释放Rx页面,可能导致内存泄漏。

CVSS 9.8 · Critical EPSS 0.29% · P20

Possible ATT&CK Techniques 1 AI

T1499.003 · Application Exhaustion Flood

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux ac1728cf370bec2e74fe6a2adf05b4629980d2b3< 8729dc4eeb502145418db5f2ca2192fd26f3efda affected
311813ed013c016d4b0b0985a9ee41f778489077< 80555adb5c892f0e21d243ae96ed997ee520aea9 affected
743bbd93cf29f653fae0e1416a31f03231689911< fcb5718ebfe7fd64144e3399280440cce361a3ae affected
743bbd93cf29f653fae0e1416a31f03231689911< 84bf1ac85af84d354c7a2fdbdc0d4efc8aaec34b affected
d445b59d30415bb56f4803f622d566bca06e0abc affected
6.6.78< 6.6.160 affected
6.12.14< 6.12.49 affected
6.13.3< 6.14 affected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39948

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ice: fix Rx page leak on multi-buffer frames
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于处理多缓冲区帧时未正确释放Rx页面,可能导致内存泄漏。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux ac1728cf370bec2e74fe6a2adf05b4629980d2b3 ~ 8729dc4eeb502145418db5f2ca2192fd26f3efda -
Linux Linux 6.14 -

II. Public POCs for CVE-2025-39948

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-39948

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-39948 (4)

Same Patch Batch · Linux · 2025-10-04 · 144 CVEs total

CVE-2025-39932 9.8 CRITICAL smb: client: let smbd_destroy() call disable_work_sync(&info->post_send_credits_work)
CVE-2025-39946 9.8 CRITICAL tls: make sure to abort the stream if headers are bogus
CVE-2025-39933 9.4 CRITICAL smb: client: let recv_done verify data_offset, data_length and remaining_data_length
CVE-2025-39943 9.4 CRITICAL ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer
CVE-2023-53600 9.1 CRITICAL tunnels: fix kasan splat when generating ipv4 pmtu error
CVE-2023-53615 8.8 HIGH scsi: qla2xxx: Fix deletion race condition
CVE-2025-39952 8.8 HIGH wifi: wilc1000: avoid buffer overflow in WID string configuration
CVE-2023-53589 8.8 HIGH wifi: iwlwifi: mvm: don't trust firmware n_channels
CVE-2023-53586 8.8 HIGH scsi: target: Fix multiple LUN_RESET handling
CVE-2022-50493 8.8 HIGH scsi: qla2xxx: Fix crash when I/O abort times out
CVE-2023-53598 8.4 HIGH bus: mhi: host: Range check CHDBOFF and ERDBOFF
CVE-2023-53552 7.8 HIGH drm/i915: mark requests for GuC virtual engines to avoid use-after-free
CVE-2023-53566 7.8 HIGH netfilter: nft_set_rbtree: fix null deref on element insertion
CVE-2023-53560 7.8 HIGH tracing/histograms: Add histograms to hist_vars if they have referenced variables
CVE-2023-53559 7.8 HIGH ip_vti: fix potential slab-use-after-free in decode_session6
CVE-2023-53557 7.8 HIGH fprobe: Release rethook after the ftrace_ops is unregistered
CVE-2023-53537 7.8 HIGH f2fs: fix to avoid use-after-free for cached IPU bio
CVE-2023-53539 7.8 HIGH RDMA/rxe: Fix incomplete state save in rxe_requester
CVE-2023-53545 7.8 HIGH drm/amdgpu: unmap and remove csa_va properly
CVE-2025-39931 7.8 HIGH crypto: af_alg - Set merge to zero early in af_alg_sendmsg

Showing top 20 of 144 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-39948

No comments yet


Leave a comment