{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86"
            },
            {
              "fixed": "62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5"
            },
            {
              "fixed": "7110201c6b21455240c63388f30113f3baafacfc"
            },
            {
              "fixed": "2593f0c6ea37df168975694a3b17e7086f11453e"
            },
            {
              "fixed": "f350883989ced96d6da7f582f9a6f9c6ffc94e34"
            },
            {
              "fixed": "29137052c4485c74bc2d1b0717f69ca4de14274f"
            },
            {
              "fixed": "0c655d067ac69ee24e2e9d706c54179ea58a43db"
            },
            {
              "fixed": "2ebaea7f3089decb01a8294d89d7e0cf288146c4"
            },
            {
              "fixed": "38b72267b7e22768a1f26d9935de4e1752a1dc85"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.7.6"
            },
            {
              "fixed": "5.8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.8.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.96"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.39"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64494.json"
  },
  "details": "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",
  "modified": "2026-08-18T03:31:24.478807764Z",
  "published": "2026-07-25T08:51:51.747Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64494.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64494"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: light: gp2ap002: fix runtime PM leak on read error"
}