drm/msm/a6xx: fix use-after-free of OPP in a6xx_pm_resume
- CVE-2026-142918
- GHSA-h3vx-p937-cfgw
- EUVD-2026-142327
Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: fix use-after-free of OPP in a6xx_pm_resume The OPP reference obtained via dev_pm_opp_find_freq_ceil() is dropped with dev_pm_opp_put() before being passed to dev_pm_opp_set_opp(). If the reference count reaches zero, the OPP object may be freed, leading to a use-after-free when dev_pm_opp_set_opp() dereferences it. Fix the order of calls: first use the OPP to set the required performance state, then release the reference. Patchwork: https://patchwork.freedesktop.org/patch/757104/
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 6.5 none stated before 6.5: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.119 up to 6.12.*: not affected none stated from 6.18.65 up to 6.18.*: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.