CVE-2025-38301

Source
https://cve.org/CVERecord?id=CVE-2025-38301
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38301.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38301
Downstream
Related
Published
2025-07-10T07:42:13.455Z
Modified
2026-03-12T02:15:56.360900Z
Summary
nvmem: zynqmp_nvmem: unbreak driver after cleanup
Details

In the Linux kernel, the following vulnerability has been resolved:

nvmem: zynqmp_nvmem: unbreak driver after cleanup

Commit 29be47fcd6a0 ("nvmem: zynqmpnvmem: zynqmpnvmemprobe cleanup") changed the driver to expect the device pointer to be passed as the "context", but in nvmem the context parameter comes from nvmemconfig.priv which is never set - Leading to null pointer exceptions when the device is accessed.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38301.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2025-38301.json"