AZL-117721: CVE-2026-142918 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/a6xx: fix use-after-free of OPP in a6xxpmresume
The OPP reference obtained via devpmoppfindfreqceil() is dropped with devpmoppput() before being passed to devpmoppsetopp(). If the reference count reaches zero, the OPP object may be freed, leading to a use-after-free when devpmoppsetopp() 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/
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In drm/msm/a6xx a6xx_pm_resume, call dev_pm_opp_set_opp() with the OPP before calling dev_pm_opp_put() to release its reference.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The vulnerable code is in the Linux kernel DRM MSM A6xx power-management resume path. Systems that use this path may be exposed when resuming and setting the required performance state.
How can I determine whether my system is affected?
Check whether it is running the Azure Linux kernel package version 6.6.161.1-1 identified in the advisory. The affected code involves the drm/msm/a6xx driver.
What condition triggers the use-after-free?
The issue occurs when an OPP reference returned by dev_pm_opp_find_freq_ceil() is released before dev_pm_opp_set_opp() uses it. If releasing that reference frees the OPP object, the later call dereferences freed memory.