{"id":"CVE-2025-38301","summary":"nvmem: zynqmp_nvmem: unbreak driver after cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmem: zynqmp_nvmem: unbreak driver after cleanup\n\nCommit 29be47fcd6a0 (\"nvmem: zynqmp_nvmem: zynqmp_nvmem_probe cleanup\")\nchanged the driver to expect the device pointer to be passed as the\n\"context\", but in nvmem the context parameter comes from nvmem_config.priv\nwhich is never set - Leading to null pointer exceptions when the device is\naccessed.","modified":"2026-04-02T12:47:55.266025Z","published":"2025-07-10T07:42:13.455Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38301.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3728101f56ef54425a11027a3ddc2c3941d60b71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8bb1bcea877446f86922a8fd1661b8c07d90e5c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe8abdd175d7b547ae1a612757e7902bcd62e9cf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38301.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38301"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"29be47fcd6a06ea2e79eeeca6e69ad1e23254a69"},{"fixed":"c8bb1bcea877446f86922a8fd1661b8c07d90e5c"},{"fixed":"3728101f56ef54425a11027a3ddc2c3941d60b71"},{"fixed":"fe8abdd175d7b547ae1a612757e7902bcd62e9cf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38301.json"}}],"schema_version":"1.7.5"}