# CVE-2021-47054: bus: qcom: Put child node before return

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-02-29T22:37:29.140Z
- Modified: 2026-06-17T04:16:19.537Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 335a127548081322bd2b294d715418648912f20c before a6191e91c10e50bd51db65a00e03d02b6b0cf8c4; from 335a127548081322bd2b294d715418648912f20c before 94810fc52925eb122a922df7f9966cf3f4ba7391; from 335a127548081322bd2b294d715418648912f20c before a399dd80e697a02cfb23e2fc09b87849994043d9; from 335a127548081322bd2b294d715418648912f20c before 3a76ec28824c01b57aa1f0927841d75e4f167cb8; from 335a127548081322bd2b294d715418648912f20c before 00f6abd3509b1d70d0ab0fbe65ce5685cebed8be; from 335a127548081322bd2b294d715418648912f20c before 6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c; from 335a127548081322bd2b294d715418648912f20c before c6f8e0dc8da1cd78d640dee392071cc2326ec1b2; from 335a127548081322bd2b294d715418648912f20c before ac6ad7c2a862d682bb584a4bc904d89fa7721af8; 4.9 (not affected: before 4.9; from 4.9.269 up to 4.9.*; from 4.14.233 up to 4.14.*; from 4.19.191 up to 4.19.*; from 5.4.119 up to 5.4.*; from 5.10.37 up to 5.10.*; from 5.11.21 up to 5.11.*; from 5.12.4 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.9 before 4.9.269; from 4.10 before 4.14.233; from 4.15 before 4.19.191; from 4.20 before 5.4.119; from 5.5 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4

## References

- <https://git.kernel.org/stable/c/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4> (patch)
- <https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391> (patch)
- <https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9> (patch)
- <https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8> (patch)
- <https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be> (patch)
- <https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c> (patch)
- <https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2> (patch)
- <https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8> (patch)

## Sources

- CVE List: [CVE-2021-47054](https://www.cve.org/CVERecord?id=CVE-2021-47054), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47054](https://nvd.nist.gov/vuln/detail/CVE-2021-47054), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47054 · Whole record: https://cve.day/CVE-2021-47054.json · Rebuilt by cve.day 2026-11-25T22:58:08.638Z
