CVE-2022-49342: net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: bgmac: Fix refcount leak in bcmamdiomiiregister
ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49342?
CVE-2022-49342 has been categorized as a moderate severity vulnerability due to a refcount leak in the Linux kernel.
How do I fix CVE-2022-49342?
To fix CVE-2022-49342, update your Linux kernel to the latest stable version that includes the patch addressing this vulnerability.
Which versions of the Linux kernel are affected by CVE-2022-49342?
CVE-2022-49342 affects Linux kernel versions from 4.8 up to 5.17.15, and specific versions between 5.18 and 5.19-rc1.
What are the consequences of not addressing CVE-2022-49342?
Failing to address CVE-2022-49342 may lead to resource management issues, potentially causing instability in applications relying on the affected kernel.
Is there a workaround for CVE-2022-49342 if I can't update?
There is no specific workaround for CVE-2022-49342 other than ensuring that you plan for an immediate upgrade to a patched version.