{"id":"CVE-2023-53177","state":"PUBLISHED","title":"media: hi846: fix usage of pm_runtime_get_if_in_use()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hi846: fix usage of pm_runtime_get_if_in_use()\n\npm_runtime_get_if_in_use() does not only return nonzero values when\nthe device is in use, it can return a negative errno too.\n\nAnd especially during resuming from system suspend, when runtime pm\nis not yet up again, -EAGAIN is being returned, so the subsequent\npm_runtime_put() call results in a refcount underflow.\n\nFix system-resume by handling -EAGAIN of pm_runtime_get_if_in_use().","publishedAt":"2025-09-15T14:04:20.626Z","updatedAt":"2026-05-11T19:39:45.709Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8c0882685f9152f0d729664a12bcbe749cb7736","status":"affected","lessThan":"42ec6269f98edd915ee37da3c6456bb6243ea56a","versionType":"git"},{"version":"e8c0882685f9152f0d729664a12bcbe749cb7736","status":"affected","lessThan":"c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e","versionType":"git"},{"version":"e8c0882685f9152f0d729664a12bcbe749cb7736","status":"affected","lessThan":"04fc06f6dc1592ed5d675311ac50d8fba5db62ab","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/i2c/hi846.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/i2c/hi846.c"]}],"references":["https://git.kernel.org/stable/c/42ec6269f98edd915ee37da3c6456bb6243ea56a","https://git.kernel.org/stable/c/c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e","https://git.kernel.org/stable/c/04fc06f6dc1592ed5d675311ac50d8fba5db62ab"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53177.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53177","state":"PUBLISHED","datePublished":"2025-09-15T14:04:20.626Z","dateUpdated":"2026-05-11T19:39:45.709Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-09-15T13:59:19.064Z"},"containers":{"cna":{"title":"media: hi846: fix usage of pm_runtime_get_if_in_use()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hi846: fix usage of pm_runtime_get_if_in_use()\n\npm_runtime_get_if_in_use() does not only return nonzero values when\nthe device is in use, it can return a negative errno too.\n\nAnd especially during resuming from system suspend, when runtime pm\nis not yet up again, -EAGAIN is being returned, so the subsequent\npm_runtime_put() call results in a refcount underflow.\n\nFix system-resume by handling -EAGAIN of pm_runtime_get_if_in_use()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8c0882685f9152f0d729664a12bcbe749cb7736","status":"affected","lessThan":"42ec6269f98edd915ee37da3c6456bb6243ea56a","versionType":"git"},{"version":"e8c0882685f9152f0d729664a12bcbe749cb7736","status":"affected","lessThan":"c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e","versionType":"git"},{"version":"e8c0882685f9152f0d729664a12bcbe749cb7736","status":"affected","lessThan":"04fc06f6dc1592ed5d675311ac50d8fba5db62ab","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/i2c/hi846.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/i2c/hi846.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/42ec6269f98edd915ee37da3c6456bb6243ea56a"},{"url":"https://git.kernel.org/stable/c/c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e"},{"url":"https://git.kernel.org/stable/c/04fc06f6dc1592ed5d675311ac50d8fba5db62ab"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:39:45.709Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.4.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}