{"id":"CVE-2026-98782","title":"drm/mediatek: Fix ovl adaptor platform device leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Fix ovl adaptor platform device leak\n\nmtk_drm_probe() creates an OVL adaptor platform device with\nplatform_device_register_data() when the display pipelin…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 3d85bd738aba61df14dfaf8fe638e2172d8427bf","Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 629458b7e49559593823e351535294db17331be7","Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 8e3a350075b556f2fed4517705935bfee4529fb6","Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 048739be3e9cacae5301b68245668002fe6f0ce5","Linux 6.4"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:48:19.567Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98782","references":[{"url":"https://git.kernel.org/stable/c/3d85bd738aba61df14dfaf8fe638e2172d8427bf"},{"url":"https://git.kernel.org/stable/c/629458b7e49559593823e351535294db17331be7"},{"url":"https://git.kernel.org/stable/c/8e3a350075b556f2fed4517705935bfee4529fb6"},{"url":"https://git.kernel.org/stable/c/048739be3e9cacae5301b68245668002fe6f0ce5"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.489Z","slug":"CVE-2026-98782","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Fix ovl adaptor platform device leak\n\nmtk_drm_probe() creates an OVL adaptor platform device with\nplatform_device_register_data() when the display pipeline requires the\nOVL adaptor.\n\nIf a later initialization step fails, the probe error path releases\nthe DRM resources without unregistering the already registered OVL\nadaptor device. The normal remove path likewise leaves the device\nregistered after the DRM driver is unbound.\n\nKeep track of whether the OVL adaptor was successfully registered and\nunregister it on probe failure. Also recover the platform device from\nthe stored DDP component device and unregister it during normal\nremoval.\n\nThe issue was identified by a static analysis tool I developed and\nconfirmed by manual review.\n\n## Affected\n\n- `Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 3d85bd738aba61df14dfaf8fe638e2172d8427bf`\n- `Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 629458b7e49559593823e351535294db17331be7`\n- `Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 8e3a350075b556f2fed4517705935bfee4529fb6`\n- `Linux >= 0d9eee9118b77e51eeafc5bf4d008fac97035d56 < 048739be3e9cacae5301b68245668002fe6f0ce5`\n- `Linux 6.4`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}