Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D882261B8A for ; Wed, 6 May 2026 11:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067148; cv=none; b=OCYt+N3t7zq9ZJS2zh2n0t51hdMhN5QOZpsQbZE1wvZWzeEhCG614MddVimmbcGyC3L6S1dd81AL+Cb4k3t1EHaNdKlIsYYJrsfmydk0+ecs7zsqgYyIo5mNvg6scQasHgIX/88rbDyhen2/1HBDiXHq9WCPMXvzI62tOFxApIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067148; c=relaxed/simple; bh=6VPkKCdJnLjeXKs3k1szkOblA95C06HC5mVb7iXZ4Y8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=td1UIwfuiPjXBh9QQQ5GkwabP2SVY1Tnlhy6UkrdwzTpGu5Hm4ADzceUbt4sM8/Ywqw/hNEAxQKiauACaACJE/lDlJGEe+kZ8q2HHZCPvprOF5gmDgK0mG96oUBP0jNXg9ujzqgWTLMNmnEPBrMJ2SIfldfJa0x3vN8RLpXT2W4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jIUQCug1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jIUQCug1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A708AC2BCB8; Wed, 6 May 2026 11:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067148; bh=6VPkKCdJnLjeXKs3k1szkOblA95C06HC5mVb7iXZ4Y8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jIUQCug1tejLymZ+/3Whh2u1WpmtuyJ/hXBy8yFcGtHWYSjNaGjayuiX+Bl5NNFOg yHoYy4enu5l6fEIev+tp4orUKjIn8faLBEwoo46NqMiHoyk8qy10R8QmG3LUlY3vq8 YQL9MPg6Edz0Sezqz2BQdyc/dNWnOaLDqXu5Xqyo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43207: media: mtk-mdp: Fix error handling in probe function Date: Wed, 6 May 2026 13:28:43 +0200 Message-ID: <2026050648-CVE-2026-43207-d26b@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3491; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b2KAZ0XVcs8KCuUtYnpwUeoPlDx8AcdGEoGE2iLs11o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Vbd8rJvfwHIwOZ4r6j+zibjRokn2ui1/Qu69uf2EW 6g/eX1MRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkvynDgmN6L/W1Lyf8vtnW JiYewms34eS38wwLFlx7fVxDZdOnVh8Fh/+FHvOWeJ/WBAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: media: mtk-mdp: Fix error handling in probe function Add mtk_mdp_unregister_m2m_device() on the error handling path to prevent resource leak. Add check for the return value of vpu_get_plat_device() to prevent null pointer dereference. And vpu_get_plat_device() increases the reference count of the returned platform device. Add platform_device_put() to prevent reference leak. The Linux kernel CVE team has assigned CVE-2026-43207 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 5.10.252 with commit 9d9c67976eda502edc6b3a148a1c5b6a18b69a98 Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 5.15.202 with commit 0bc43eaf021347f8d5aba87712c36b799695eec6 Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.1.165 with commit 9d7962d5c81d6cf3f8dbdb5c71c57600bac5772b Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.6.128 with commit 12cafc15d24611bfb43c82877b1bbb7454a85d5a Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.12.75 with commit c8737d33d4e8ffae87e5d5edac17f8a705235cc2 Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.18.16 with commit b3fc99fe5b25613dd61c57bc70b8479adff4f60d Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.19.6 with commit 2e8f53a7382943411557e370f1a4f3946624a30e Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 7.0 with commit 8a8a3232abac5b972058a5f2cb3e33199d2a8648 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-43207 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/mediatek/mdp/mtk_mdp_core.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/9d9c67976eda502edc6b3a148a1c5b6a18b69a98 https://git.kernel.org/stable/c/0bc43eaf021347f8d5aba87712c36b799695eec6 https://git.kernel.org/stable/c/9d7962d5c81d6cf3f8dbdb5c71c57600bac5772b https://git.kernel.org/stable/c/12cafc15d24611bfb43c82877b1bbb7454a85d5a https://git.kernel.org/stable/c/c8737d33d4e8ffae87e5d5edac17f8a705235cc2 https://git.kernel.org/stable/c/b3fc99fe5b25613dd61c57bc70b8479adff4f60d https://git.kernel.org/stable/c/2e8f53a7382943411557e370f1a4f3946624a30e https://git.kernel.org/stable/c/8a8a3232abac5b972058a5f2cb3e33199d2a8648