CVEvulnerability
CVE-2026-99049
- Status
- Received
- Published
- 2026-10-23
- Last modified
- 2026-10-23
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Description
In the Linux kernel, the following vulnerability has been resolved:
gpio: xilinx: fix runtime PM leak on request error path
pm_runtime_get_sync() leaves the usage counter incremented even when it
fails, and xgpio_request() returns the error without dropping it.
gpiolib does not call ->free() when ->request() fails, so xgpio_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.
References
- https://git.kernel.org/stable/c/2fd6ecda5d1f47cffcfadddb35ee49402162c724 git.kernel.org
- https://git.kernel.org/stable/c/a027e0d7765d1531ee39e4dae81951b04f32ba7b git.kernel.org
- https://git.kernel.org/stable/c/b07b3925f676640103b3d74b93fc401b1c873d13 git.kernel.org
- https://git.kernel.org/stable/c/f73ee2bd2293f8cc340061c5229395ace71fc2eb git.kernel.org
- https://git.kernel.org/stable/c/ff82fc3a4a1d417dee1229681cc5285986edb1fa git.kernel.org