{"api_version":"1","generated_at":"2026-08-01T23:14:38+00:00","cve":"CVE-2026-64494","urls":{"html":"https://cve.report/CVE-2026-64494","api":"https://cve.report/api/cve/CVE-2026-64494.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64494","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64494"},"summary":{"title":"iio: light: gp2ap002: fix runtime PM leak on read error","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-25 10:17:35","updated_at":"2026-07-25 10:17:35"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc","name":"https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85","name":"https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34","name":"https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e","name":"https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4","name":"https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5","name":"https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db","name":"https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f","name":"https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64494","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64494","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 7110201c6b21455240c63388f30113f3baafacfc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 2593f0c6ea37df168975694a3b17e7086f11453e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 f350883989ced96d6da7f582f9a6f9c6ffc94e34 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 29137052c4485c74bc2d1b0717f69ca4de14274f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 0c655d067ac69ee24e2e9d706c54179ea58a43db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 2ebaea7f3089decb01a8294d89d7e0cf288146c4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 38b72267b7e22768a1f26d9935de4e1752a1dc85 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.7.6 5.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.261 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.96 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.39 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.4 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"64494","cve":"CVE-2026-64494","epss":"0.001770000","percentile":"0.074960000","score_date":"2026-07-28","updated_at":"2026-07-29 00:05:33"},"legacy_qids":[]},"source_records":{"cve_program":{"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-rc3","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-rc3","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-07-25T08:51:51.747Z","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-07-25T08:51:51.747Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-25 10:17:35","lastModifiedDate":"2026-07-25 10:17:35","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64494","Ordinal":"1","Title":"iio: light: gp2ap002: fix runtime PM leak on read error","CVE":"CVE-2026-64494","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64494","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"iio: light: gp2ap002: fix runtime PM leak on read error"}]}}}