CVE-2026-98783 PUBLISHED

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

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0d9eee9118b77e51eeafc5bf4d008fac97035d56 to 4acac370aad2d4895a82f40b2f03e9ef70eecaa6 (excl.)
  • affected from 0d9eee9118b77e51eeafc5bf4d008fac97035d56 to 88f8a92dcb0cb154774595dee7226458de4cbd38 (excl.)
  • affected from 0d9eee9118b77e51eeafc5bf4d008fac97035d56 to aeef8a8537bcfb26689edb36ed905b8b2873001c (excl.)
  • affected from 0d9eee9118b77e51eeafc5bf4d008fac97035d56 to bce7698e2e6565bb765bd0522337f29f5f312624 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.4 is affected
  • unaffected from 0 to 6.4 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References