CVE-2021-47054

bus: qcom: Put child node before return

State
Published
Severity
Not scored
Published
Feb 29, 2024
Updated
May 11, 2026
Reserved
Feb 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 335a127548081322bd2b294d715418648912f20c to before a6191e91c10e50bd51db65a00e03d02b6b0cf8c4Affected
  • 335a127548081322bd2b294d715418648912f20c to before 94810fc52925eb122a922df7f9966cf3f4ba7391Affected
  • 335a127548081322bd2b294d715418648912f20c to before a399dd80e697a02cfb23e2fc09b87849994043d9Affected
  • 335a127548081322bd2b294d715418648912f20c to before 3a76ec28824c01b57aa1f0927841d75e4f167cb8Affected
  • 335a127548081322bd2b294d715418648912f20c to before 00f6abd3509b1d70d0ab0fbe65ce5685cebed8beAffected
  • 335a127548081322bd2b294d715418648912f20c to before 6b68c03dfc79cd95a58dfd03f91f6e82829a1b0cAffected
  • 335a127548081322bd2b294d715418648912f20c to before c6f8e0dc8da1cd78d640dee392071cc2326ec1b2Affected
  • 335a127548081322bd2b294d715418648912f20c to before ac6ad7c2a862d682bb584a4bc904d89fa7721af8Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 4.9.269 through 4.9.*Not affected
  • 4.14.233 through 4.14.*Not affected
  • 4.19.191 through 4.19.*Not affected
  • 5.4.119 through 5.4.*Not affected
  • 5.10.37 through 5.10.*Not affected
  • 5.11.21 through 5.11.*Not affected
  • 5.12.4 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.