{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbus: qcom: Put child node before return\n\nPut child node before return to fix potential reference count leak.\nGenerally, the reference count of child is incremented and decremented\nautomatically in the macro for_each_available_child_of_node() and should\nbe decremented manually if the loop is broken in loop body."
            }
         ],
         "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"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4"
            },
            {
               "url": "https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391"
            },
            {
               "url": "https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9"
            },
            {
               "url": "https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8"
            },
            {
               "url": "https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be"
            },
            {
               "url": "https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c"
            },
            {
               "url": "https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2"
            },
            {
               "url": "https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8"
            }
         ],
         "title": "bus: qcom: Put child node before return",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47054",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
