CVE-2025-39948
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39948 was disclosed on October 4, 2025, affecting the Linux kernel. The vulnerability specifically involves a page leak issue in the ice driver's handling of multi-buffer frames. The issue occurs in the iceputrx_mbuf() function, which is responsible for managing buffer handling in the network driver (NVD).

Technical details

The vulnerability stems from improper handling of descriptors with size 0 in the iceputrxmbuf() function. When the hardware posts a descriptor with size 0, the logic breaks as these descriptors are skipped and not added as fragments in iceaddxdpfrag. Since the buffer isn't counted as a fragment, it's not iterated over in iceputrxmbuf(), resulting in iceputrxbuf() not being called. This leads to the page not being freed or reused, causing a stale page in the ring. The issue primarily occurs with jumbo frames used by 9K MTU (NVD).

Impact

The vulnerability results in memory leaks specifically for multi-buffer frames in the Linux kernel's ice driver. Single-buffer frames are not affected as the iceputrx_mbuf() function always handles at least one buffer correctly. The leak occurs when handling certain network packets, particularly with jumbo frames using 9K MTU (NVD).

Mitigation and workarounds

The fix involves modifying iceputrxmbuf() to ensure iceputrxbuf() is called on all buffers between firstdesc and nexttoclean. The solution borrows logic from a similar function in i40e and applies it to icegetpgcnts(). The patch also includes improvements to handle pagecntbias adjustments for non-linear frames and optimization of xdp_xmit handling (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management