← CVE Intelligence

CVE-2025-38301

nvmem: zynqmp_nvmem: unbreak driver after cleanup PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 before c8bb1bcea877446f86922a8fd1661b8c07d90e5c; affected 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 before 3728101f56ef54425a11027a3ddc2c3941d60b71; affected 29be47fcd6a06ea2e79eeeca6e69ad1e23254a69 before fe8abdd175d7b547ae1a612757e7902bcd62e9cf
Linux / Linuxaffected 6.9; unaffected 0 before 6.9; unaffected 6.12.34 through 6.12.*; unaffected 6.15.3 through 6.15.*; unaffected 6.16 through *

CWE

No CWE identifiers supplied.

References