← CVE Intelligence

CVE-2022-49128

drm/bridge: Add missing pm_runtime_put_sync PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 44cfc6233447cb2cf47aeb99457de35826a363f6 before ff13c90d7f7ab606b37be6d15140d19013d6736c; affected 44cfc6233447cb2cf47aeb99457de35826a363f6 before 792533e54cd6e89191798ccd1abd590c62b9077e; affected 44cfc6233447cb2cf47aeb99457de35826a363f6 before 9df80dc738926a2ea4bd1ce5993c3d0f4b0e855c; affected 44cfc6233447cb2cf47aeb99457de35826a363f6 before 46f47807738441e354873546dde0b000106c068a
Linux / Linuxaffected 5.8; unaffected 0 before 5.8; unaffected 5.15.34 through 5.15.*; unaffected 5.16.20 through 5.16.*; unaffected 5.17.3 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.