CVSS 5.5 · Medium EPSS 0,25%
Kerentanan pada linux kernel. Skor CVSS 3.1 5.5 (Medium) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: net: mdio: fix unbalanced fwnode reference count in mdio_device_release() There is warning report about of_node refcount leak while probing mdio device: OF: ERROR: memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /spi/soc@0/mdio@710700c0/ethernet@4 In of_mdiobus_register_device(), we increase fwnode refcount by fwnode_handle_get() before associating the of_node with mdio device, but it has never been decreased in normal path. Since that, in mdio_device_release(), it needs to call fwnode_handle_put() in addition instead of calling kfree() directly. After above, just calling mdio_device_free() in the error handle path of of_mdiobus_register_device() is enough to keep the refcount balanced.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Versi 4.5 hingga sebelum 5.15.83 |
| linux | linux kernel | Versi 5.16 hingga sebelum 6.0.13 |
| linux | linux kernel | Versi 6.1 rc1 |
| linux | linux kernel | Versi 6.1 rc2 |
| linux | linux kernel | Versi 6.1 rc3 |
| linux | linux kernel | Versi 6.1 rc4 |
| linux | linux kernel | Versi 6.1 rc5 |
| linux | linux kernel | Versi 6.1 rc6 |
| linux | linux kernel | Versi 6.1 rc7 |
| linux | linux kernel | Versi 6.1 rc8 |