{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "51ce5591927389985451c0875f576701664f0a38"
            },
            {
              "fixed": "6628f7f88de5f65f01adef5a63c707cb49d0fddb"
            },
            {
              "fixed": "e5ca5d7b4d7c29246d957dc45d63610584ae3a54"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58065.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check\n\nThe devm_kzalloc() function returns NULL on error, not error pointers.\nFix the check.",
  "id": "CVE-2024-58065",
  "modified": "2026-04-01T23:09:35.596962359Z",
  "published": "2025-03-06T15:54:06.659Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6628f7f88de5f65f01adef5a63c707cb49d0fddb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5ca5d7b4d7c29246d957dc45d63610584ae3a54"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58065.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-58065"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check"
}