Lucene search
+L

CVE-2022-50811 erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails

🗓️ 30 Dec 2025 12:08:28Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 25 Views

Erofs fix to unmap on failure of z_erofs_get_extent_compressedlen to prevent meta buffer leaks.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/erofs/zmap.c"
    ],
    "versions": [
      {
        "version": "cec6e93beadfd145758af2c0854fcc2abb8170cb",
        "lessThan": "091a8ca572a2e48554427feda78aa503e98c1028",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cec6e93beadfd145758af2c0854fcc2abb8170cb",
        "lessThan": "373b6f350aecf5dca2e7474f0b4ec8cca659f2f0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cec6e93beadfd145758af2c0854fcc2abb8170cb",
        "lessThan": "d5d188b8f8b38d3d71dd05993874b4fc9284ce95",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/erofs/zmap.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "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