Lucene search
+L

CVE-2022-50340 media: vimc: Fix wrong function called when vimc_init() fails

🗓️ 16 Sep 2025 16:11:19Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 29 Views

CVE-2022-50340: vimc_init unregisters wrong object on failure; should unregister platform device.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/test-drivers/vimc/vimc-core.c"
    ],
    "versions": [
      {
        "version": "4a29b70907496aa9da79112ec31cf9cf2b972c3f",
        "lessThan": "14d85b600bb1f6f8ef61fa8fc1907e2e623d8350",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4a29b70907496aa9da79112ec31cf9cf2b972c3f",
        "lessThan": "9c9ff35d68691aaea85b2e93763772e23930b3a3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4a29b70907496aa9da79112ec31cf9cf2b972c3f",
        "lessThan": "681ac2902039d9b497b3ae18fdc204314979e61e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4a29b70907496aa9da79112ec31cf9cf2b972c3f",
        "lessThan": "f38df8984ef1b45ba23888d0e232cc21a95bd04b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4a29b70907496aa9da79112ec31cf9cf2b972c3f",
        "lessThan": "f74d3f326d1d5b8951ce263c59a121ecfa65e7c0",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/test-drivers/vimc/vimc-core.c"
    ],
    "versions": [
      {
        "version": "4.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.13",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.10.163",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.15.86",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.16",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.2",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

11 May 2026 19:17Current
CVSS 3.15.5
EPSS0.00165
SSVC
29