{"id":"CVE-2025-38301","aliases":["CVE-2025-38301"],"related":[],"kind":"vulnerability","state":"published","title":"nvmem: zynqmp_nvmem: unbreak driver after cleanup","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-07-10T07:42:13.455Z","modified":"2026-06-17T09:16:34.830Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"29be47fcd6a06ea2e79eeeca6e69ad1e23254a69","fixed":"c8bb1bcea877446f86922a8fd1661b8c07d90e5c","status":"affected"},{"type":"git","introduced":"29be47fcd6a06ea2e79eeeca6e69ad1e23254a69","fixed":"3728101f56ef54425a11027a3ddc2c3941d60b71","status":"affected"},{"type":"git","introduced":"29be47fcd6a06ea2e79eeeca6e69ad1e23254a69","fixed":"fe8abdd175d7b547ae1a612757e7902bcd62e9cf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.34","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.3","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.9","fixed":"6.12.34"},{"status":"affected","introduced":"6.13","fixed":"6.15.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c8bb1bcea877446f86922a8fd1661b8c07d90e5c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3728101f56ef54425a11027a3ddc2c3941d60b71","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe8abdd175d7b547ae1a612757e7902bcd62e9cf","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38301","url":"https://www.cve.org/CVERecord?id=CVE-2025-38301","licence":"CVE Terms of Use","modified":"2026-05-11T21:25:19.836Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38301","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38301","licence":"Public domain","modified":"2026-06-17T09:16:34.830Z"}],"updatedAt":"2026-11-25T22:59:01.063Z","epss":{"score":0.00179,"percentile":0.07834,"date":"2026-12-01T12:00:22.000Z"}}