Shellfeed logo Shellfeed

CVE-2026-98783 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 6.1).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [0d9eee9118b77e51eeafc5bf4d008fac97035d56 – f0ffb09cf1bf2a0f301f51fb45371c09dc78fcd0]
  • Linux Kernel [6.4.0 – 6.6.160] [6.7.0 – 6.12.113] [6.13.0 – 6.18.56] [6.19.0 – 7.2.10]

References