CVE-2026-98527 gpio: zynq: fix runtime PM leak on request error path
설명
In the Linux kernel, the following vulnerability has been resolved: gpio: zynq: fix runtime PM leak on request error path pm_runtime_get_sync() leaves the usage counter incremented even when it fails, and zynq_gpio_request() returns the error without dropping it. gpiolib does not call ->free() when ->request() fails, so zynq_gpio_free(), which holds the only matching pm_runtime_put(), never runs. The reference is leaked and the controller can no longer runtime-suspend, so its clock stays enabled. Switch to pm_runtime_resume_and_get(), which only increments the usage counter on success.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.17
해결 버전
- 3.17 미만
- 5.10.271 이상
- 5.15.222 이상
- 6.1.189 이상
- 6.6.158 이상
- 6.12.112 이상
- 6.18.55 이상
- 7.2.9 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac (새 창)
- git.kernel.org https://git.kernel.org/stable/c/58a417a19d80141fff3abe6004e2e47285506e73 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/60a76cdd92e25f576dc58d756a565760dde1f7a1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6e20dabffbcd7b222d8e7bb85a7d8e8325df7699 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a3e9b7f7c9558f8c9592f8f817557bff98707bb3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e380fba02908b809f5bbef371259003cf5887bb4 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e9438ab5328a177c9c0e5df87eb92a7162841e98 (새 창)