gpio: xilinx: fix runtime PM leak on request error path
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.12.0, < 5.15.224→ 5.15.224 ≥ 5.16.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.160→ 6.6.160 ≥ 6.7.0, < 6.12.113→ 6.12.113 ≥ 6.13.0, < 6.18.57→ 6.18.57 ≥ 6.19.0, < 7.2.11→ 7.2.11 |
5.15.224 6.1.191 6.6.160 6.12.113 6.18.57 7.2.11 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99049 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99049 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99049 linux-vmware, linux-riscv-7.0, linux-riscv-6.8 +46 more Fix available
Original description The description as published by the source.
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.
Source: Linux kernel CVE announcements NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- LINUX-CVE-ANNOUNCE CVE-2026-99049: gpio: xilinx: fix runtime PM leak on request error path
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org