Skip to content
Heist/ feed
Back to feed
UnratedFix available

nvmem: zynqmp_nvmem: unbreak driver after cleanup

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.34, 6.15.3
CVEs
CVE-2025-38301
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 14:21 UTC · Revision 1

Source evidence

nvmem: zynqmp_nvmem: unbreak driver after cleanup

core-osv · Original source

Published 10 Jul 2025, 07:42 UTC

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.

osv:CVE-2025-38301

Kernel

Fixed versions: 6.12.34, 6.15.3

Complete source record
{
  "id": "3b74fd3250d1ba7deccfe19956ab969e503e8449c530c4f92c74811b1971bd56",
  "url": "https://osv.dev/vulnerability/CVE-2025-38301",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nvmem: zynqmp_nvmem: unbreak driver after cleanup",
    "summary": "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.",
    "evidence": "osv:CVE-2025-38301",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38301",
      "aliases": [
        "CVE-2025-38301"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.9.0"
                },
                {
                  "fixed": "6.12.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38301.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.176725533Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3728101f56ef54425a11027a3ddc2c3941d60b71",
        "https://git.kernel.org/stable/c/c8bb1bcea877446f86922a8fd1661b8c07d90e5c",
        "https://git.kernel.org/stable/c/fe8abdd175d7b547ae1a612757e7902bcd62e9cf",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38301.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38301",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38301.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38301",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519606,
  "published_at": "2025-07-10T07:42:13.455+00:00"
}