CVE-2021-47054

bus: qcom: Put child node before return

MEDIUM
5.5
CVSS Score
Published: February 29, 2024 at 10:37 PM UTC
Updated: June 17, 2026 at 04:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.2334.15 ≤ v < 4.19.1914.20 ≤ v < 5.4.1194.9 ≤ v < 4.14.2334.9 ≤ v < 4.19.1914.9 ≤ v < 4.9.2694.9 ≤ v < 5.10.374.9 ≤ v < 5.11.214.9 ≤ v < 5.12.44.9 ≤ v < 5.134.9 ≤ v < 5.4.1195.11 ≤ v < 5.11.215.12 ≤ v < 5.12.45.5 ≤ v < 5.10.37335a127548081322bd2b294d715418648912f20c4.9
Vendor states this is fixed in 00f6abd3509b1d70d0ab0fbe65ce5685cebed8be (fixed)
Vendor states this is fixed in 3a76ec28824c01b57aa1f0927841d75e4f167cb8 (fixed)
Vendor states this is fixed in 6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c (fixed)
Vendor states this is fixed in 94810fc52925eb122a922df7f9966cf3f4ba7391 (fixed)
Vendor states this is fixed in a399dd80e697a02cfb23e2fc09b87849994043d9 (fixed)
Vendor states this is fixed in a6191e91c10e50bd51db65a00e03d02b6b0cf8c4 (fixed)
Vendor states this is fixed in ac6ad7c2a862d682bb584a4bc904d89fa7721af8 (fixed)
Vendor states this is fixed in c6f8e0dc8da1cd78d640dee392071cc2326ec1b2 (fixed)
Vendor states this is fixed in 4.14.233 (unaffected)
Vendor states this is fixed in 4.19.191 (unaffected)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 4.9.269 (unaffected)
Vendor states this is fixed in 5.10.37 (unaffected)
Vendor states this is fixed in 5.11.21 (unaffected)
Vendor states this is fixed in 5.12.4 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.119 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card