# CVE-2025-38664: ice: Fix a null pointer dereference in ice\_copy\_and\_init\_pkg()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-08-22T16:02:56.707Z
- **Modified:** 2026-11-05T22:17:22.653Z

## Who should check

- Anyone running Linux \>= c7648810961682b9388be2dd041df06915647445, \< 35370d3b44efe194fd5ad55bac987e629597d782; \>= c7648810961682b9388be2dd041df06915647445, \< 435462f8ab2b9c5340a5414ce02f70117d0cfede; \>= c7648810961682b9388be2dd041df06915647445, \< 7c5a13c76dd37e9e4f8d48b87376a54f4399ce15; \>= c7648810961682b9388be2dd041df06915647445, \< 1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b; \>= c7648810961682b9388be2dd041df06915647445, \< 3028f2a4e746b499043bbb8ab816f975473a0535; \>= c7648810961682b9388be2dd041df06915647445, \< 0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7; \>= c7648810961682b9388be2dd041df06915647445, \< 6d640a8ea62435a7f6f89869bee4fa99423d07ca; \>= c7648810961682b9388be2dd041df06915647445, \< 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36
- Anyone running Linux 5.4

## Description

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

ice: Fix a null pointer dereference in ice\_copy\_and\_init\_pkg()

Add check for the return value of devm\_kmemdup()
to prevent potential null pointer dereference.

## Affected and fixed versions

- Linux: \>= c7648810961682b9388be2dd041df06915647445, \< 35370d3b44efe194fd5ad55bac987e629597d782; \>= c7648810961682b9388be2dd041df06915647445, \< 435462f8ab2b9c5340a5414ce02f70117d0cfede; \>= c7648810961682b9388be2dd041df06915647445, \< 7c5a13c76dd37e9e4f8d48b87376a54f4399ce15; \>= c7648810961682b9388be2dd041df06915647445, \< 1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b; \>= c7648810961682b9388be2dd041df06915647445, \< 3028f2a4e746b499043bbb8ab816f975473a0535; \>= c7648810961682b9388be2dd041df06915647445, \< 0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7; \>= c7648810961682b9388be2dd041df06915647445, \< 6d640a8ea62435a7f6f89869bee4fa99423d07ca; \>= c7648810961682b9388be2dd041df06915647445, \< 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38664. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38664.md
Affected: Linux >= c7648810961682b9388be2dd041df06915647445, < 35370d3b44efe194fd5ad55bac987e629597d782; >= c7648810961682b9388be2dd041df06915647445, < 435462f8ab2b9c5340a5414ce02f70117d0cfede; >= c7648810961682b9388be2dd041df06915647445, < 7c5a13c76dd37e9e4f8d48b87376a54f4399ce15; >= c7648810961682b9388be2d…
Fixed in: Linux 35370d3b44efe194fd5ad55bac987e629597d782, Linux 435462f8ab2b9c5340a5414ce02f70117d0cfede, Linux 7c5a13c76dd37e9e4f8d48b87376a54f4399ce15, Linux 1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b, Linux 3028f2a4e746b499043bbb8ab816f975473a0535, Linux 0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7, Linux 6d640…

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.
```

## FAQ

### Is CVE-2025-38664 being exploited?

There is no confirmed exploitation: CVE-2025-38664 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38664?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38664?

Linux \>= c7648810961682b9388be2dd041df06915647445, \< 35370d3b44efe194fd5ad55bac987e629597d782; \>= c7648810961682b9388be2dd041df06915647445, \< 435462f8ab2b9c5340a5414ce02f70117d0cfede; \>= c7648810961682b9388be2dd041df06915647445, \< 7c5a13c76dd37e9e4f8d48b87376a54f4399ce15; \>= c7648810961682b9388be2dd041df06915647445, \< 1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b; \>= c7648810961682b9388be2dd041df06915647445, \< 3028f2a4e746b499043bbb8ab816f975473a0535; \>= c7648810961682b9388be2dd041df06915647445, \< 0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7; \>= c7648810961682b9388be2dd041df06915647445, \< 6d640a8ea62435a7f6f89869bee4fa99423d07ca; \>= c7648810961682b9388be2dd041df06915647445, \< 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36; Linux 5.4.

### Is there a fix for CVE-2025-38664?

Yes. Fixed in Linux 35370d3b44efe194fd5ad55bac987e629597d782, Linux 435462f8ab2b9c5340a5414ce02f70117d0cfede, Linux 7c5a13c76dd37e9e4f8d48b87376a54f4399ce15, Linux 1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b, Linux 3028f2a4e746b499043bbb8ab816f975473a0535, Linux 0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7, Linux 6d640a8ea62435a7f6f89869bee4fa99423d07ca, Linux 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36. Upgrade Linux to 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36 or later.

### How do I check if I'm affected by CVE-2025-38664?

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.

## References

- patch: <https://git.kernel.org/stable/c/35370d3b44efe194fd5ad55bac987e629597d782>
- patch: <https://git.kernel.org/stable/c/435462f8ab2b9c5340a5414ce02f70117d0cfede>
- patch: <https://git.kernel.org/stable/c/7c5a13c76dd37e9e4f8d48b87376a54f4399ce15>
- patch: <https://git.kernel.org/stable/c/1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b>
- patch: <https://git.kernel.org/stable/c/3028f2a4e746b499043bbb8ab816f975473a0535>
- patch: <https://git.kernel.org/stable/c/0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7>
- patch: <https://git.kernel.org/stable/c/6d640a8ea62435a7f6f89869bee4fa99423d07ca>
- patch: <https://git.kernel.org/stable/c/4ff12d82dac119b4b99b5a78b5af3bf2474c0a36>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38664>

HTML: <https://flawdb.com/CVE-2025-38664> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38664>
