gpio: zynq: fix runtime PM leak on request error path
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.271, 5.15.222, 6.1.189, 6.12.112, 6.18.55, 6.6.158, 7.2.9
- CVEs
- CVE-2026-98527
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 22:56 UTC · Revision 1
Source evidence
gpio: zynq: fix runtime PM leak on request error path
core-osv · Original sourcePublished 18 Oct 2026, 15:17 UTC
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.
osv:CVE-2026-98527
Kernel
Fixed versions: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9
Complete source record
{
"id": "3078371a12bba34acda4c981914f94978b590eb0e85f40d8bd5f2603fb1e8066",
"url": "https://osv.dev/vulnerability/CVE-2026-98527",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "gpio: zynq: fix runtime PM leak on request error path",
"summary": "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.",
"evidence": "osv:CVE-2026-98527",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.271",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.222",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.189",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.55",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98527",
"aliases": [
"CVE-2026-98527"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52"
},
{
"fixed": "e380fba02908b809f5bbef371259003cf5887bb4"
},
{
"fixed": "a3e9b7f7c9558f8c9592f8f817557bff98707bb3"
},
{
"fixed": "60a76cdd92e25f576dc58d756a565760dde1f7a1"
},
{
"fixed": "25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac"
},
{
"fixed": "6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e"
},
{
"fixed": "58a417a19d80141fff3abe6004e2e47285506e73"
},
{
"fixed": "6e20dabffbcd7b222d8e7bb85a7d8e8325df7699"
},
{
"fixed": "e9438ab5328a177c9c0e5df87eb92a7162841e98"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98527.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.17.0"
},
{
"fixed": "5.10.271"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.222"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.55"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98527.json"
}
}
],
"modified": "2026-10-28T02:30:24.130256964Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac",
"https://git.kernel.org/stable/c/58a417a19d80141fff3abe6004e2e47285506e73",
"https://git.kernel.org/stable/c/60a76cdd92e25f576dc58d756a565760dde1f7a1",
"https://git.kernel.org/stable/c/6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e",
"https://git.kernel.org/stable/c/6e20dabffbcd7b222d8e7bb85a7d8e8325df7699",
"https://git.kernel.org/stable/c/a3e9b7f7c9558f8c9592f8f817557bff98707bb3",
"https://git.kernel.org/stable/c/e380fba02908b809f5bbef371259003cf5887bb4",
"https://git.kernel.org/stable/c/e9438ab5328a177c9c0e5df87eb92a7162841e98",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98527.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98527",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98527.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98527",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 490687,
"published_at": "2026-10-18T15:17:45.684+00:00"
}