# CVE-2025-38301: nvmem: zynqmp_nvmem: unbreak driver after cleanup

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-07-10T07:42:13.455Z
- Modified: 2026-06-17T09:16:34.830Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

nvmem: zynqmp_nvmem: unbreak driver after cleanup

Commit 29be47fcd6a0 ("nvmem: zynqmp_nvmem: zynqmp_nvmem_probe cleanup")
changed the driver to expect the device pointer to be passed as the
"context", but in nvmem the context parameter comes from nvmem_config.priv
which is never set - Leading to null pointer exceptions when the device is
accessed.

(As written by CVE List.)

## Affected

- Linux Linux: from 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 before c8bb1bcea877446f86922a8fd1661b8c07d90e5c; from 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 before 3728101f56ef54425a11027a3ddc2c3941d60b71; from 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 before fe8abdd175d7b547ae1a612757e7902bcd62e9cf; 6.9 (not affected: before 6.9; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.9 before 6.12.34; from 6.13 before 6.15.3

## References

- <https://git.kernel.org/stable/c/c8bb1bcea877446f86922a8fd1661b8c07d90e5c> (patch)
- <https://git.kernel.org/stable/c/3728101f56ef54425a11027a3ddc2c3941d60b71> (patch)
- <https://git.kernel.org/stable/c/fe8abdd175d7b547ae1a612757e7902bcd62e9cf> (patch)

## Sources

- CVE List: [CVE-2025-38301](https://www.cve.org/CVERecord?id=CVE-2025-38301), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38301](https://nvd.nist.gov/vuln/detail/CVE-2025-38301), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38301 · Whole record: https://cve.day/CVE-2025-38301.json · Rebuilt by cve.day 2026-11-25T22:59:01.063Z
