CVE-2026-98783

drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device

Published Oct 18, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device

platform_device_register_data() can fail and return an ERR_PTR, but the
return value is used without checking, leading to an invalid pointer
being stored in ddp_comp[].dev and passed to component_match_add() and
mtk_ddp_comp_init(), which could result in a kernel crash.

Add an IS_ERR() check to jump to the error handling path on failure.

Analysis

AI-generated

Technical impact

The vulnerability arises in the Mediatek DRM driver of the Linux kernel. The function platform_device_register_data can fail and return an error pointer. However, the code assigns this error pointer to ddp_comp[].dev without checking it, and then passes that pointer to component_match_add() and mtk_ddp_comp_init(). This leads to an invalid pointer dereference and a kernel panic, which results in a denial of service. Based on the description, it is inferred that the unchecked return value directly causes the crash.

Affected Systems

The flaw affects all Linux kernel installations that include the Mediatek DRM driver and have not incorporated the commit adding the IS_ERR check. Because no specific release dates are supplied, any kernel build that contains the old implementation is potentially vulnerable, including distribution kernels that have not been updated with the patch.

Risk and Exploitability

The vulnerability can be exploited locally by an attacker with the ability to load or interact with the Mediatek DRM subsystem, forcing platform_device_register_data to fail and triggering the invalid pointer dereference. The CVSS score of 4.1 indicates a moderate impact, while the EPSS score of < 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The exploit would result in a kernel crash, denying service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the Mediatek DRM patch adding the IS_ERR check.
  • If a newer kernel is not yet available, backport commit c/4acac370a… into the current kernel source, rebuild, and install the updated kernel.
  • Reboot the system to ensure the patched Mediatek DRM driver is loaded and functioning without triggering a kernel crash.

Generated by OpenCVE AI on October 23, 2026 at 19:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Weaknesses CWE-252
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device platform_device_register_data() can fail and return an ERR_PTR, but the return value is used without checking, leading to an invalid pointer being stored in ddp_comp[].dev and passed to component_match_add() and mtk_ddp_comp_init(), which could result in a kernel crash. Add an IS_ERR() check to jump to the error handling path on failure.
Title drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:56 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 21, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM