{"id":"CVE-2022-50254","state":"PUBLISHED","title":"media: ov8865: Fix an error handling path in ov8865_probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: ov8865: Fix an error handling path in ov8865_probe()\n\nThe commit in Fixes also introduced some new error handling which should\ngoto the existing error handling path.\nOtherwise some resources leak.","publishedAt":"2025-09-15T14:02:36.054Z","updatedAt":"2026-05-11T19:15:45.709Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73dcffeb2ff98e8181b43e9d9faad042ddcb7f60","status":"affected","lessThan":"1f55a2273a7b41895ea6272e51ccb1d797cfd39b","versionType":"git"},{"version":"73dcffeb2ff98e8181b43e9d9faad042ddcb7f60","status":"affected","lessThan":"080e0b7404850406628674b07286f16cc389a892","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/i2c/ov8865.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.0.7","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","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/ov8865.c"]}],"references":["https://git.kernel.org/stable/c/1f55a2273a7b41895ea6272e51ccb1d797cfd39b","https://git.kernel.org/stable/c/080e0b7404850406628674b07286f16cc389a892"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50254.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50254","state":"PUBLISHED","datePublished":"2025-09-15T14:02:36.054Z","dateUpdated":"2026-05-11T19:15:45.709Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-09-15T13:58:00.973Z"},"containers":{"cna":{"title":"media: ov8865: Fix an error handling path in ov8865_probe()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: ov8865: Fix an error handling path in ov8865_probe()\n\nThe commit in Fixes also introduced some new error handling which should\ngoto the existing error handling path.\nOtherwise some resources leak."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73dcffeb2ff98e8181b43e9d9faad042ddcb7f60","status":"affected","lessThan":"1f55a2273a7b41895ea6272e51ccb1d797cfd39b","versionType":"git"},{"version":"73dcffeb2ff98e8181b43e9d9faad042ddcb7f60","status":"affected","lessThan":"080e0b7404850406628674b07286f16cc389a892","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/i2c/ov8865.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.0.7","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","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/ov8865.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1f55a2273a7b41895ea6272e51ccb1d797cfd39b"},{"url":"https://git.kernel.org/stable/c/080e0b7404850406628674b07286f16cc389a892"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:15:45.709Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}