Skip to contentSkip to conversation

CVE-2026-43270: media: mtk-mdp: Fix a reference leak bug in mtk_mdp_remove()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

media: mtk-mdp: Fix a reference leak bug in mtk_mdp_remove()

In mtk_mdp_probe(), 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-43270 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 5.10.252 with commit 403b7c757ac9f6b2ffb7d00ff4795a245f5e8911
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 5.15.202 with commit dd530e29bd514d7187b3e2df8eb2107419c7988f
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.1.165 with commit c44beed2e5caf2cbbe651432baa3a129f18b0169
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.6.128 with commit 564fd3a63efc3ebbdb5d0a8fc7c0d3f753fbbd5d
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.12.75 with commit 4f2a51433a3a65d16975d1e32052d80656da077d
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.18.16 with commit a62ba5aa9ee95fd953583e95e519badf0b76ecf3
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 6.19.6 with commit 2d93758f42a57f3485534eab858b308e41653de4
	Issue introduced in 4.10 with commit c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a and fixed in 7.0 with commit f128bab57b8018e526b7eda854ca20069863af47

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-43270

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/403b7c757ac9f6b2ffb7d00ff4795a245f5e8911
	https://git.kernel.org/stable/c/dd530e29bd514d7187b3e2df8eb2107419c7988f
	https://git.kernel.org/stable/c/c44beed2e5caf2cbbe651432baa3a129f18b0169
	https://git.kernel.org/stable/c/564fd3a63efc3ebbdb5d0a8fc7c0d3f753fbbd5d
	https://git.kernel.org/stable/c/4f2a51433a3a65d16975d1e32052d80656da077d
	https://git.kernel.org/stable/c/a62ba5aa9ee95fd953583e95e519badf0b76ecf3
	https://git.kernel.org/stable/c/2d93758f42a57f3485534eab858b308e41653de4
	https://git.kernel.org/stable/c/f128bab57b8018e526b7eda854ca20069863af47