CVE-2021-47043
Vulnerability from cvelistv5
Published
2024-02-28 08:13
Modified
2024-12-19 07:34
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: venus: core: Fix some resource leaks in the error path of 'venus_probe()' If an error occurs after a successful 'of_icc_get()' call, it must be undone. Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak. Update the remove function accordingly and axe the now unneeded 'icc_put()' calls.
Impacted products
Vendor Product Version
Linux Linux Version: 5.5
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47043",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-21T16:26:36.295106Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-21T16:26:45.050Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:24:39.883Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/qcom/venus/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "00b68a7478343afdf83f30c43e64db5296057030",
              "status": "affected",
              "version": "32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a",
              "versionType": "git"
            },
            {
              "lessThan": "940d01eceb3a7866fbfca136a55a5625fc75a565",
              "status": "affected",
              "version": "32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a",
              "versionType": "git"
            },
            {
              "lessThan": "711acdf0228dc71601247f28b56f13e850e395c8",
              "status": "affected",
              "version": "32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a",
              "versionType": "git"
            },
            {
              "lessThan": "5a465c5391a856a0c1e9554964d660676c35d1b2",
              "status": "affected",
              "version": "32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/qcom/venus/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.11.*",
              "status": "unaffected",
              "version": "5.11.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.12.*",
              "status": "unaffected",
              "version": "5.12.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: venus: core: Fix some resource leaks in the error path of \u0027venus_probe()\u0027\n\nIf an error occurs after a successful \u0027of_icc_get()\u0027 call, it must be\nundone.\n\nUse \u0027devm_of_icc_get()\u0027 instead of \u0027of_icc_get()\u0027 to avoid the leak.\nUpdate the remove function accordingly and axe the now unneeded\n\u0027icc_put()\u0027 calls."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T07:34:10.760Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030"
        },
        {
          "url": "https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565"
        },
        {
          "url": "https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2"
        }
      ],
      "title": "media: venus: core: Fix some resource leaks in the error path of \u0027venus_probe()\u0027",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47043",
    "datePublished": "2024-02-28T08:13:48.440Z",
    "dateReserved": "2024-02-27T18:42:55.969Z",
    "dateUpdated": "2024-12-19T07:34:10.760Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-47043\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-02-28T09:15:40.127\",\"lastModified\":\"2024-11-21T06:35:15.047\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: venus: core: Fix some resource leaks in the error path of \u0027venus_probe()\u0027\\n\\nIf an error occurs after a successful \u0027of_icc_get()\u0027 call, it must be\\nundone.\\n\\nUse \u0027devm_of_icc_get()\u0027 instead of \u0027of_icc_get()\u0027 to avoid the leak.\\nUpdate the remove function accordingly and axe the now unneeded\\n\u0027icc_put()\u0027 calls.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: venus: core: corrige algunas fugas de recursos en la ruta de error de \u0027venus_probe()\u0027 Si se produce un error despu\u00e9s de una llamada exitosa a \u0027of_icc_get()\u0027, se debe deshacer . Utilice \u0027devm_of_icc_get()\u0027 en lugar de \u0027of_icc_get()\u0027 para evitar la fuga. Actualice la funci\u00f3n de eliminaci\u00f3n en consecuencia y elimine las llamadas \u0027icc_put()\u0027 ahora innecesarias.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.