« Volver al listado

CVE-2022-50772

Estado: AplazadaSin puntuar—

In the Linux kernel, the following vulnerability has been resolved:

netdevsim: fix memory leak in nsim_bus_dev_new()

If device_register() failed in nsim_bus_dev_new(), the value of reference in nsim_bus_dev->dev is 1. obj->name in nsim_bus_dev->dev will not be released.

Detalles técnicos trazas, registros y código del informe original
unreferenced object 0xffff88810352c480 (size 16):
  comm "echo", pid 5691, jiffies 4294945921 (age 133.270s)
  hex dump (first 16 bytes):
    6e 65 74 64 65 76 73 69 6d 31 00 00 00 00 00 00  netdevsim1......
  backtrace:
    [<000000005e2e5e26>] __kmalloc_node_track_caller+0x3a/0xb0
    [<0000000094ca4fc8>] kvasprintf+0xc3/0x160
    [<00000000aad09bcc>] kvasprintf_const+0x55/0x180
    [<000000009bac868d>] kobject_set_name_vargs+0x56/0x150
    [<000000007c1a5d70>] dev_set_name+0xbb/0xf0
    [<00000000ad0d126b>] device_add+0x1f8/0x1cb0
    [<00000000c222ae24>] new_device_store+0x3b6/0x5e0
    [<0000000043593421>] bus_attr_store+0x72/0xa0
    [<00000000cbb1833a>] sysfs_kf_write+0x106/0x160
    [<00000000d0dedb8a>] kernfs_fop_write_iter+0x3a8/0x5a0
    [<00000000770b66e2>] vfs_write+0x8f0/0xc80
    [<0000000078bb39be>] ksys_write+0x106/0x210
    [<00000000005e55a4>] do_syscall_64+0x35/0x80
    [<00000000eaa40bbc>] entry_SYSCALL_64_after_hwframe+0x46/0xb0

CVSS

NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2022-50772",
  "cveTags": [],
  "metrics": {},
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "40e4fe4ce115c409c3e2fbb247085103ef1cc755",
              "lessThan": "77579e4065295071fbd9662f03430dca5b50b086",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "40e4fe4ce115c409c3e2fbb247085103ef1cc755",
              "lessThan": "cf2010aa1c739bab067cbc90b690d28eaa0b47da",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/net/netdevsim/bus.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "5.2",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.0.7",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/net/netdevsim/bus.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2025-12-24T13:16:04.020",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/77579e4065295071fbd9662f03430dca5b50b086",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/cf2010aa1c739bab067cbc90b690d28eaa0b47da",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Deferred",
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetdevsim: fix memory leak in nsim_bus_dev_new()\n\nIf device_register() failed in nsim_bus_dev_new(), the value of reference\nin nsim_bus_dev->dev is 1. obj->name in nsim_bus_dev->dev will not be\nreleased.\n\nunreferenced object 0xffff88810352c480 (size 16):\n  comm \"echo\", pid 5691, jiffies 4294945921 (age 133.270s)\n  hex dump (first 16 bytes):\n    6e 65 74 64 65 76 73 69 6d 31 00 00 00 00 00 00  netdevsim1......\n  backtrace:\n    [<000000005e2e5e26>] __kmalloc_node_track_caller+0x3a/0xb0\n    [<0000000094ca4fc8>] kvasprintf+0xc3/0x160\n    [<00000000aad09bcc>] kvasprintf_const+0x55/0x180\n    [<000000009bac868d>] kobject_set_name_vargs+0x56/0x150\n    [<000000007c1a5d70>] dev_set_name+0xbb/0xf0\n    [<00000000ad0d126b>] device_add+0x1f8/0x1cb0\n    [<00000000c222ae24>] new_device_store+0x3b6/0x5e0\n    [<0000000043593421>] bus_attr_store+0x72/0xa0\n    [<00000000cbb1833a>] sysfs_kf_write+0x106/0x160\n    [<00000000d0dedb8a>] kernfs_fop_write_iter+0x3a8/0x5a0\n    [<00000000770b66e2>] vfs_write+0x8f0/0xc80\n    [<0000000078bb39be>] ksys_write+0x106/0x210\n    [<00000000005e55a4>] do_syscall_64+0x35/0x80\n    [<00000000eaa40bbc>] entry_SYSCALL_64_after_hwframe+0x46/0xb0"
    }
  ],
  "lastModified": "2026-06-17T05:24:09.117",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}