Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 44cfc6233447cb2cf47aeb99457de35826a363f6 to < ff13c90d7f7ab606b37be6d15140d19013d6736caffected
  • 44cfc6233447cb2cf47aeb99457de35826a363f6 to < 792533e54cd6e89191798ccd1abd590c62b9077eaffected
  • 44cfc6233447cb2cf47aeb99457de35826a363f6 to < 9df80dc738926a2ea4bd1ce5993c3d0f4b0e855caffected
  • 44cfc6233447cb2cf47aeb99457de35826a363f6 to < 46f47807738441e354873546dde0b000106c068aaffected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 5.15.34 to ≤ 5.15.*unaffected
  • 5.16.20 to ≤ 5.16.*unaffected
  • 5.17.3 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References