« Volver al listado

CVE-2022-50318

Estado: AnalizadaMedia (5.5)—

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

perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()

pci_get_device() will increase the reference count for the returned 'dev'. We need to call pci_dev_put() to decrease the reference count. Since 'dev' is only used in pci_read_config_dword(), let's add pci_dev_put() right after it.

CVSS

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)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2022-50318",
  "cveTags": [],
  "metrics": {
    "cvssMetricV31": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 5.5,
          "attackVector": "LOCAL",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "integrityImpact": "NONE",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "NONE"
        },
        "impactScore": 3.6,
        "exploitabilityScore": 1.8
      }
    ]
  },
  "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": "a8e87042482fd2d31c5cee62875b2ae75759ae8b",
              "lessThan": "5a96c10a56037db006ba6769307a9731cf6073be",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "319a06e58ed7f1443f7133c05513de470f90628d",
              "lessThan": "e293263248f25c6b8aa1caf7c1103d40aa03311e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b",
              "lessThan": "c0539d5d474ee6fa4ebc41f927a0f98f81244f25",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9d480158ee86ad606d3a8baaf81e6b71acbfd7d5",
              "lessThan": "3485f197518061371568f842405159aa9e4df551",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9d480158ee86ad606d3a8baaf81e6b71acbfd7d5",
              "lessThan": "48f32b9a74e2ac8e854bb87bfefdbc745125a123",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9d480158ee86ad606d3a8baaf81e6b71acbfd7d5",
              "lessThan": "bd66877c0b3b42eed0ecee0bd2a2a505c1e54177",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9d480158ee86ad606d3a8baaf81e6b71acbfd7d5",
              "lessThan": "1ff9dd6e7071a561f803135c1d684b13c7a7d01d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d2c79105a90323a2a93484c85f9ac419ae9b183d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "4.19.189",
              "lessThan": "4.19.270",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.4.115",
              "lessThan": "5.4.229",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.10.33",
              "lessThan": "5.10.163",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.11.17",
              "lessThan": "5.12",
              "versionType": "semver"
            }
          ],
          "programFiles": [
            "arch/x86/events/intel/uncore_snbep.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.12"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "5.12",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "arch/x86/events/intel/uncore_snbep.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2025-09-15T15:15:43.750",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/1ff9dd6e7071a561f803135c1d684b13c7a7d01d",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3485f197518061371568f842405159aa9e4df551",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/48f32b9a74e2ac8e854bb87bfefdbc745125a123",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/bd66877c0b3b42eed0ecee0bd2a2a505c1e54177",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-Other"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()\n\npci_get_device() will increase the reference count for the returned\n'dev'. We need to call pci_dev_put() to decrease the reference count.\nSince 'dev' is only used in pci_read_config_dword(), let's add\npci_dev_put() right after it."
    }
  ],
  "lastModified": "2026-06-17T05:23:13.497",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "380D33C4-CF46-4D10-B0B7-026B136EA7DE",
              "versionEndExcluding": "4.19.270",
              "versionStartIncluding": "4.19.189"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "4EFCAD9F-4C87-4E64-ABDD-D2D2260351B3",
              "versionEndExcluding": "5.4.229",
              "versionStartIncluding": "5.4.115"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "75D2DC16-ED7B-4E8F-B34A-910E49B3DE7C",
              "versionEndExcluding": "5.10.163",
              "versionStartIncluding": "5.10.33"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "963F6907-B24B-4355-92B0-ADB645996296",
              "versionEndExcluding": "5.12",
              "versionStartIncluding": "5.11.17"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "C573C832-12AC-4EB9-BF9D-385D14C2E425",
              "versionEndExcluding": "5.15.86",
              "versionStartIncluding": "5.12.1"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "C720A569-3D93-4D77-95F6-E2B3A3267D9F",
              "versionEndExcluding": "6.0.16",
              "versionStartIncluding": "5.16"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "77239F4B-6BB2-4B9E-A654-36A52396116C",
              "versionEndExcluding": "6.1.2",
              "versionStartIncluding": "6.1"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "75EB504D-4A83-4C67-9C8D-FD9C6C8EB4CD"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}