CVE-2021-47054 (GCVE-0-2021-47054)
Vulnerability from cvelistv5 – Published: 2024-02-29 22:37 – Updated: 2025-05-04 07:03
VLAI?
Title
bus: qcom: Put child node before return
Summary
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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
335a127548081322bd2b294d715418648912f20c , < a6191e91c10e50bd51db65a00e03d02b6b0cf8c4
(git)
Affected: 335a127548081322bd2b294d715418648912f20c , < 94810fc52925eb122a922df7f9966cf3f4ba7391 (git) Affected: 335a127548081322bd2b294d715418648912f20c , < a399dd80e697a02cfb23e2fc09b87849994043d9 (git) Affected: 335a127548081322bd2b294d715418648912f20c , < 3a76ec28824c01b57aa1f0927841d75e4f167cb8 (git) Affected: 335a127548081322bd2b294d715418648912f20c , < 00f6abd3509b1d70d0ab0fbe65ce5685cebed8be (git) Affected: 335a127548081322bd2b294d715418648912f20c , < 6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c (git) Affected: 335a127548081322bd2b294d715418648912f20c , < c6f8e0dc8da1cd78d640dee392071cc2326ec1b2 (git) Affected: 335a127548081322bd2b294d715418648912f20c , < ac6ad7c2a862d682bb584a4bc904d89fa7721af8 (git) |
|||||||
|
|||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-47054",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-03-06T19:38:43.241210Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-04T17:14:21.965Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:24:39.625Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/bus/qcom-ebi2.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a6191e91c10e50bd51db65a00e03d02b6b0cf8c4",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "94810fc52925eb122a922df7f9966cf3f4ba7391",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "a399dd80e697a02cfb23e2fc09b87849994043d9",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "3a76ec28824c01b57aa1f0927841d75e4f167cb8",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "00f6abd3509b1d70d0ab0fbe65ce5685cebed8be",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "c6f8e0dc8da1cd78d640dee392071cc2326ec1b2",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
},
{
"lessThan": "ac6ad7c2a862d682bb584a4bc904d89fa7721af8",
"status": "affected",
"version": "335a127548081322bd2b294d715418648912f20c",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/bus/qcom-ebi2.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.9"
},
{
"lessThan": "4.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.269",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.233",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.191",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.119",
"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": "4.9.269",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.233",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.191",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.119",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.37",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.11.21",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.12.4",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.13",
"versionStartIncluding": "4.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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."
}
],
"providerMetadata": {
"dateUpdated": "2025-05-04T07:03:15.858Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"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-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47054",
"datePublished": "2024-02-29T22:37:29.140Z",
"dateReserved": "2024-02-29T22:33:44.293Z",
"dateUpdated": "2025-05-04T07:03:15.858Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:24:39.625Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47054\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-06T19:38:43.241210Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:16.166Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"bus: qcom: Put child node before return\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"a6191e91c10e50bd51db65a00e03d02b6b0cf8c4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"94810fc52925eb122a922df7f9966cf3f4ba7391\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"a399dd80e697a02cfb23e2fc09b87849994043d9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"3a76ec28824c01b57aa1f0927841d75e4f167cb8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"00f6abd3509b1d70d0ab0fbe65ce5685cebed8be\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"c6f8e0dc8da1cd78d640dee392071cc2326ec1b2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"335a127548081322bd2b294d715418648912f20c\", \"lessThan\": \"ac6ad7c2a862d682bb584a4bc904d89fa7721af8\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/bus/qcom-ebi2.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.9.269\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.233\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.191\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.119\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"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/bus/qcom-ebi2.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.269\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.233\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.191\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.119\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.37\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.11.21\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.12.4\", \"versionStartIncluding\": \"4.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.13\", \"versionStartIncluding\": \"4.9\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:03:15.858Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-47054\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:03:15.858Z\", \"dateReserved\": \"2024-02-29T22:33:44.293Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-29T22:37:29.140Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…