# CVE-2026-99049: gpio: xilinx: fix runtime PM leak on request error path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-10-23T12:22:26.409Z
- Modified: 2026-10-30T13:21:41.697Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 26b04774621ed333e8bc56479feb6e31625df58c before 3c7c764a3e933b4b32a847edeb89c8d1930613f4; from 26b04774621ed333e8bc56479feb6e31625df58c before 7fa0e73dc31f4e653918fc002d64909c83f4b020; from 26b04774621ed333e8bc56479feb6e31625df58c before b07b3925f676640103b3d74b93fc401b1c873d13; from 26b04774621ed333e8bc56479feb6e31625df58c before f73ee2bd2293f8cc340061c5229395ace71fc2eb; from 26b04774621ed333e8bc56479feb6e31625df58c before a027e0d7765d1531ee39e4dae81951b04f32ba7b; from 26b04774621ed333e8bc56479feb6e31625df58c before 2fd6ecda5d1f47cffcfadddb35ee49402162c724; from 26b04774621ed333e8bc56479feb6e31625df58c before ff82fc3a4a1d417dee1229681cc5285986edb1fa; 5.12 (not affected: before 5.12; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/3c7c764a3e933b4b32a847edeb89c8d1930613f4>
- <https://git.kernel.org/stable/c/7fa0e73dc31f4e653918fc002d64909c83f4b020>
- <https://git.kernel.org/stable/c/b07b3925f676640103b3d74b93fc401b1c873d13>
- <https://git.kernel.org/stable/c/f73ee2bd2293f8cc340061c5229395ace71fc2eb>
- <https://git.kernel.org/stable/c/a027e0d7765d1531ee39e4dae81951b04f32ba7b>
- <https://git.kernel.org/stable/c/2fd6ecda5d1f47cffcfadddb35ee49402162c724>
- <https://git.kernel.org/stable/c/ff82fc3a4a1d417dee1229681cc5285986edb1fa>

## Sources

- CVE List: [CVE-2026-99049](https://www.cve.org/CVERecord?id=CVE-2026-99049), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99049](https://nvd.nist.gov/vuln/detail/CVE-2026-99049), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99049 · Whole record: https://cve.day/CVE-2026-99049.json · Rebuilt by cve.day 2026-11-25T22:59:46.959Z
