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.
Published: 2026-05-06
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel MediaTek MDP driver contains an error handling flaw in its probe routine that allows a null pointer dereference and insufficient cleanup of platform devices. When the driver attempts to retrieve a platform device via vpu_get_plat_device() and the return value violates the expected contract, the kernel may access a null pointer, leading to a crash. The added call to mtk_mdp_unregister_m2m_device() on the error path and the insertion of platform_device_put() aim to eliminate resource leaks that could otherwise accumulate reference counts. Based on the description, the likely attack vector requires privilege to load or trigger the malformed probe routine—most likely a local user or administrator who can load kernel modules or influence device enumeration. The primary impact is a denial of service, as a single failed probe can bring down the kernel, and in some scenarios, this crash could be leveraged for privilege escalation if the system is not rebooted securely. At the time of analysis, no CVSS score is publicly available, and EPSS is not provided. The vulnerability is not listed in the CISA KEV catalog, suggesting limited or no known exploitation. However, because the issue resides in kernel code, the potential for a local privilege escalation or fork‑jail escape is elevated. The risk can be considered moderate to high for systems that run the driver without the applied fix and support untrusted users performing module load operations.

Affected Systems

The vulnerability affects the Linux kernel, specifically the MediaTek MDP (mtk-mdp) driver. The kernel's probe failure and resource management bugs are present in all kernel versions before the patch commits referenced; exact affected kernel releases are not enumerated.

Risk and Exploitability

At the time of analysis, no CVSS score is publicly available, and EPSS is not provided. The vulnerability is not listed in the CISA KEV catalog, suggesting limited or no known exploitation. However, because the issue resides in kernel code, the potential for a local privilege escalation or fork‑jail escape is elevated. The risk can be considered moderate to high for systems that run the driver without the applied fix and support untrusted users performing module load operations.

Generated by OpenCVE AI on May 6, 2026 at 15:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the mtk-mdp probe error handling fixes (commits 0bc43eaf0 and related patches).
  • If updating is not immediately possible, disable or blacklist the MediaTek MDP driver to prevent it from loading.
  • Restrict kernel module loading rights to privileged users only and monitor for any attempts to load the MDP driver on untrusted systems.

Generated by OpenCVE AI on May 6, 2026 at 15:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 06 May 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
CWE-567

Wed, 06 May 2026 12:15:00 +0000

Type Values Removed Values Added
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.
Title media: mtk-mdp: Fix error handling in probe function
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-06T11:28:11.601Z

Reserved: 2026-05-01T14:12:55.993Z

Link: CVE-2026-43207

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-06T12:16:40.037

Modified: 2026-05-06T13:07:51.607

Link: CVE-2026-43207

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-06T17:30:07Z

Weaknesses