{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "73dcffeb2ff98e8181b43e9d9faad042ddcb7f60"
            },
            {
              "fixed": "1f55a2273a7b41895ea6272e51ccb1d797cfd39b"
            },
            {
              "fixed": "080e0b7404850406628674b07286f16cc389a892"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50254.json"
  },
  "details": "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.",
  "id": "CVE-2022-50254",
  "modified": "2026-04-01T23:08:44.202613807Z",
  "published": "2025-09-15T14:02:36.054Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/080e0b7404850406628674b07286f16cc389a892"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1f55a2273a7b41895ea6272e51ccb1d797cfd39b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50254.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50254"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "media: ov8865: Fix an error handling path in ov8865_probe()"
}