Lucene search
K

CVE-2022-50819 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails

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

CVE-2022-50819: udmabuf sets ubuf sg to NULL if sg table creation fails to prevent release crash.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/dma-buf/udmabuf.c"
    ],
    "versions": [
      {
        "version": "284562e1f34874e267d4f499362c3816f8f6bc3f",
        "lessThan": "bbe2f6f90310b3a0b5de4e0dc022b36faabfd718",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "284562e1f34874e267d4f499362c3816f8f6bc3f",
        "lessThan": "dfbed8c92eb853929f4fa676ba493391dab47be4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "284562e1f34874e267d4f499362c3816f8f6bc3f",
        "lessThan": "fc285549f454c0f50f87ec945fc0bf44719c0fa4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "284562e1f34874e267d4f499362c3816f8f6bc3f",
        "lessThan": "9861e43f097a50678041f973347b3a88f2da09cf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "284562e1f34874e267d4f499362c3816f8f6bc3f",
        "lessThan": "d9c04a1b7a15b5e74b2977461d9511e497f05d8f",
        "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/dma-buf/udmabuf.c"
    ],
    "versions": [
      {
        "version": "5.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.6",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.10.150",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.15.75",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.19.17",
        "lessThanOrEqual": "5.19.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.3",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1",
        "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