What’s Vulnerable › Vulnerabilities
CVE-2025-38301: nvmem: zynqmp_nvmem: unbreak driver after cleanup
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-10 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 6.9 before 6.12.34; from 6.13 before 6.15.3 — fixed in 6.12.34, 6.15.3
How to fix
Upgrade to a fixed version: Linux kernel 6.12.34, 6.15.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3728101f56ef54425a11027a3ddc2c3941d60b71
- https://git.kernel.org/stable/c/c8bb1bcea877446f86922a8fd1661b8c07d90e5c
- https://git.kernel.org/stable/c/fe8abdd175d7b547ae1a612757e7902bcd62e9cf
Get alerted when CVE-2025-38301 or the next vulnerability affects your stack