gpio: zynq: fix runtime PM leak on request error path (Linux Linux)

CVE-2026-98527
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < e380fba02908b809f5bbef371259003cf5887bb4
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < a3e9b7f7c9558f8c9592f8f817557bff98707bb3
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < 60a76cdd92e25f576dc58d756a565760dde1f7a1
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < 25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < 6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < 58a417a19d80141fff3abe6004e2e47285506e73
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < 6e20dabffbcd7b222d8e7bb85a7d8e8325df7699
affected : ≥ 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 < e9438ab5328a177c9c0e5df87eb92a7162841e98
Other versions : unaffected
Linux · Linux
affected : 3.17
unaffected : ≥ 0 < 3.17
unaffected : ≥ 5.10.271 ≤ 5.10.*
unaffected : ≥ 5.15.222 ≤ 5.15.*
unaffected : ≥ 6.1.189 ≤ 6.1.*
unaffected : ≥ 6.6.158 ≤ 6.6.*
unaffected : ≥ 6.12.112 ≤ 6.12.*
unaffected : ≥ 6.18.55 ≤ 6.18.*
unaffected : ≥ 7.2.9 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD