{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-64494",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-07-19T15:36:31.792Z",
        "datePublished": "2026-07-25T08:51:51.747Z",
        "dateUpdated": "2026-08-17T04:56:42.612Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T04:56:42.612Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/light/gp2ap002.c"
                    ],
                    "versions": [
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "7110201c6b21455240c63388f30113f3baafacfc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "2593f0c6ea37df168975694a3b17e7086f11453e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "f350883989ced96d6da7f582f9a6f9c6ffc94e34",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "29137052c4485c74bc2d1b0717f69ca4de14274f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "0c655d067ac69ee24e2e9d706c54179ea58a43db",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "2ebaea7f3089decb01a8294d89d7e0cf288146c4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6dbf83c17cb223ceabd7c42d441414f3e0e8a86",
                            "lessThan": "38b72267b7e22768a1f26d9935de4e1752a1dc85",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.7.6",
                            "lessThan": "5.8",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/light/gp2ap002.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.261",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.212",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.96",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.39",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.4",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.10.261"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.15.212"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.12.96"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.18.39"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "7.1.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "7.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}