CVE-2025-38301
JSON

5.5medium

nvmem: zynqmp_nvmem: unbreak driver after cleanup

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.9 before 6.12.34, from 6.13 before 6.15.3NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmem: zynqmp_nvmem: unbreak driver after cleanup El commit 29be47fcd6a0 ("nvmem: zynqmp_nvmem: zynqmp_nvmem_probe cleanup") cambió el controlador para esperar que el puntero del dispositivo se pase como "contexto", pero en nvmem el parámetro de contexto proviene de nvmem_config.priv que nunca se establece, lo que genera excepciones de puntero nulo cuando se accede al dispositivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38301 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38301 changed 2026-06-17Public domain