CVE-2026-98527 PUBLISHED

gpio: zynq: fix runtime PM leak on request error path

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to e380fba02908b809f5bbef371259003cf5887bb4 (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to a3e9b7f7c9558f8c9592f8f817557bff98707bb3 (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to 60a76cdd92e25f576dc58d756a565760dde1f7a1 (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to 25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to 6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to 58a417a19d80141fff3abe6004e2e47285506e73 (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to 6e20dabffbcd7b222d8e7bb85a7d8e8325df7699 (excl.)
  • affected from 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 to e9438ab5328a177c9c0e5df87eb92a7162841e98 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.17 is affected
  • unaffected from 0 to 3.17 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.55 to 6.18.* (incl.)
  • unaffected from 7.2.9 to 7.2.* (incl.)
  • unaffected from 7.3-rc5 to * (incl.)

References