Intel ice Driver CVE-2025-38417
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local privileged (root) shell
-
DeliveryCreate at least one SR-IOV VF on ice NIC
-
ExploitWrite to sysfs device reset node
-
ExecutionBlind port-representor alloc leaks percpu memory
-
ImpactRepeat 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
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
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.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB