drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f0ffb09cf1bf2a0f301f51fb45371c09dc78fcd0, Kernel 4acac370aad2d4895a82f40b2f03e9ef70eecaa6, Kernel 88f8a92dcb0cb154774595dee7226458de4cbd38 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0d9eee9118b77e51eeafc5bf4d008fac97035d56 <f0ffb09cf1bf2a0f301f51fb45371c09dc78fcd0, >=0d9eee9118b77e51eeafc5bf4d008fac97035d56 <4acac370aad2d4895a82f40b2f03e9ef70eecaa6, >=0d9eee9118b77e51eeafc5bf4d008fac97035d56 <88f8a92dcb0cb154774595dee7226458de4cbd38, >=0d9eee9118b77e51eeafc5bf4d008fac97035d56 <aeef8a8537bcfb26689edb36ed905b8b2873001c, >=0d9eee9118b77e51eeafc5bf4d008fac97035d56 <bce7698e2e6565bb765bd0522337f29f5f312624, =6.4 | f0ffb09cf1bf2a0f301f51fb45371c09dc78fcd0, 4acac370aad2d4895a82f40b2f03e9ef70eecaa6, 88f8a92dcb0cb154774595dee7226458de4cbd38, aeef8a8537bcfb26689edb36ed905b8b2873001c, bce7698e2e6565bb765bd0522337f29f5f312624 |
| linux-kernel: Kernel | >=6.19.0 <7.2.10, >=6.4.0 <6.6.160, >=6.7.0 <6.12.113, >=6.13.0 <6.18.56 | 7.2.10, 6.6.160, 6.12.113, 6.18.56 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket