drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0d9eee9118b77e51eeafc5bf4d008fac97035d56 · fixed in f0ffb09cf1bf2a0f301f51fb45371c09dc78fcd0; From 0d9eee9118b77e51eeafc5bf4d008fac97035d56 · fixed in 4acac370aad2d4895a82f40b2f03e9ef70eecaa6; From 0d9eee9118b77e51eeafc5bf4d008fac97035d56 · fixed in 88f8a92dcb0cb154774595dee7226458de4cbd38; From 0d9eee9118b77e51eeafc5bf4d008fac97035d56 · fixed in aeef8a8537bcfb26689edb36ed905b8b2873001c; From 0d9eee9118b77e51eeafc5bf4d008fac97035d56 · fixed in bce7698e2e6565bb765bd0522337f29f5f312624
- Linux Linux
6.4
- KernelLinux
From 6.4.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10