CVE-2022-49128 drm/bridge: Add missing pm_runtime_put_sync
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.8
해결 버전
- 5.8 미만
- 5.15.34 이상
- 5.16.20 이상
- 5.17.3 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/46f47807738441e354873546dde0b000106c068a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/792533e54cd6e89191798ccd1abd590c62b9077e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9df80dc738926a2ea4bd1ce5993c3d0f4b0e855c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ff13c90d7f7ab606b37be6d15140d19013d6736c (새 창)