CVE-2026-68210: media: stm32: dcmi: unregister notifier on probe failure
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081013-CVE-2026-68210-bddd@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: media: stm32: dcmi: unregister notifier on probe failure dcmi_graph_init() registers the async notifier before dcmi_probe() toggles the reset line. If reset_control_assert() or reset_control_deassert() fails afterwards, probe returns through err_cleanup and the driver core will not call dcmi_remove(). Unregister the notifier before cleaning it up on that error path, matching the successful remove path and the V4L2 async notifier lifetime rules. [hverkuil: added Fixes tag] The Linux kernel CVE team has assigned CVE-2026-68210 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit d079f94c90469f413920b9f2b201537fac2ceb06 and fixed in 6.6.148 with commit 37ff63c5d7119cbc5c6bacdcc658add6008a8e1f Issue introduced in 4.20 with commit d079f94c90469f413920b9f2b201537fac2ceb06 and fixed in 6.12.101 with commit 6c6f22b7e6cbc4e8c1e359fc9b190419391c3db7 Issue introduced in 4.20 with commit d079f94c90469f413920b9f2b201537fac2ceb06 and fixed in 6.18.42 with commit 931abe1deb65b919d23fa203d7f6d6fbd4fccd8e Issue introduced in 4.20 with commit d079f94c90469f413920b9f2b201537fac2ceb06 and fixed in 7.1.6 with commit 4b7ee504969e074725e439c949f2483e5fa5572a Issue introduced in 4.20 with commit d079f94c90469f413920b9f2b201537fac2ceb06 and fixed in 7.2-rc1 with commit 084973ebd67b28f0945c5d45408f86c58b540110 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-68210 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/media/platform/st/stm32/stm32-dcmi.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/37ff63c5d7119cbc5c6bacdcc658add6008a8e1f https://git.kernel.org/stable/c/6c6f22b7e6cbc4e8c1e359fc9b190419391c3db7 https://git.kernel.org/stable/c/931abe1deb65b919d23fa203d7f6d6fbd4fccd8e https://git.kernel.org/stable/c/4b7ee504969e074725e439c949f2483e5fa5572a https://git.kernel.org/stable/c/084973ebd67b28f0945c5d45408f86c58b540110