Lucene search
K

CVE-2022-50772 netdevsim: fix memory leak in nsim_bus_dev_new()

🗓️ 24 Dec 2025 13:06:01Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 24 Views

Linux kernel netdevsim fixes memory leak in nsim_bus_dev_new when device_register() fails and dev reference is not released.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/netdevsim/bus.c"
    ],
    "versions": [
      {
        "version": "40e4fe4ce115c409c3e2fbb247085103ef1cc755",
        "lessThan": "77579e4065295071fbd9662f03430dca5b50b086",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "40e4fe4ce115c409c3e2fbb247085103ef1cc755",
        "lessThan": "cf2010aa1c739bab067cbc90b690d28eaa0b47da",
        "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/net/netdevsim/bus.c"
    ],
    "versions": [
      {
        "version": "5.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.2",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.7",
        "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