CVE-2026-64494 (GCVE-0-2026-64494)

Vulnerability from cvelistv5 – Published: 2026-07-25 08:51 – Updated: 2026-08-17 04:56
VLAI
Title
iio: light: gp2ap002: fix runtime PM leak on read error
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap002: fix runtime PM leak on read error gp2ap002_read_raw() calls pm_runtime_get_sync() before reading the lux value, but if gp2ap002_get_lux() fails, it returns directly. This skips the pm_runtime_put_autosuspend() call at the "out" label, permanently leaking a runtime PM reference and preventing the device from autosuspending. Replace the direct return with a "goto out" to ensure the reference is properly dropped on the error path.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5 (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 7110201c6b21455240c63388f30113f3baafacfc (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 2593f0c6ea37df168975694a3b17e7086f11453e (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < f350883989ced96d6da7f582f9a6f9c6ffc94e34 (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 29137052c4485c74bc2d1b0717f69ca4de14274f (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 0c655d067ac69ee24e2e9d706c54179ea58a43db (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 2ebaea7f3089decb01a8294d89d7e0cf288146c4 (git)
Affected: f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 , < 38b72267b7e22768a1f26d9935de4e1752a1dc85 (git)
Affected: f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3 (git)
Affected: 5.7.6 , < 5.8 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.8
Unaffected: 0 , < 5.8 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.96 , ≤ 6.12.* (semver)
Unaffected: 6.18.39 , ≤ 6.18.* (semver)
Unaffected: 7.1.4 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/light/gp2ap002.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "7110201c6b21455240c63388f30113f3baafacfc",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "2593f0c6ea37df168975694a3b17e7086f11453e",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "f350883989ced96d6da7f582f9a6f9c6ffc94e34",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "29137052c4485c74bc2d1b0717f69ca4de14274f",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "0c655d067ac69ee24e2e9d706c54179ea58a43db",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "2ebaea7f3089decb01a8294d89d7e0cf288146c4",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "lessThan": "38b72267b7e22768a1f26d9935de4e1752a1dc85",
              "status": "affected",
              "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3",
              "versionType": "git"
            },
            {
              "lessThan": "5.8",
              "status": "affected",
              "version": "5.7.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/light/gp2ap002.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.8"
            },
            {
              "lessThan": "5.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.96",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.96",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.39",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.4",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.7.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: gp2ap002: fix runtime PM leak on read error\n\ngp2ap002_read_raw() calls pm_runtime_get_sync() before reading the\nlux value, but if gp2ap002_get_lux() fails, it returns directly. This\nskips the pm_runtime_put_autosuspend() call at the \"out\" label,\npermanently leaking a runtime PM reference and preventing the device\nfrom autosuspending.\n\nReplace the direct return with a \"goto out\" to ensure the reference\nis properly dropped on the error path."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T04:56:42.612Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5"
        },
        {
          "url": "https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc"
        },
        {
          "url": "https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e"
        },
        {
          "url": "https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34"
        },
        {
          "url": "https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85"
        }
      ],
      "title": "iio: light: gp2ap002: fix runtime PM leak on read error",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64494",
    "datePublished": "2026-07-25T08:51:51.747Z",
    "dateReserved": "2026-07-19T15:36:31.792Z",
    "dateUpdated": "2026-08-17T04:56:42.612Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64494",
      "date": "2026-09-20",
      "epss": "0.00177",
      "percentile": "0.07493"
    },
    "microsoft_vex": {
      "current_release_date": "2026-07-27T14:43:43.000Z",
      "cve": "CVE-2026-64494",
      "id": "msrc_CVE-2026-64494",
      "initial_release_date": "2026-07-26T01:12:55.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "iio: light: gp2ap002: fix runtime PM leak on read error",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64494.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/iio/light/gp2ap002.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7110201c6b21455240c63388f30113f3baafacfc",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2593f0c6ea37df168975694a3b17e7086f11453e",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f350883989ced96d6da7f582f9a6f9c6ffc94e34",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "29137052c4485c74bc2d1b0717f69ca4de14274f",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0c655d067ac69ee24e2e9d706c54179ea58a43db",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2ebaea7f3089decb01a8294d89d7e0cf288146c4",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "38b72267b7e22768a1f26d9935de4e1752a1dc85",
                    "status": "affected",
                    "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5.8",
                    "status": "affected",
                    "version": "5.7.6",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/iio/light/gp2ap002.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.8"
                  },
                  {
                    "lessThan": "5.8",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.261",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.212",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.178",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.145",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.96",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.39",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: gp2ap002: fix runtime PM leak on read error\n\ngp2ap002_read_raw() calls pm_runtime_get_sync() before reading the\nlux value, but if gp2ap002_get_lux() fails, it returns directly. This\nskips the pm_runtime_put_autosuspend() call at the \"out\" label,\npermanently leaking a runtime PM reference and preventing the device\nfrom autosuspending.\n\nReplace the direct return with a \"goto out\" to ensure the reference\nis properly dropped on the error path."
          }
        ],
        "id": "CVE-2026-64494",
        "lastModified": "2026-08-17T05:17:55.327",
        "metrics": {},
        "published": "2026-07-25T10:17:35.230",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-07-29T11:14:57+00:00",
      "cve": "CVE-2026-64494",
      "id": "CVE-2026-64494",
      "initial_release_date": "2026-07-25T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: iio: light: gp2ap002: fix runtime PM leak on read error",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64494.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-18T00:39:19Z",
      "cve": "CVE-2026-64494",
      "id": "CVE-2026-64494",
      "initial_release_date": "2026-07-25T15:58:18Z",
      "product_status:known_affected": "528",
      "product_status:known_not_affected": "221",
      "product_status:recommended": "111",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64494",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64494.json",
      "version": "9"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…