{"id":"CVE-2026-90405","published":"2026-09-17T16:09:34Z","modified":"2026-10-19T09:03:09Z","title":"media: stm32: dcmi: fix some error handling bugs in probe()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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(&pdev->dev, \"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->mdma_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->dma_chan) before\n   \"dcmi->dma_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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.0943,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4d030d7d1af95d24d3eb6e536a4f09b7bf9a8659","tags":[]},{"url":"https://git.kernel.org/stable/c/f1d1ed39ced825615aeac61f0b6a322178756632","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.89}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bc901885fae0a0273288666609d143e960b6ad3a, < 4d030d7d1af95d24d3eb6e536a4f09b7bf9a8659",">= bc901885fae0a0273288666609d143e960b6ad3a, < f1d1ed39ced825615aeac61f0b6a322178756632"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-82066","exploited":false,"provenance":"source"}}