Bug 2347820 (CVE-2022-49128) - CVE-2022-49128 kernel: drm/bridge: Add missing pm_runtime_put_sync
Summary: CVE-2022-49128 kernel: drm/bridge: Add missing pm_runtime_put_sync
Keywords:
Status: NEW
Alias: CVE-2022-49128
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:07 UTC by OSIDB Bzimport
Modified: 2025-02-26 16:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:07:53 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 11:53:36 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022605-CVE-2022-49128-8459@gregkh/T

Comment 5 Avinash Hanwate 2025-02-26 16:00:33 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022605-CVE-2022-49128-8459@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.