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

Medium 5.5 Published Updated

A reference count leak in the Qualcomm bus driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-47054?

CVE-2021-47054 is a medium-severity vulnerability in Linux kernel, published on 29 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2021-47054?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47054?

Apply the vendor's patch.

Is CVE-2021-47054 being exploited?

There is no known exploitation of CVE-2021-47054 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47054, GHSA-79q8-cx3j-4wrg, UBUNTU-CVE-2021-47054.

Is CVE-2021-47054 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free