Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48693
HistoryMay 03, 2024 - 3:05 p.m.

CVE-2022-48693 soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs

2024-05-0315:05:46
Linux
www.cve.org
1
linux kernel
vulnerability
resolution
brcmstb
pm-arm
refcount
__iomem
leak bugs

5.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%

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

soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs

In brcmstb_pm_probe(), there are two kinds of leak bugs:

(1) we need to add of_node_put() when for_each__matching_node() breaks
(2) we need to add iounmap() for each iomap in fail path

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/soc/bcm/brcmstb/pm/pm-arm.c"
    ],
    "versions": [
      {
        "version": "0b741b8234c8",
        "lessThan": "0284b4e6dec6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0b741b8234c8",
        "lessThan": "57b2897ec3ff",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0b741b8234c8",
        "lessThan": "6dc0251638a4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0b741b8234c8",
        "lessThan": "43245c77d9ef",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0b741b8234c8",
        "lessThan": "653500b400d5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0b741b8234c8",
        "lessThan": "1085f5080647",
        "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/soc/bcm/brcmstb/pm/pm-arm.c"
    ],
    "versions": [
      {
        "version": "4.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.15",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.258",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.213",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.143",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.68",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.19.9",
        "lessThanOrEqual": "5.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.0",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

5.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%