CVE-2021-47043 (GCVE-0-2021-47043)
Vulnerability from cvelistv5
Published
2024-02-28 08:13
Modified
2025-05-04 07:02
Severity ?
VLAI Severity ?
EPSS score ?
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.
References
Impacted products
{ "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" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.37", "versionStartIncluding": "5.5", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.11.21", "versionStartIncluding": "5.5", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.12.4", "versionStartIncluding": "5.5", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.13", "versionStartIncluding": "5.5", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "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": "2025-05-04T07:02:53.181Z", "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-1.2.0" } } }, "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": "2025-05-04T07:02:53.181Z", "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\":\"2025-01-09T15:21:46.843\",\"vulnStatus\":\"Analyzed\",\"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\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.37\",\"matchCriteriaId\":\"7A4CF5D6-ACBA-4980-ABFD-3D7A53B5BB4E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.11.21\",\"matchCriteriaId\":\"8CBB94EC-EC33-4464-99C5-03E5542715F0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.12\",\"versionEndExcluding\":\"5.12.4\",\"matchCriteriaId\":\"D8C7052F-1B7B-4327-9C2B-84EBF3243838\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/00b68a7478343afdf83f30c43e64db5296057030\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5a465c5391a856a0c1e9554964d660676c35d1b2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/711acdf0228dc71601247f28b56f13e850e395c8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/940d01eceb3a7866fbfca136a55a5625fc75a565\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"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\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:24:39.883Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47043\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-21T16:26:36.295106Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-21T16:26:41.605Z\"}}], \"cna\": {\"title\": \"media: venus: core: Fix some resource leaks in the error path of \u0027venus_probe()\u0027\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a\", \"lessThan\": \"00b68a7478343afdf83f30c43e64db5296057030\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a\", \"lessThan\": \"940d01eceb3a7866fbfca136a55a5625fc75a565\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a\", \"lessThan\": \"711acdf0228dc71601247f28b56f13e850e395c8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a\", \"lessThan\": \"5a465c5391a856a0c1e9554964d660676c35d1b2\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/media/platform/qcom/venus/core.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.5\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.5\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.37\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.11.21\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.11.*\"}, {\"status\": \"unaffected\", \"version\": \"5.12.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/media/platform/qcom/venus/core.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.37\", \"versionStartIncluding\": \"5.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.11.21\", \"versionStartIncluding\": \"5.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.12.4\", \"versionStartIncluding\": \"5.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.13\", \"versionStartIncluding\": \"5.5\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:02:53.181Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2021-47043\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:02:53.181Z\", \"dateReserved\": \"2024-02-27T18:42:55.969Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-28T08:13:48.440Z\", \"assignerShortName\": \"Linux\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
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.
Loading…
Loading…