Skip to main content

Intel ice Driver CVE-2025-38417

MEDIUM
Memory Leak (CWE-401)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local privileged (root) shell
  2. Delivery
    Create at least one SR-IOV VF on ice NIC
  3. Exploit
    Write to sysfs device reset node
  4. Execution
    Blind port-representor alloc leaks percpu memory
  5. Impact
    Repeat resets to gradually exhaust kernel memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Requires a host running the Intel ice driver (E800-series NICs) with SR-IOV enabled and at least one VF present, plus a reset event that drives the VF detach/attach path - either a sysfs write to /sys/class/net/ethX/device/reset or PCI error recovery (ice_pci_err_resume). The leak specifically manifests in legacy eswitch mode (the default), where port representor structures are allocated during VF re-attach but never freed; in switchdev mode the memory is used and released normally. Limiting factors: exploitation is local only, requires privileges sufficient to configure SR-IOV and trigger device resets (effectively root), is confined to systems with the specific Intel ice hardware/driver, and each occurrence leaks only a small (~40-byte percpu) allocation so meaningful impact needs many repeated resets.

Impact

All signals converge on low real-world priority despite the medium 5.5 CVSS base score. The provided vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) is local-only with no confidentiality or integrity impact - a memory leak (CWE-401) whose sole rated effect is availability. EPSS reinforces this: 0.19% probability at the 9th percentile, indicating essentially no expectation of broad exploitation. The CVE is not listed in CISA KEV and the input provides no PoC or exploit reference (all three references are kernel.org patch commits), so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', the lowest of the urgency tiers, consistent with the other signals. Two caveats worth stating explicitly: (1) the NVD vector assigns PR:L, but triggering this requires root-level sysfs writes to configure SR-IOV (sriov_numvfs) and to issue a device reset - I independently assess PR:H. (2) The vector assigns A:H, yet the kmemleak trace shows only ~40 bytes of percpu memory leaked per reset, so realistic availability impact is a slow gradual leak requiring sustained privileged abuse, not a practical single-shot DoS; I assess A:L. Given that a root-capable local actor can already degrade the host, the net added risk is marginal.

Exploit ScenarioDerived

A local actor with root privileges on a host using the Intel ice driver with at least one SR-IOV VF created repeatedly triggers device resets (via /sys/class/net/ethX/device/reset or through PCI error recovery). Each reset re-runs the VF attach path, which blindly allocates port representor memory that is never freed in legacy eswitch mode, slowly leaking kernel memory over many iterations. No public exploit is required or identified; the leak is reproducible with the vendor's own testing steps (create a VF, then write to the reset sysfs node).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

A kernel memory leak in the Intel ice driver's eswitch VF attach path causes percpu port-representor allocations to be created and then abandoned when a device reset triggers VF detach/attach while the NIC is in legacy eswitch mode, so repeated resets steadily consume kernel memory and can eventually degrade or exhaust it. Affected are Linux kernel builds containing the ice driver for E800-series NICs where SR-IOV is enabled with at least one VF; the leak is reached through a sysfs write to /sys/class/net/ethX/device/reset or through PCI error recovery (ice_pci_err_resume), both of which require privileges equivalent to root, which is why the assessed vector is local, high-privilege and availability-only. No public exploit has been identified at time of analysis, EPSS is 0.19% (9th percentile), and a vendor patch exists in the stable tree; because each occurrence leaks only a small (~40-byte percpu) object, meaningful impact requires many repeated resets.

RemediationAI

Patch available per vendor advisory: apply the upstream ice eswitch fix from the stable tree, selecting the backport that matches the running kernel branch - https://git.kernel.org/stable/c/48c8b214974dc55283bd5f12e3a483b27c403bbc, https://git.kernel.org/stable/c/d6715193de439b79f1d6a4c03593c7529239b545 or https://git.kernel.org/stable/c/e97a7a051b55f55f276c1568491d0ed7f890ee94 - or update to a distribution kernel that carries the fix. Where the patch cannot be applied immediately, the leaked allocations only occur on the legacy eswitch path, so hosts that operate the ice ports in switchdev mode do not hit the leak, at the cost of changing how port representors are exposed and consumed by the networking stack; alternatively, restrict who can write to /sys/class/net/ethX/device/reset and avoid unnecessary SR-IOV reset or PCI error-recovery cycles, since the leak requires privileged reset operations and accumulates only a small percpu object per reset.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-401 (missing release of memory after effective lifetime) in the Intel ice driver's eswitch layer. During switchdev operation the driver builds per-VF port representor structures with ice_repr_create/ice_repr_create_vf via percpu_alloc, invoked from ice_eswitch_attach_vf during the VF re-attach that follows a reset (the kmemleak trace shows ice_reset_all_vfs -> ice_eswitch_attach_vf -> ice_repr_create_vf -> ice_repr_create -> pcpu_alloc_noprof, reached from the device reset sysfs store and from ice_pci_err_resume). In the current implementation those representor allocations are made unconditionally, so when the eswitch is in legacy mode the structures are never used and never freed, leaving unreferenced percpu memory behind. The upstream fix adds a simple eswitch-mode check in the VF attach procedure so the representor memory is allocated only in switchdev mode, matching the mode in which the structures are actually consumed and released. The issue is a resource-lifetime defect rather than a memory-corruption bug: there is no out-of-bounds write or use-after-free described, so the practical consequence is kernel memory growth proportional to the number of resets performed on SR-IOV-capable ice hardware.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 2.3 LOW

Triggering requires root to configure SR-IOV and write the sysfs device reset, so AV:L and PR:H; each reset leaks only ~40 bytes, so A:L with no C/I impact.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 4.7 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

ice: fix eswitch code memory leak in reset scenario

Add simple eswitch mode checker in attaching VF procedure and allocate required port representor memory structures only in switchdev mode. The reset flows triggers VF (if present) detach/attach procedure. It might involve VF port representor(s) re-creation if the device is configured is switchdev mode (not legacy one). The memory was blindly allocated in current implementation, regardless of the mode and not freed if in legacy mode.

Kmemeleak trace: unreferenced object (percpu) 0x7e3bce5b888458 (size 40): comm "bash", pid 1784, jiffies 4295743894 hex dump (first 32 bytes on cpu 45): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): pcpu_alloc_noprof+0x4c4/0x7c0 ice_repr_create+0x66/0x130 [ice] ice_repr_create_vf+0x22/0x70 [ice] ice_eswitch_attach_vf+0x1b/0xa0 [ice] ice_reset_all_vfs+0x1dd/0x2f0 [ice] ice_pci_err_resume+0x3b/0xb0 [ice] pci_reset_function+0x8f/0x120 reset_store+0x56/0xa0 kernfs_fop_write_iter+0x120/0x1b0 vfs_write+0x31c/0x430 ksys_write+0x61/0xd0 do_syscall_64+0x5b/0x180 entry_SYSCALL_64_after_hwframe+0x76/0x7e

Testing hints (ethX is PF netdev):

  • create at least one VF

echo 1 > /sys/class/net/ethX/device/sriov_numvfs

  • trigger the reset

echo 1 > /sys/class/net/ethX/device/reset

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous; actual flaw confined to Intel ice SR-IOV deployments
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy