Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47373
HistoryMay 21, 2024 - 3:03 p.m.

CVE-2021-47373 irqchip/gic-v3-its: Fix potential VPE leak on error

2024-05-2115:03:37
Linux
www.cve.org
linux kernel
vpe leak fix
gic-v3-its

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%

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

irqchip/gic-v3-its: Fix potential VPE leak on error

In its_vpe_irq_domain_alloc, when its_vpe_init() returns an error,
there is an off-by-one in the number of VPEs to be freed.

Fix it by simply passing the number of VPEs allocated, which is the
index of the loop iterating over the VPEs.

[maz: fixed commit message]

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/irqchip/irq-gic-v3-its.c"
    ],
    "versions": [
      {
        "version": "7d75bbb4bc1a",
        "lessThan": "7d39992d45ac",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7d75bbb4bc1a",
        "lessThan": "5701e8bff314",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7d75bbb4bc1a",
        "lessThan": "42d3711c2378",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7d75bbb4bc1a",
        "lessThan": "568662e37f92",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7d75bbb4bc1a",
        "lessThan": "e0c1c2e5da19",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7d75bbb4bc1a",
        "lessThan": "280bef512933",
        "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/irqchip/irq-gic-v3-its.c"
    ],
    "versions": [
      {
        "version": "4.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.249",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.209",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.150",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.70",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14.9",
        "lessThanOrEqual": "5.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%

Related for CVELIST:CVE-2021-47373