CVE-2022-49342Published Feb 26, 2025 · Feb 26Updated Oct 28
net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.17.155.18.45.19In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel’s bgmac Ethernet driver leaks a device-tree node reference in bcma_mdio_mii_register. The input does not describe an attacker action or specify network access, authentication, or user-interaction conditions.
Engineers running Linux kernels that include the bgmac Ethernet driver should check their versions; affected versions are not specified.