CVE-2025-38301

nvmem: zynqmp_nvmem: unbreak driver after cleanup

State
Published
Severity
Not scored
Published
Jul 10, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 to before c8bb1bcea877446f86922a8fd1661b8c07d90e5cAffected
  • 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 to before 3728101f56ef54425a11027a3ddc2c3941d60b71Affected
  • 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 to before fe8abdd175d7b547ae1a612757e7902bcd62e9cfAffected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.