{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bc901885fae0a0273288666609d143e960b6ad3a"
            },
            {
              "fixed": "4d030d7d1af95d24d3eb6e536a4f09b7bf9a8659"
            },
            {
              "fixed": "f1d1ed39ced825615aeac61f0b6a322178756632"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90405.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: stm32: dcmi: fix some error handling bugs in probe()\n\nThere are a few issues here:\n\n1) After we assign:\n        chan = dma_request_chan(\u0026pdev-\u003edev, \"tx\");\n   Then the error paths need to clean up before returning.  The first\n   error path does a direct return.\n2) The error paths check \"dcmi-\u003emdma_chan\" but that is not assigned\n   until later so it results in memory leaks.  Test \"mdma_chan\"\n   instead.\n3) The error handling calls dma_release_channel(dcmi-\u003edma_chan) before\n   \"dcmi-\u003edma_chan\" has been assigned which leads to a NULL pointer\n   dereference.  Use the \"chan\" variable instead.\n\nI also moved the call to dma_release_channel() after the call to\ndma_release_channel() so it mirrors the allocation code better.",
  "id": "CVE-2026-90405",
  "modified": "2026-09-19T03:30:19.790208471Z",
  "published": "2026-09-17T16:09:34.122Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4d030d7d1af95d24d3eb6e536a4f09b7bf9a8659"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f1d1ed39ced825615aeac61f0b6a322178756632"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90405.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90405"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "media: stm32: dcmi: fix some error handling bugs in probe()"
}