Lucene search
K

CVE-2022-50858 mmc: alcor: fix return value check of mmc_add_host()

🗓️ 30 Dec 2025 12:15:32Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 20 Views

Fix memory leak by checking mmc_add_host return value and freeing host in the error path.

Related
Affected
Refs
ReporterTitlePublishedViews
Family
AstraLinux
Astra Linux - уязвимость в linux-5.10, linux
20 May 202605:53
astralinux
CNNVD
Linux kernel 安全漏洞
30 Dec 202500:00
cnnvd
CVE
CVE-2022-50858
30 Dec 202512:15
cve
Debian CVE
CVE-2022-50858
30 Dec 202512:15
debiancve
EUVD
EUVD-2022-55840
30 Dec 202515:30
euvd
NVD
CVE-2022-50858
30 Dec 202513:16
nvd
OpenVAS
SUSE: Security Advisory (SUSE-SU-2026:0317-1)
2 Feb 202600:00
openvas
OpenVAS
SUSE: Security Advisory (SUSE-SU-2026:0617-1)
26 Feb 202600:00
openvas
OSV
CVE-2022-50858 mmc: alcor: fix return value check of mmc_add_host()
30 Dec 202512:15
osv
OSV
DEBIAN-CVE-2022-50858
30 Dec 202513:16
osv
Rows per page
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/mmc/host/alcor.c"
    ],
    "versions": [
      {
        "version": "c5413ad815a675b5c98a002353d8e96b44b164e9",
        "lessThan": "289c964fe182ce755044a6cd57698072e12ffa6f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c5413ad815a675b5c98a002353d8e96b44b164e9",
        "lessThan": "4a6e5d0222804a3eaf2ea4cf893f412e7cf98cb2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c5413ad815a675b5c98a002353d8e96b44b164e9",
        "lessThan": "29c5b4da41f35108136d843c7432885c78cf8272",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c5413ad815a675b5c98a002353d8e96b44b164e9",
        "lessThan": "48dc06333d75f41c2ce9ba954bc3231324b45914",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c5413ad815a675b5c98a002353d8e96b44b164e9",
        "lessThan": "60fafcf2fb7ee9a4125dc9a86eeb9d490acf23e2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c5413ad815a675b5c98a002353d8e96b44b164e9",
        "lessThan": "e93d1468f429475a753d6baa79b853b7ee5ef8c0",
        "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/mmc/host/alcor.c"
    ],
    "versions": [
      {
        "version": "5.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.0",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.4.229",
        "lessThanOrEqual": "5.4.*",
        "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