Linux · Linux Kernel · CVE-2021-47054
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to a potential reference count leak in the Linux kernel. The reference count of a child is incremented and decremented automatically in the `for each available child of node()` macro, but it should be decremented manually if the loop is broken in the loop body. This is fixed by putting the child node before return.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.