Lucene search

K
cveLinuxCVE-2021-47054
HistoryFeb 29, 2024 - 11:15 p.m.

CVE-2021-47054

2024-02-2923:15:07
Linux
web.nvd.nist.gov
69
linux
kernel
vulnerability
cve-2021-47054
reference count
leak
fix

AI Score

6.3

Confidence

Low

EPSS

0

Percentile

13.0%

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

bus: qcom: Put child node before return

Put child node before return to fix potential reference count leak.
Generally, the reference count of child is incremented and decremented
automatically in the macro for_each_available_child_of_node() and should
be decremented manually if the loop is broken in loop body.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.94.9.269
OR
linuxlinux_kernelRange4.10.04.14.233
OR
linuxlinux_kernelRange4.15.04.19.191
OR
linuxlinux_kernelRange4.20.05.4.119
OR
linuxlinux_kernelRange5.5.05.10.37
OR
linuxlinux_kernelRange5.11.05.11.21
OR
linuxlinux_kernelRange5.12.05.12.4
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/bus/qcom-ebi2.c"
    ],
    "versions": [
      {
        "version": "335a12754808",
        "lessThan": "a6191e91c10e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "94810fc52925",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "a399dd80e697",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "3a76ec28824c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "00f6abd3509b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "6b68c03dfc79",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "c6f8e0dc8da1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "335a12754808",
        "lessThan": "ac6ad7c2a862",
        "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/bus/qcom-ebi2.c"
    ],
    "versions": [
      {
        "version": "4.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.9.269",
        "lessThanOrEqual": "4.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.233",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.191",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.119",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.37",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.21",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.4",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.3

Confidence

Low

EPSS

0

Percentile

13.0%