Lucene search
K

CVE-2022-50765 RISC-V: kexec: Fix memory leak of elf header buffer

🗓️ 24 Dec 2025 13:05:56Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 23 Views

CVE-2022-50765 fixes memory leak in RISC-V kexec by freeing elf header buffer during cleanup.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/riscv/kernel/elf_kexec.c"
    ],
    "versions": [
      {
        "version": "8acea455fafaf2620b247de6c00774828b618a82",
        "lessThan": "090bfcfc9f14d05154893c67eeaecc56e894fbae",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8acea455fafaf2620b247de6c00774828b618a82",
        "lessThan": "cdea2da6787583ecca43594132533a2ac8d7cd21",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8acea455fafaf2620b247de6c00774828b618a82",
        "lessThan": "cbc32023ddbdf4baa3d9dc513a2184a84080a5a2",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/riscv/kernel/elf_kexec.c"
    ],
    "versions": [
      {
        "version": "5.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.19",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.18",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.4",
        "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