gpio: xilinx: fix runtime PM leak on request error path
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.
CVE-2026-99049
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-99049
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "26b04774621ed333e8bc56479feb6e31625df58c",
"lessThan": "b07b3925f676640103b3d74b93fc401b1c873d13",
"versionType": "git"
},
{
"status": "affected",
"version": "26b04774621ed333e8bc56479feb6e31625df58c",
"lessThan": "f73ee2bd2293f8cc340061c5229395ace71fc2eb",
"versionType": "git"
},
{
"status": "affected",
"version": "26b04774621ed333e8bc56479feb6e31625df58c",
"lessThan": "a027e0d7765d1531ee39e4dae81951b04f32ba7b",
"versionType": "git"
},
{
"status": "affected",
"version": "26b04774621ed333e8bc56479feb6e31625df58c",
"lessThan": "2fd6ecda5d1f47cffcfadddb35ee49402162c724",
"versionType": "git"
},
{
"status": "affected",
"version": "26b04774621ed333e8bc56479feb6e31625df58c",
"lessThan": "ff82fc3a4a1d417dee1229681cc5285986edb1fa",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpio/gpio-xilinx.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.11",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpio/gpio-xilinx.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-99049
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #52880 · Revision 1
- Added to Heist Feed
- Publisher date