CVE-2026-99049 (GCVE-0-2026-99049)
Vulnerability from cvelistv5
Published
2026-10-23 12:22
Modified
2026-10-30 12:41
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 26b04774621ed333e8bc56479feb6e31625df58c
Version: 26b04774621ed333e8bc56479feb6e31625df58c
Version: 26b04774621ed333e8bc56479feb6e31625df58c
Version: 26b04774621ed333e8bc56479feb6e31625df58c
Version: 26b04774621ed333e8bc56479feb6e31625df58c
Version: 26b04774621ed333e8bc56479feb6e31625df58c
Version: 26b04774621ed333e8bc56479feb6e31625df58c
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpio/gpio-xilinx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3c7c764a3e933b4b32a847edeb89c8d1930613f4",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            },
            {
              "lessThan": "7fa0e73dc31f4e653918fc002d64909c83f4b020",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            },
            {
              "lessThan": "b07b3925f676640103b3d74b93fc401b1c873d13",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            },
            {
              "lessThan": "f73ee2bd2293f8cc340061c5229395ace71fc2eb",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            },
            {
              "lessThan": "a027e0d7765d1531ee39e4dae81951b04f32ba7b",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            },
            {
              "lessThan": "2fd6ecda5d1f47cffcfadddb35ee49402162c724",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            },
            {
              "lessThan": "ff82fc3a4a1d417dee1229681cc5285986edb1fa",
              "status": "affected",
              "version": "26b04774621ed333e8bc56479feb6e31625df58c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpio/gpio-xilinx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.12"
            },
            {
              "lessThan": "5.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.11",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: xilinx: fix runtime PM leak on request error path\n\npm_runtime_get_sync() leaves the usage counter incremented even when it\nfails, and xgpio_request() returns the error without dropping it.\n\ngpiolib does not call -\u003efree() when -\u003erequest() fails, so xgpio_free(),\nwhich holds the only matching pm_runtime_put(), never runs. The reference\nis leaked and the controller can no longer runtime-suspend, so its clock\nstays enabled.\n\nSwitch to pm_runtime_resume_and_get(), which only increments the usage\ncounter on success."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:41:18.034Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3c7c764a3e933b4b32a847edeb89c8d1930613f4"
        },
        {
          "url": "https://git.kernel.org/stable/c/7fa0e73dc31f4e653918fc002d64909c83f4b020"
        },
        {
          "url": "https://git.kernel.org/stable/c/b07b3925f676640103b3d74b93fc401b1c873d13"
        },
        {
          "url": "https://git.kernel.org/stable/c/f73ee2bd2293f8cc340061c5229395ace71fc2eb"
        },
        {
          "url": "https://git.kernel.org/stable/c/a027e0d7765d1531ee39e4dae81951b04f32ba7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/2fd6ecda5d1f47cffcfadddb35ee49402162c724"
        },
        {
          "url": "https://git.kernel.org/stable/c/ff82fc3a4a1d417dee1229681cc5285986edb1fa"
        }
      ],
      "title": "gpio: xilinx: fix runtime PM leak on request error path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99049",
    "datePublished": "2026-10-23T12:22:26.409Z",
    "dateReserved": "2026-09-25T10:25:14.388Z",
    "dateUpdated": "2026-10-30T12:41:18.034Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…