What’s Vulnerable › Vulnerabilities

CVE-2022-49128: drm/bridge: Add missing pm_runtime_put_sync

Description

In the Linux kernel, the following vulnerability has been resolved: drm/bridge: Add missing pm_runtime_put_sync pm_runtime_get_sync() will increase the rumtime PM counter even when it returns an error. Thus a pairing decrement is needed to prevent refcount leak. Fix this by replacing this API with pm_runtime_resume_and_get(), which will not change the runtime PM counter on error. Besides, a matching decrement is needed on the error handling path to keep the counter balanced.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.34, 5.16.20, 5.17.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49128 or the next vulnerability affects your stack