CVE-2025-38417
ice: fix eswitch code memory leak in reset scenario
Mitigation
- Upgrade Linux to 48c8b214974dc55283bd5f12e3a483b27c403bbc or later.
Who should check
- Anyone running Linux >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < d6715193de439b79f1d6a4c03593c7529239b545; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < e97a7a051b55f55f276c1568491d0ed7f890ee94; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < 48c8b214974dc55283bd5f12e3a483b27c403bbc
- Anyone running Linux 6.12
Vulnerability facts
- Affected
- Linux >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < d6715193de439b79f1d6a4c03593c7529239b545; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < e97a7a051b55f55f276c1568491d0ed7f890ee94; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < 48c8b214974dc55283bd5f12e3a483b27c403bbc; Linux 6.12
- Fixed in
- Linux 48c8b214974dc55283bd5f12e3a483b27c403bbc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < d6715193de439b79f1d6a4c03593c7529239b545; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < e97a7a051b55f55f276c1568491d0ed7f890ee94; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < 48c8b214974dc55283bd5f12e3a483b27c403bbc | — | cvelist |
| Linux | 6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38417. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38417.md Affected: Linux >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < d6715193de439b79f1d6a4c03593c7529239b545; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < e97a7a051b55f55f276c1568491d0ed7f890ee94; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < 48c8b214974dc55283bd5f12e3a483b27c403bbc; Linux 6.12 Fixed in: Linux 48c8b214974dc55283bd5f12e3a483b27c403bbc Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-38417 being exploited?
There is no confirmed exploitation: CVE-2025-38417 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38417?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38417?
Linux >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < d6715193de439b79f1d6a4c03593c7529239b545; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < e97a7a051b55f55f276c1568491d0ed7f890ee94; >= 415db8399d06a45ebd7b7d26b951f831a4b01801, < 48c8b214974dc55283bd5f12e3a483b27c403bbc; Linux 6.12.
Is there a fix for CVE-2025-38417?
Yes. Fixed in Linux 48c8b214974dc55283bd5f12e3a483b27c403bbc. Upgrade Linux to 48c8b214974dc55283bd5f12e3a483b27c403bbc or later.
How do I check if I'm affected by CVE-2025-38417?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.