{"id":"CVE-2022-49953","state":"PUBLISHED","title":"iio: light: cm3605: Fix an error handling path in cm3605_probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: cm3605: Fix an error handling path in cm3605_probe()\n\nThe commit in Fixes also introduced a new error handling path which should\ngoto the existing error handling path.\nOtherwise some resources leak.","publishedAt":"2025-06-18T11:00:16.249Z","updatedAt":"2026-05-11T19:09:52.300Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0d31d91e614505803a0788b92f9f1a83178d8a9a","status":"affected","lessThan":"3f7f49d8135cfe137c81316af64678f4dca1b82b","versionType":"git"},{"version":"0d31d91e614505803a0788b92f9f1a83178d8a9a","status":"affected","lessThan":"160905549e663019e26395ed9d66c24ee2cf5187","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/light/cm3605.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"5.19.8","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/light/cm3605.c"]}],"references":["https://git.kernel.org/stable/c/3f7f49d8135cfe137c81316af64678f4dca1b82b","https://git.kernel.org/stable/c/160905549e663019e26395ed9d66c24ee2cf5187"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49953.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49953","state":"PUBLISHED","datePublished":"2025-06-18T11:00:16.249Z","dateUpdated":"2026-05-11T19:09:52.300Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.382Z"},"containers":{"cna":{"title":"iio: light: cm3605: Fix an error handling path in cm3605_probe()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: light: cm3605: Fix an error handling path in cm3605_probe()\n\nThe commit in Fixes also introduced a new error handling path which should\ngoto the existing error handling path.\nOtherwise some resources leak."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0d31d91e614505803a0788b92f9f1a83178d8a9a","status":"affected","lessThan":"3f7f49d8135cfe137c81316af64678f4dca1b82b","versionType":"git"},{"version":"0d31d91e614505803a0788b92f9f1a83178d8a9a","status":"affected","lessThan":"160905549e663019e26395ed9d66c24ee2cf5187","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/light/cm3605.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"5.19.8","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/light/cm3605.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3f7f49d8135cfe137c81316af64678f4dca1b82b"},{"url":"https://git.kernel.org/stable/c/160905549e663019e26395ed9d66c24ee2cf5187"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:09:52.300Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"5.19.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}