CVE-2025-38301

Source
https://nvd.nist.gov/vuln/detail/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
Published
2025-07-10T07:42:13.455Z
Modified
2025-11-28T02:34:41.587148Z
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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.12.34
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.3